POST api/State/UpdateState

Request Information

URI Parameters

None.

Body Parameters

State
NameDescriptionTypeAdditional information
StateId

integer

None.

StateName

string

None.

CountryId

string

None.

CountryName

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<State xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceWebApi.Models">
  <CountryId>sample string 3</CountryId>
  <CountryName>sample string 4</CountryName>
  <StateId>1</StateId>
  <StateName>sample string 2</StateName>
</State>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.