POST Zones
Creates a new zone.
Request Information
URI Parameters
None.
Body Parameters
The data of the zone.
ZoneDto| Name | Description | Type | Additional 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": "b524850b-160a-4262-9322-ab5a7d2119ce",
"IdNetwork": "c5bc181b-d1cc-4a08-84e4-b2f95d4f0d33",
"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>b524850b-160a-4262-9322-ab5a7d2119ce</Id> <IdNetwork>c5bc181b-d1cc-4a08-84e4-b2f95d4f0d33</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| Name | Description | Type | Additional 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": "b9a75f5c-6d36-4876-891e-8e307ebef91d",
"IdNetwork": "15ff908e-6889-4172-bf1a-c391acf7572c",
"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>b9a75f5c-6d36-4876-891e-8e307ebef91d</Id> <IdNetwork>15ff908e-6889-4172-bf1a-c391acf7572c</IdNetwork> <Name>sample string 4</Name> <TerritoryManager>sample string 7</TerritoryManager> </ZoneDto>