POST api/Area/Update

Request Information

URI Parameters

None.

Body Parameters

AreaRequest
NameDescriptionTypeAdditional information
AreaID

integer

None.

ZoneID

integer

None.

StateID

integer

None.

DistrictID

integer

None.

CompID

integer

None.

AreaName

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AreaID": 1,
  "ZoneID": 2,
  "StateID": 3,
  "DistrictID": 4,
  "CompID": 5,
  "AreaName": "sample string 6",
  "IsActive": true
}

text/html

Sample:
{"AreaID":1,"ZoneID":2,"StateID":3,"DistrictID":4,"CompID":5,"AreaName":"sample string 6","IsActive":true}

application/xml, text/xml

Sample:
<AreaController.AreaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KeyCodeWebsApis.Controllers">
  <AreaID>1</AreaID>
  <AreaName>sample string 6</AreaName>
  <CompID>5</CompID>
  <DistrictID>4</DistrictID>
  <IsActive>true</IsActive>
  <StateID>3</StateID>
  <ZoneID>2</ZoneID>
</AreaController.AreaRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.