POST Zones

Creates a new zone.

Request Information

URI Parameters

None.

Body Parameters

The data of the zone.

ZoneDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

IdNetwork

globally unique identifier

None.

Code

string

None.

Name

string

None.

Description

string

None.

ContactEmails

string

None.

TerritoryManager

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "a87f9431-2abc-499a-96a4-4e6693fba93e",
  "IdNetwork": "174e82a9-6851-454b-90bb-3c9793e7ff11",
  "Code": "sample string 3",
  "Name": "sample string 4",
  "Description": "sample string 5",
  "ContactEmails": "sample string 6",
  "TerritoryManager": "sample string 7"
}

application/xml, text/xml

Sample:
<ZoneDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
  <Code>sample string 3</Code>
  <ContactEmails>sample string 6</ContactEmails>
  <Description>sample string 5</Description>
  <Id>a87f9431-2abc-499a-96a4-4e6693fba93e</Id>
  <IdNetwork>174e82a9-6851-454b-90bb-3c9793e7ff11</IdNetwork>
  <Name>sample string 4</Name>
  <TerritoryManager>sample string 7</TerritoryManager>
</ZoneDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

State of the action, and if created returns the zone as ZoneDto and the link to de zone.

ZoneDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

IdNetwork

globally unique identifier

None.

Code

string

None.

Name

string

None.

Description

string

None.

ContactEmails

string

None.

TerritoryManager

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "fd29b6f1-6e09-4d38-b3db-20f6ec2c406c",
  "IdNetwork": "b4e3e128-f182-4a2e-a744-8fc5624b0fb5",
  "Code": "sample string 3",
  "Name": "sample string 4",
  "Description": "sample string 5",
  "ContactEmails": "sample string 6",
  "TerritoryManager": "sample string 7"
}

application/xml, text/xml

Sample:
<ZoneDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
  <Code>sample string 3</Code>
  <ContactEmails>sample string 6</ContactEmails>
  <Description>sample string 5</Description>
  <Id>fd29b6f1-6e09-4d38-b3db-20f6ec2c406c</Id>
  <IdNetwork>b4e3e128-f182-4a2e-a744-8fc5624b0fb5</IdNetwork>
  <Name>sample string 4</Name>
  <TerritoryManager>sample string 7</TerritoryManager>
</ZoneDto>