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": "727b0e49-1734-4825-b23f-79e4bf395fb9",
"IdNetwork": "b8354642-d9f7-48ec-9817-4f4a164ff6a7",
"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>727b0e49-1734-4825-b23f-79e4bf395fb9</Id> <IdNetwork>b8354642-d9f7-48ec-9817-4f4a164ff6a7</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": "f09b888a-f4ad-4541-a0e0-d9516153d30b",
"IdNetwork": "2470a1d7-18ec-4095-a881-2e8ea24e2aea",
"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>f09b888a-f4ad-4541-a0e0-d9516153d30b</Id> <IdNetwork>2470a1d7-18ec-4095-a881-2e8ea24e2aea</IdNetwork> <Name>sample string 4</Name> <TerritoryManager>sample string 7</TerritoryManager> </ZoneDto>