POST api/Area/Save

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

AreaCreateViewModel
NameDescriptionTypeAdditional information
AreaID

integer

None.

CityID

integer

None.

CountryID

integer

None.

AreaEnglishName

string

Required

Matching regular expression pattern: [a-zA-Z0-9\s]{1,}

String length: inclusive between 3 and 30

AreaArbicName

string

Required

String length: inclusive between 3 and 30

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AreaID": 1,
  "CityID": 2,
  "CountryID": 3,
  "AreaEnglishName": "sample string 4",
  "AreaArbicName": "sample string 5",
  "IsDeleted": true
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.