POST api/JDData/DistrictData

Request Information

URI Parameters

None.

Body Parameters

locations
NameDescriptionTypeAdditional information
Mode

integer

None.

fromDate

string

None.

toDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "mode": 1,
  "fromDate": "sample string 2",
  "toDate": "sample string 3"
}

application/xml, text/xml

Sample:
<locations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <Mode>1</Mode>
  <fromDate>sample string 2</fromDate>
  <toDate>sample string 3</toDate>
</locations>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of DistrictModel
NameDescriptionTypeAdditional information
DistrictCode

integer

None.

DistrictName

string

None.

AOCode

integer

None.

AOName

string

None.

StateCode

integer

None.

StateName

string

None.

Status

string

None.

Remark

string

None.

LastUpdationDate

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "districtCode": 1,
    "districtName": "sample string 2",
    "aoCode": 3,
    "aoName": "sample string 4",
    "stateCode": 5,
    "stateName": "sample string 6",
    "status": "sample string 7",
    "remark": "sample string 8",
    "lastUpdationDate": "sample string 9"
  },
  {
    "districtCode": 1,
    "districtName": "sample string 2",
    "aoCode": 3,
    "aoName": "sample string 4",
    "stateCode": 5,
    "stateName": "sample string 6",
    "status": "sample string 7",
    "remark": "sample string 8",
    "lastUpdationDate": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDistrictModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <DistrictModel>
    <AOCode>3</AOCode>
    <AOName>sample string 4</AOName>
    <DistrictCode>1</DistrictCode>
    <DistrictName>sample string 2</DistrictName>
    <LastUpdationDate>sample string 9</LastUpdationDate>
    <Remark>sample string 8</Remark>
    <StateCode>5</StateCode>
    <StateName>sample string 6</StateName>
    <Status>sample string 7</Status>
  </DistrictModel>
  <DistrictModel>
    <AOCode>3</AOCode>
    <AOName>sample string 4</AOName>
    <DistrictCode>1</DistrictCode>
    <DistrictName>sample string 2</DistrictName>
    <LastUpdationDate>sample string 9</LastUpdationDate>
    <Remark>sample string 8</Remark>
    <StateCode>5</StateCode>
    <StateName>sample string 6</StateName>
    <Status>sample string 7</Status>
  </DistrictModel>
</ArrayOfDistrictModel>