POST api/States
Request Information
URI Parameters
None.
Body Parameters
State| Name | Description | Type | Additional information |
|---|---|---|---|
| STATE | string |
None. |
|
| NAME | string |
None. |
|
| COUNTRY | string |
None. |
|
| OLD | integer |
None. |
Request 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>
application/x-www-form-urlencoded
Sample:
Sample not available.
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>