POST api/v1/customerareas

Request Information

URI Parameters

None.

Body Parameters

CustomerAreaDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ZipCode

string

None.

City

string

None.

Region

string

None.

Country

string

None.

Latitude

string

None.

Longitude

string

None.

CanDelete

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "65071aaf-8a16-4aa6-9c60-3068acd13fa2",
  "zipCode": "sample string 1",
  "city": "sample string 2",
  "region": "sample string 3",
  "country": "sample string 4",
  "latitude": "sample string 5",
  "longitude": "sample string 6",
  "canDelete": true
}

application/xml, text/xml

Sample:
<CustomerAreaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
  <CanDelete>true</CanDelete>
  <City>sample string 2</City>
  <Country>sample string 4</Country>
  <Id>65071aaf-8a16-4aa6-9c60-3068acd13fa2</Id>
  <Latitude>sample string 5</Latitude>
  <Longitude>sample string 6</Longitude>
  <Region>sample string 3</Region>
  <ZipCode>sample string 1</ZipCode>
</CustomerAreaDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.