POST api/cd/statelist
Request Information
URI Parameters
None.
Body Parameters
State| Name | Description | Type | Additional information |
|---|---|---|---|
| stateid | integer |
None. |
|
| statename | string |
None. |
|
| countryid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"stateid": 1,
"statename": "sample string 2",
"countryid": 3
}
multipart/form-data
Sample:
{"stateid":1,"statename":"sample string 2","countryid":3}
application/xml, text/xml
Sample:
<State xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sell_API.Models"> <countryid>3</countryid> <stateid>1</stateid> <statename>sample string 2</statename> </State>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, multipart/form-data, application/xml, text/xml
Sample:
Sample not available.