POST api/WMProAdmin/GetCityStateData

Request Information

URI Parameters

None.

Body Parameters

CityStateInputModel
NameDescriptionTypeAdditional information
ID

integer

None.

PinCode

integer

None.

CityName

string

None.

PostOffiName

string

None.

StatName

string

None.

StatId

integer

None.

UserID

string

Required

Password

string

Required

IFAID

string

Required

Token

string

Required

DbInUse

string

None.

Sourceid

integer

None.

Forgot_UserID

string

None.

IsWMPRO

boolean

None.

LoginUserSessionID

integer

Required

IsMagic

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PinCode": 2,
  "CityName": "sample string 3",
  "PostOffiName": "sample string 4",
  "StatName": "sample string 5",
  "StatId": 6,
  "UserID": "sample string 7",
  "Password": "sample string 8",
  "IFAID": "sample string 9",
  "Token": "sample string 10",
  "DbInUse": "sample string 11",
  "Sourceid": 12,
  "Forgot_UserID": "sample string 13",
  "IsWMPRO": true,
  "LoginUserSessionID": 15,
  "IsMagic": "sample string 16"
}

application/xml, text/xml

Sample:
<CityStateInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMDataService.Models">
  <IsMagic>sample string 16</IsMagic>
  <IsWMPRO>false</IsWMPRO>
  <LoginUserSessionID>15</LoginUserSessionID>
  <DbInUse>sample string 11</DbInUse>
  <Forgot_UserID>sample string 13</Forgot_UserID>
  <IFAID>sample string 9</IFAID>
  <IsWMPRO>true</IsWMPRO>
  <Password>sample string 8</Password>
  <Sourceid>12</Sourceid>
  <Token>sample string 10</Token>
  <UserID>sample string 7</UserID>
  <CityName>sample string 3</CityName>
  <ID>1</ID>
  <PinCode>2</PinCode>
  <PostOffiName>sample string 4</PostOffiName>
  <StatId>6</StatId>
  <StatName>sample string 5</StatName>
</CityStateInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CityStateOutputModel
NameDescriptionTypeAdditional information
listCityStateMaster

Collection of CityStateMasterModel

None.

ReturnStat

boolean

None.

Status

string

Required

Message

string

Required

MobileOtp

integer

None.

LoginUserSessionID

integer

Required

IsWMPRO

boolean

None.

IsMagic

string

None.

Response Formats

application/json, text/json

Sample:
{
  "listCityStateMaster": [
    {
      "ID": 1,
      "PinCode": 2,
      "CityName": "sample string 3",
      "PostOffiName": "sample string 4",
      "StatName": "sample string 5",
      "StatId": 6
    },
    {
      "ID": 1,
      "PinCode": 2,
      "CityName": "sample string 3",
      "PostOffiName": "sample string 4",
      "StatName": "sample string 5",
      "StatId": 6
    }
  ],
  "ReturnStat": true,
  "Status": "sample string 2",
  "Message": "sample string 3",
  "MobileOtp": 4,
  "LoginUserSessionID": 5,
  "IsWMPRO": true,
  "IsMagic": "sample string 7"
}

application/xml, text/xml

Sample:
<CityStateOutputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMDataService.Models">
  <IsMagic>sample string 7</IsMagic>
  <IsWMPRO>true</IsWMPRO>
  <LoginUserSessionID>5</LoginUserSessionID>
  <Message>sample string 3</Message>
  <MobileOtp>4</MobileOtp>
  <Status>sample string 2</Status>
  <ReturnStat>true</ReturnStat>
  <listCityStateMaster>
    <CityStateMasterModel>
      <CityName>sample string 3</CityName>
      <ID>1</ID>
      <PinCode>2</PinCode>
      <PostOffiName>sample string 4</PostOffiName>
      <StatId>6</StatId>
      <StatName>sample string 5</StatName>
    </CityStateMasterModel>
    <CityStateMasterModel>
      <CityName>sample string 3</CityName>
      <ID>1</ID>
      <PinCode>2</PinCode>
      <PostOffiName>sample string 4</PostOffiName>
      <StatId>6</StatId>
      <StatName>sample string 5</StatName>
    </CityStateMasterModel>
  </listCityStateMaster>
</CityStateOutputModel>