POST api/v1/customerzones

Request Information

URI Parameters

None.

Body Parameters

CustomerZoneDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

Code

string

None.

IsDeletable

boolean

None.

OrganizationCode

string

None.

Zipcodes

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "c25fdfba-f107-4a11-b2e8-ccacadbb0d57",
  "name": "sample string 2",
  "code": "sample string 3",
  "isDeletable": true,
  "organizationCode": "sample string 5",
  "zipcodes": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<CustomerZoneDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
  <Code>sample string 3</Code>
  <Id>c25fdfba-f107-4a11-b2e8-ccacadbb0d57</Id>
  <IsDeletable>true</IsDeletable>
  <Name>sample string 2</Name>
  <OrganizationCode>sample string 5</OrganizationCode>
  <Zipcodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Zipcodes>
</CustomerZoneDto>

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.