POST area/CreateSurburb

Request Information

URI Parameters

None.

Body Parameters

AreaCaptureModel
NameDescriptionTypeAdditional information
DivisionID

integer

None.

AreaName

string

None.

AreaType

integer

None.

TenantID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DivisionID": 1,
  "AreaName": "sample string 2",
  "AreaType": 3,
  "TenantID": 4
}

text/html

Sample:
{"DivisionID":1,"AreaName":"sample string 2","AreaType":3,"TenantID":4}

application/xml, text/xml

Sample:
<AreaCaptureModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Areas">
  <AreaName>sample string 2</AreaName>
  <AreaType>3</AreaType>
  <DivisionID>1</DivisionID>
  <TenantID>4</TenantID>
</AreaCaptureModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.