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.

f_usr_add

integer

None.

f_usr_upd

integer

None.

m_stamp_add

date

None.

f_rstat

integer

None.

OriginalStateCode

integer

None.

Division

integer

None.

m_prefix

string

None.

m_gst_state_tag

string

None.

m_short_nm

string

None.

m_JDGSTIN

string

None.

m_CompanyShare

integer

None.

InvoiceStateCode

integer

None.

InvoiceStateAddress

string

None.

ZoneId

integer

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",
    "f_usr_add": 1,
    "f_usr_upd": 1,
    "m_stamp_add": "2026-04-05T22:27:38.5536378+05:30",
    "f_rstat": 1,
    "originalStateCode": 1,
    "division": 1,
    "m_prefix": "sample string 10",
    "m_gst_state_tag": "sample string 11",
    "m_short_nm": "sample string 12",
    "m_JDGSTIN": "sample string 13",
    "m_CompanyShare": 1,
    "invoiceStateCode": 1,
    "invoiceStateAddress": "sample string 14",
    "zoneId": 1
  },
  {
    "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",
    "f_usr_add": 1,
    "f_usr_upd": 1,
    "m_stamp_add": "2026-04-05T22:27:38.5536378+05:30",
    "f_rstat": 1,
    "originalStateCode": 1,
    "division": 1,
    "m_prefix": "sample string 10",
    "m_gst_state_tag": "sample string 11",
    "m_short_nm": "sample string 12",
    "m_JDGSTIN": "sample string 13",
    "m_CompanyShare": 1,
    "invoiceStateCode": 1,
    "invoiceStateAddress": "sample string 14",
    "zoneId": 1
  }
]

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>
    <Division>1</Division>
    <InvoiceStateAddress>sample string 14</InvoiceStateAddress>
    <InvoiceStateCode>1</InvoiceStateCode>
    <LastUpdationDate>sample string 9</LastUpdationDate>
    <OriginalStateCode>1</OriginalStateCode>
    <Remark>sample string 8</Remark>
    <StateCode>5</StateCode>
    <StateName>sample string 6</StateName>
    <Status>sample string 7</Status>
    <ZoneCode>3</ZoneCode>
    <ZoneId>1</ZoneId>
    <ZoneName>sample string 4</ZoneName>
    <f_rstat>1</f_rstat>
    <f_usr_add>1</f_usr_add>
    <f_usr_upd>1</f_usr_upd>
    <m_CompanyShare>1</m_CompanyShare>
    <m_JDGSTIN>sample string 13</m_JDGSTIN>
    <m_gst_state_tag>sample string 11</m_gst_state_tag>
    <m_prefix>sample string 10</m_prefix>
    <m_short_nm>sample string 12</m_short_nm>
    <m_stamp_add>2026-04-05T22:27:38.5536378+05:30</m_stamp_add>
  </AreaOfficeModel>
  <AreaOfficeModel>
    <AOCode>1</AOCode>
    <AOName>sample string 2</AOName>
    <Division>1</Division>
    <InvoiceStateAddress>sample string 14</InvoiceStateAddress>
    <InvoiceStateCode>1</InvoiceStateCode>
    <LastUpdationDate>sample string 9</LastUpdationDate>
    <OriginalStateCode>1</OriginalStateCode>
    <Remark>sample string 8</Remark>
    <StateCode>5</StateCode>
    <StateName>sample string 6</StateName>
    <Status>sample string 7</Status>
    <ZoneCode>3</ZoneCode>
    <ZoneId>1</ZoneId>
    <ZoneName>sample string 4</ZoneName>
    <f_rstat>1</f_rstat>
    <f_usr_add>1</f_usr_add>
    <f_usr_upd>1</f_usr_upd>
    <m_CompanyShare>1</m_CompanyShare>
    <m_JDGSTIN>sample string 13</m_JDGSTIN>
    <m_gst_state_tag>sample string 11</m_gst_state_tag>
    <m_prefix>sample string 10</m_prefix>
    <m_short_nm>sample string 12</m_short_nm>
    <m_stamp_add>2026-04-05T22:27:38.5536378+05:30</m_stamp_add>
  </AreaOfficeModel>
</ArrayOfAreaOfficeModel>