PUT api/setup/state/update/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

RecStateDTOW
NameDescriptionTypeAdditional 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:

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.