POST api/JDData/AreaOfficeData

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:

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

Response Information

Resource Description

Collection of AreaOfficeModel
NameDescriptionTypeAdditional information
AOCode

integer

None.

AOName

string

None.

ZoneCode

integer

None.

ZoneName

string

None.

StateCode

integer

None.

StateName

string

None.

Status

string

None.

Remark

string

None.

LastUpdationDate

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "aoCode": 1,
    "aoName": "sample string 2",
    "zoneCode": 3,
    "zoneName": "sample string 4",
    "stateCode": 5,
    "stateName": "sample string 6",
    "status": "sample string 7",
    "remark": "sample string 8",
    "lastUpdationDate": "sample string 9"
  },
  {
    "aoCode": 1,
    "aoName": "sample string 2",
    "zoneCode": 3,
    "zoneName": "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:
<ArrayOfAreaOfficeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <AreaOfficeModel>
    <AOCode>1</AOCode>
    <AOName>sample string 2</AOName>
    <LastUpdationDate>sample string 9</LastUpdationDate>
    <Remark>sample string 8</Remark>
    <StateCode>5</StateCode>
    <StateName>sample string 6</StateName>
    <Status>sample string 7</Status>
    <ZoneCode>3</ZoneCode>
    <ZoneName>sample string 4</ZoneName>
  </AreaOfficeModel>
  <AreaOfficeModel>
    <AOCode>1</AOCode>
    <AOName>sample string 2</AOName>
    <LastUpdationDate>sample string 9</LastUpdationDate>
    <Remark>sample string 8</Remark>
    <StateCode>5</StateCode>
    <StateName>sample string 6</StateName>
    <Status>sample string 7</Status>
    <ZoneCode>3</ZoneCode>
    <ZoneName>sample string 4</ZoneName>
  </AreaOfficeModel>
</ArrayOfAreaOfficeModel>