GET api/JDData/ZoneData?AllElement={AllElement}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AllElement

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of ZoneModel
NameDescriptionTypeAdditional information
ZoneCode

integer

None.

ZoneName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "zoneCode": 1,
    "zoneName": "sample string 2"
  },
  {
    "zoneCode": 1,
    "zoneName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfZoneModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <ZoneModel>
    <ZoneCode>1</ZoneCode>
    <ZoneName>sample string 2</ZoneName>
  </ZoneModel>
  <ZoneModel>
    <ZoneCode>1</ZoneCode>
    <ZoneName>sample string 2</ZoneName>
  </ZoneModel>
</ArrayOfZoneModel>