POST api/Locations/get_district_list_json
Documentation for 'get_district_list_json'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
model | Documentation for 'model'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "State": "sample string 1", "Token": "sample string 2", "AuthString": "sample string 3", "DateOfData": "sample string 4" }
application/xml, text/xml
Sample:
<RequestModelDistricts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.Locations"> <AuthString>sample string 3</AuthString> <DateOfData>sample string 4</DateOfData> <State>sample string 1</State> <Token>sample string 2</Token> </RequestModelDistricts>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{ "State": "sample string 1", "Token": "sample string 2", "AckCode": "sample string 3", "Status": "sample string 4", "Remarks": "sample string 5", "DateOfData": "sample string 6", "Districts": [ { "_DistrictCode": "sample string 1", "_DistrictName": "sample string 2", "_DistrictShortName": "sample string 3" }, { "_DistrictCode": "sample string 1", "_DistrictName": "sample string 2", "_DistrictShortName": "sample string 3" }, { "_DistrictCode": "sample string 1", "_DistrictName": "sample string 2", "_DistrictShortName": "sample string 3" } ] }
application/xml, text/xml
Sample:
<ResponseModelDistrict xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.Locations"> <AckCode>sample string 3</AckCode> <DateOfData>sample string 6</DateOfData> <Districts xmlns:d2p1="http://schemas.datacontract.org/2004/07/SCDClasses"> <d2p1:propDistrict> <d2p1:_DistrictCode>sample string 1</d2p1:_DistrictCode> <d2p1:_DistrictName>sample string 2</d2p1:_DistrictName> <d2p1:_DistrictShortName>sample string 3</d2p1:_DistrictShortName> </d2p1:propDistrict> <d2p1:propDistrict> <d2p1:_DistrictCode>sample string 1</d2p1:_DistrictCode> <d2p1:_DistrictName>sample string 2</d2p1:_DistrictName> <d2p1:_DistrictShortName>sample string 3</d2p1:_DistrictShortName> </d2p1:propDistrict> <d2p1:propDistrict> <d2p1:_DistrictCode>sample string 1</d2p1:_DistrictCode> <d2p1:_DistrictName>sample string 2</d2p1:_DistrictName> <d2p1:_DistrictShortName>sample string 3</d2p1:_DistrictShortName> </d2p1:propDistrict> </Districts> <Remarks>sample string 5</Remarks> <State>sample string 1</State> <Status>sample string 4</Status> <Token>sample string 2</Token> </ResponseModelDistrict>