POST api/Area/SaveMultiple

Request Information

URI Parameters

None.

Body Parameters

AreaMultiRequest
NameDescriptionTypeAdditional information
AreaID

integer

None.

ZoneID

integer

None.

StateID

integer

None.

CompID

integer

None.

AreaName

string

None.

IsActive

boolean

None.

DistrictIDs

Collection of integer

None.

Request Formats

application/json, text/json

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

text/html

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

application/xml, text/xml

Sample:
<AreaController.AreaMultiRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KeyCodeWebsApis.Controllers">
  <AreaID>1</AreaID>
  <AreaName>sample string 5</AreaName>
  <CompID>4</CompID>
  <DistrictIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </DistrictIDs>
  <IsActive>true</IsActive>
  <StateID>3</StateID>
  <ZoneID>2</ZoneID>
</AreaController.AreaMultiRequest>

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.