GET api/States/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
State| Name | Description | Type | Additional information |
|---|---|---|---|
| STATE | string |
None. |
|
| NAME | string |
None. |
|
| COUNTRY | string |
None. |
|
| OLD | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"STATE": "sample string 1",
"NAME": "sample string 2",
"COUNTRY": "sample string 3",
"OLD": 1
}
application/octet-stream
Sample:
{"STATE":"sample string 1","NAME":"sample string 2","COUNTRY":"sample string 3","OLD":1}
application/xml, text/xml
Sample:
<State xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <STATE>sample string 1</STATE> <NAME>sample string 2</NAME> <COUNTRY>sample string 3</COUNTRY> <OLD>1</OLD> </State>