PUT api/state/Updatestate/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

StateModels
NameDescriptionTypeAdditional 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:04:54.5696178+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:04:54.5696178+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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StateModels'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.