POST api/Locations/get_state_list_json

Documentation for 'get_state_list_json'.

Request Information

Parameters

NameDescriptionAdditional information
model
Documentation for 'model'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "AuthString": "sample string 2",
  "DateOfData": "sample string 3"
}

application/xml, text/xml

Sample:
<RequestModelStates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.Locations">
  <AuthString>sample string 2</AuthString>
  <DateOfData>sample string 3</DateOfData>
  <Token>sample string 1</Token>
</RequestModelStates>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestModelStates'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "AckCode": "sample string 2",
  "Status": "sample string 3",
  "Remarks": "sample string 4",
  "DateOfData": "sample string 5",
  "States": [
    {
      "_StateCode": "sample string 1",
      "_StateName": "sample string 2",
      "_StateShortName": "sample string 3",
      "_OwnershipType": "sample string 4"
    },
    {
      "_StateCode": "sample string 1",
      "_StateName": "sample string 2",
      "_StateShortName": "sample string 3",
      "_OwnershipType": "sample string 4"
    },
    {
      "_StateCode": "sample string 1",
      "_StateName": "sample string 2",
      "_StateShortName": "sample string 3",
      "_OwnershipType": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseModelState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.Locations">
  <AckCode>sample string 2</AckCode>
  <DateOfData>sample string 5</DateOfData>
  <Remarks>sample string 4</Remarks>
  <States xmlns:d2p1="http://schemas.datacontract.org/2004/07/SCDClasses">
    <d2p1:propState>
      <d2p1:_OwnershipType>sample string 4</d2p1:_OwnershipType>
      <d2p1:_StateCode>sample string 1</d2p1:_StateCode>
      <d2p1:_StateName>sample string 2</d2p1:_StateName>
      <d2p1:_StateShortName>sample string 3</d2p1:_StateShortName>
    </d2p1:propState>
    <d2p1:propState>
      <d2p1:_OwnershipType>sample string 4</d2p1:_OwnershipType>
      <d2p1:_StateCode>sample string 1</d2p1:_StateCode>
      <d2p1:_StateName>sample string 2</d2p1:_StateName>
      <d2p1:_StateShortName>sample string 3</d2p1:_StateShortName>
    </d2p1:propState>
    <d2p1:propState>
      <d2p1:_OwnershipType>sample string 4</d2p1:_OwnershipType>
      <d2p1:_StateCode>sample string 1</d2p1:_StateCode>
      <d2p1:_StateName>sample string 2</d2p1:_StateName>
      <d2p1:_StateShortName>sample string 3</d2p1:_StateShortName>
    </d2p1:propState>
  </States>
  <Status>sample string 3</Status>
  <Token>sample string 1</Token>
</ResponseModelState>