POST api/setup/state/create
Request Information
URI Parameters
None.
Body Parameters
RecStateDTOW| Name | Description | Type | Additional information |
|---|---|---|---|
| state_code | string |
Required Max length: 100 |
|
| description | string |
Max length: 100 |
|
| nationality_id | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"state_code": "sample string 1",
"description": "sample string 2",
"nationality_id": 3
}
application/xml, text/xml
Sample:
<RecStateDTOW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xceed365EngageApi.core.DTOs.Writable"> <description>sample string 2</description> <nationality_id>3</nationality_id> <state_code>sample string 1</state_code> </RecStateDTOW>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.