POST api/AdminApi/SaveUserApi

Request Information

URI Parameters

None.

Body Parameters

ListMaskSetting
NameDescriptionTypeAdditional information
LoginId

integer

None.

BrandNameId

integer

None.

lstApi

Collection of API

None.

DefaultPackage

MaskSettingApiViewModel

None.

NormalPackage

MaskSettingApiViewModel

None.

PortedPackage

MaskSettingApiViewModel

None.

ApiPackage

MaskSettingApiViewModel

None.

SameAsDefaultPackage

boolean

None.

SetApiOfDefaultPackageOfMobilinkToAll

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "LoginId": 1,
  "BrandNameId": 1,
  "lstApi": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Url": "sample string 5",
      "Username": "sample string 6",
      "Password": "sample string 7",
      "CreatedDate": "2025-12-06T10:47:08.9935653+05:00",
      "CreatedBy": "sample string 8",
      "UpdatedDate": "2025-12-06T10:47:08.9935653+05:00",
      "UpdateBy": "sample string 9"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Url": "sample string 5",
      "Username": "sample string 6",
      "Password": "sample string 7",
      "CreatedDate": "2025-12-06T10:47:08.9935653+05:00",
      "CreatedBy": "sample string 8",
      "UpdatedDate": "2025-12-06T10:47:08.9935653+05:00",
      "UpdateBy": "sample string 9"
    }
  ],
  "DefaultPackage": {
    "MobilinkApiId": 1,
    "UfoneApiId": 1,
    "TelenorApiId": 1,
    "WaridApiId": 1,
    "ZongApiId": 1,
    "MobilinkBrandName": "sample string 1",
    "UfoneBrandName": "sample string 2",
    "TelenorBrandName": "sample string 3",
    "WaridBrandName": "sample string 4",
    "ZongBrandName": "sample string 5",
    "MobilinkBrandNameApiId": 6,
    "UfoneBrandNameApiId": 7,
    "TelenorBrandNameApiId": 8,
    "WaridBrandNameApiId": 9,
    "ZongBrandNameApiId": 10,
    "MobilinkShowSent": true,
    "UfoneShowSent": true,
    "TelenorShowSent": true,
    "WaridShowSent": true,
    "ZongShowSent": true
  },
  "NormalPackage": {
    "MobilinkApiId": 1,
    "UfoneApiId": 1,
    "TelenorApiId": 1,
    "WaridApiId": 1,
    "ZongApiId": 1,
    "MobilinkBrandName": "sample string 1",
    "UfoneBrandName": "sample string 2",
    "TelenorBrandName": "sample string 3",
    "WaridBrandName": "sample string 4",
    "ZongBrandName": "sample string 5",
    "MobilinkBrandNameApiId": 6,
    "UfoneBrandNameApiId": 7,
    "TelenorBrandNameApiId": 8,
    "WaridBrandNameApiId": 9,
    "ZongBrandNameApiId": 10,
    "MobilinkShowSent": true,
    "UfoneShowSent": true,
    "TelenorShowSent": true,
    "WaridShowSent": true,
    "ZongShowSent": true
  },
  "PortedPackage": {
    "MobilinkApiId": 1,
    "UfoneApiId": 1,
    "TelenorApiId": 1,
    "WaridApiId": 1,
    "ZongApiId": 1,
    "MobilinkBrandName": "sample string 1",
    "UfoneBrandName": "sample string 2",
    "TelenorBrandName": "sample string 3",
    "WaridBrandName": "sample string 4",
    "ZongBrandName": "sample string 5",
    "MobilinkBrandNameApiId": 6,
    "UfoneBrandNameApiId": 7,
    "TelenorBrandNameApiId": 8,
    "WaridBrandNameApiId": 9,
    "ZongBrandNameApiId": 10,
    "MobilinkShowSent": true,
    "UfoneShowSent": true,
    "TelenorShowSent": true,
    "WaridShowSent": true,
    "ZongShowSent": true
  },
  "ApiPackage": {
    "MobilinkApiId": 1,
    "UfoneApiId": 1,
    "TelenorApiId": 1,
    "WaridApiId": 1,
    "ZongApiId": 1,
    "MobilinkBrandName": "sample string 1",
    "UfoneBrandName": "sample string 2",
    "TelenorBrandName": "sample string 3",
    "WaridBrandName": "sample string 4",
    "ZongBrandName": "sample string 5",
    "MobilinkBrandNameApiId": 6,
    "UfoneBrandNameApiId": 7,
    "TelenorBrandNameApiId": 8,
    "WaridBrandNameApiId": 9,
    "ZongBrandNameApiId": 10,
    "MobilinkShowSent": true,
    "UfoneShowSent": true,
    "TelenorShowSent": true,
    "WaridShowSent": true,
    "ZongShowSent": true
  },
  "SameAsDefaultPackage": true,
  "SetApiOfDefaultPackageOfMobilinkToAll": true
}

application/xml, text/xml

Sample:
<ListMaskSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMS.DataModels">
  <ApiPackage>
    <MobilinkApiId>1</MobilinkApiId>
    <MobilinkBrandName>sample string 1</MobilinkBrandName>
    <MobilinkBrandNameApiId>6</MobilinkBrandNameApiId>
    <MobilinkShowSent>true</MobilinkShowSent>
    <TelenorApiId>1</TelenorApiId>
    <TelenorBrandName>sample string 3</TelenorBrandName>
    <TelenorBrandNameApiId>8</TelenorBrandNameApiId>
    <TelenorShowSent>true</TelenorShowSent>
    <UfoneApiId>1</UfoneApiId>
    <UfoneBrandName>sample string 2</UfoneBrandName>
    <UfoneBrandNameApiId>7</UfoneBrandNameApiId>
    <UfoneShowSent>true</UfoneShowSent>
    <WaridApiId>1</WaridApiId>
    <WaridBrandName>sample string 4</WaridBrandName>
    <WaridBrandNameApiId>9</WaridBrandNameApiId>
    <WaridShowSent>true</WaridShowSent>
    <ZongApiId>1</ZongApiId>
    <ZongBrandName>sample string 5</ZongBrandName>
    <ZongBrandNameApiId>10</ZongBrandNameApiId>
    <ZongShowSent>true</ZongShowSent>
  </ApiPackage>
  <BrandNameId>1</BrandNameId>
  <DefaultPackage>
    <MobilinkApiId>1</MobilinkApiId>
    <MobilinkBrandName>sample string 1</MobilinkBrandName>
    <MobilinkBrandNameApiId>6</MobilinkBrandNameApiId>
    <MobilinkShowSent>true</MobilinkShowSent>
    <TelenorApiId>1</TelenorApiId>
    <TelenorBrandName>sample string 3</TelenorBrandName>
    <TelenorBrandNameApiId>8</TelenorBrandNameApiId>
    <TelenorShowSent>true</TelenorShowSent>
    <UfoneApiId>1</UfoneApiId>
    <UfoneBrandName>sample string 2</UfoneBrandName>
    <UfoneBrandNameApiId>7</UfoneBrandNameApiId>
    <UfoneShowSent>true</UfoneShowSent>
    <WaridApiId>1</WaridApiId>
    <WaridBrandName>sample string 4</WaridBrandName>
    <WaridBrandNameApiId>9</WaridBrandNameApiId>
    <WaridShowSent>true</WaridShowSent>
    <ZongApiId>1</ZongApiId>
    <ZongBrandName>sample string 5</ZongBrandName>
    <ZongBrandNameApiId>10</ZongBrandNameApiId>
    <ZongShowSent>true</ZongShowSent>
  </DefaultPackage>
  <LoginId>1</LoginId>
  <NormalPackage>
    <MobilinkApiId>1</MobilinkApiId>
    <MobilinkBrandName>sample string 1</MobilinkBrandName>
    <MobilinkBrandNameApiId>6</MobilinkBrandNameApiId>
    <MobilinkShowSent>true</MobilinkShowSent>
    <TelenorApiId>1</TelenorApiId>
    <TelenorBrandName>sample string 3</TelenorBrandName>
    <TelenorBrandNameApiId>8</TelenorBrandNameApiId>
    <TelenorShowSent>true</TelenorShowSent>
    <UfoneApiId>1</UfoneApiId>
    <UfoneBrandName>sample string 2</UfoneBrandName>
    <UfoneBrandNameApiId>7</UfoneBrandNameApiId>
    <UfoneShowSent>true</UfoneShowSent>
    <WaridApiId>1</WaridApiId>
    <WaridBrandName>sample string 4</WaridBrandName>
    <WaridBrandNameApiId>9</WaridBrandNameApiId>
    <WaridShowSent>true</WaridShowSent>
    <ZongApiId>1</ZongApiId>
    <ZongBrandName>sample string 5</ZongBrandName>
    <ZongBrandNameApiId>10</ZongBrandNameApiId>
    <ZongShowSent>true</ZongShowSent>
  </NormalPackage>
  <PortedPackage>
    <MobilinkApiId>1</MobilinkApiId>
    <MobilinkBrandName>sample string 1</MobilinkBrandName>
    <MobilinkBrandNameApiId>6</MobilinkBrandNameApiId>
    <MobilinkShowSent>true</MobilinkShowSent>
    <TelenorApiId>1</TelenorApiId>
    <TelenorBrandName>sample string 3</TelenorBrandName>
    <TelenorBrandNameApiId>8</TelenorBrandNameApiId>
    <TelenorShowSent>true</TelenorShowSent>
    <UfoneApiId>1</UfoneApiId>
    <UfoneBrandName>sample string 2</UfoneBrandName>
    <UfoneBrandNameApiId>7</UfoneBrandNameApiId>
    <UfoneShowSent>true</UfoneShowSent>
    <WaridApiId>1</WaridApiId>
    <WaridBrandName>sample string 4</WaridBrandName>
    <WaridBrandNameApiId>9</WaridBrandNameApiId>
    <WaridShowSent>true</WaridShowSent>
    <ZongApiId>1</ZongApiId>
    <ZongBrandName>sample string 5</ZongBrandName>
    <ZongBrandNameApiId>10</ZongBrandNameApiId>
    <ZongShowSent>true</ZongShowSent>
  </PortedPackage>
  <SameAsDefaultPackage>true</SameAsDefaultPackage>
  <SetApiOfDefaultPackageOfMobilinkToAll>true</SetApiOfDefaultPackageOfMobilinkToAll>
  <lstApi>
    <API>
      <Code>sample string 3</Code>
      <CreatedBy>sample string 8</CreatedBy>
      <CreatedDate>2025-12-06T10:47:08.9935653+05:00</CreatedDate>
      <Description>sample string 4</Description>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Password>sample string 7</Password>
      <UpdateBy>sample string 9</UpdateBy>
      <UpdatedDate>2025-12-06T10:47:08.9935653+05:00</UpdatedDate>
      <Url>sample string 5</Url>
      <Username>sample string 6</Username>
    </API>
    <API>
      <Code>sample string 3</Code>
      <CreatedBy>sample string 8</CreatedBy>
      <CreatedDate>2025-12-06T10:47:08.9935653+05:00</CreatedDate>
      <Description>sample string 4</Description>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Password>sample string 7</Password>
      <UpdateBy>sample string 9</UpdateBy>
      <UpdatedDate>2025-12-06T10:47:08.9935653+05:00</UpdatedDate>
      <Url>sample string 5</Url>
      <Username>sample string 6</Username>
    </API>
  </lstApi>
</ListMaskSetting>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>