PUT api/StateMasters/PutStateMaster/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

StateMaster
NameDescriptionTypeAdditional information
StateId

integer

None.

StateName

string

None.

CountryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StateId": 1,
  "StateName": "sample string 2",
  "CountryId": 1
}

application/xml, text/xml

Sample:
<StateMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ItemMasterDemoAPI">
  <CountryId>1</CountryId>
  <StateId>1</StateId>
  <StateName>sample string 2</StateName>
</StateMaster>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.