POST api/State
Request Information
URI Parameters
None.
Body Parameters
StateModels| Name | Description | Type | Additional information | 
|---|---|---|---|
| ST_Id | integer | None. | |
| ST_StateID | string | None. | |
| ST_StateName | string | Required Max length: 50 | |
| ST_UserId_FK | integer | None. | |
| ST_TS | date | None. | |
| ST_Inactive | string | None. | |
| ST_TS_LastEdited | date | None. | |
| ST_TS_Edited_Uid_FK | integer | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "ST_Id": 1,
  "ST_StateID": "sample string 2",
  "ST_StateName": "sample string 3",
  "ST_UserId_FK": 4,
  "ST_TS": "2025-10-31T21:45:14.6352364+05:30",
  "ST_Inactive": "sample string 6",
  "ST_TS_LastEdited": "2025-10-31T21:45:14.6352364+05:30",
  "ST_TS_Edited_Uid_FK": 8
}
        application/xml, text/xml
            Sample:
        <StateModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <ST_Id>1</ST_Id> <ST_Inactive>sample string 6</ST_Inactive> <ST_StateID>sample string 2</ST_StateID> <ST_StateName>sample string 3</ST_StateName> <ST_TS>2025-10-31T21:45:14.6352364+05:30</ST_TS> <ST_TS_Edited_Uid_FK>8</ST_TS_Edited_Uid_FK> <ST_TS_LastEdited>2025-10-31T21:45:14.6352364+05:30</ST_TS_LastEdited> <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.