POST api/Area/AddArea

Request Information

URI Parameters

None.

Body Parameters

Area
NameDescriptionTypeAdditional information
Area_Id

integer

None.

AreaName

string

None.

CityId

integer

None.

CityName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Area_Id": 1,
  "AreaName": "sample string 2",
  "CityId": 3,
  "CityName": "sample string 4"
}

application/octet-stream

Sample:
{"$id":"1","Area_Id":1,"AreaName":"sample string 2","CityId":3,"CityName":"sample string 4"}

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 'Area'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.