GET api/JDData/StateData?AllElement={AllElement}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AllElement | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of StateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StateCode | integer |
None. |
|
| StateName | string |
None. |
|
| ZoneCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"stateCode": 1,
"stateName": "sample string 2",
"zoneCode": 3
},
{
"stateCode": 1,
"stateName": "sample string 2",
"zoneCode": 3
}
]
application/xml, text/xml
Sample:
<ArrayOfStateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
<StateModel>
<StateCode>1</StateCode>
<StateName>sample string 2</StateName>
<ZoneCode>3</ZoneCode>
</StateModel>
<StateModel>
<StateCode>1</StateCode>
<StateName>sample string 2</StateName>
<ZoneCode>3</ZoneCode>
</StateModel>
</ArrayOfStateModel>