POST api/Common/AllDistrict

Request Information

URI Parameters

None.

Body Parameters

BOResponseDistrict
NameDescriptionTypeAdditional information
StateId

integer

None.

StateName

string

None.

DistrictId

integer

None.

CountryId

integer

None.

DistrictName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StateId": 1,
  "StateName": "sample string 2",
  "DistrictId": 3,
  "CountryId": 4,
  "DistrictName": "sample string 5"
}

application/xml, text/xml

Sample:
<BOResponseDistrict xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Common">
  <CountryId>4</CountryId>
  <DistrictId>3</DistrictId>
  <DistrictName>sample string 5</DistrictName>
  <StateId>1</StateId>
  <StateName>sample string 2</StateName>
</BOResponseDistrict>

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 'BOResponseDistrict'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.