POST api/state/Createstate
Request Information
URI Parameters
None.
Body Parameters
StateModels| Name | Description | Type | Additional information |
|---|---|---|---|
| ST_Id | integer |
None. |
|
| ST_StateID | integer |
None. |
|
| ST_StateName | string |
None. |
|
| ST_UserId_FK | integer |
None. |
|
| ST_INSTS | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ST_Id": 1,
"ST_StateID": 2,
"ST_StateName": "sample string 3",
"ST_UserId_FK": 4,
"ST_INSTS": "2026-01-11T21:03:03.5454763+05:30"
}
application/xml, text/xml
Sample:
<StateModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <ST_INSTS>2026-01-11T21:03:03.5454763+05:30</ST_INSTS> <ST_Id>1</ST_Id> <ST_StateID>2</ST_StateID> <ST_StateName>sample string 3</ST_StateName> <ST_UserId_FK>4</ST_UserId_FK> </StateModels>
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.