POST TerminalsInventoriesLocations
Creates a new zone.
Request Information
URI Parameters
None.
Body Parameters
The data of the zone.
TerminalInventoryLocationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| IdNetwork | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| TerminalStatus | byte |
None. |
|
| TerminalStatusDescription | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "284daecd-1aeb-4b50-bb0c-dda67efbefd0",
"IdNetwork": "7c43d11f-ae5b-43ff-b69b-05bd763c2b36",
"Code": "sample string 3",
"Name": "sample string 4",
"Description": "sample string 5",
"TerminalStatus": 64,
"TerminalStatusDescription": "sample string 7"
}
application/xml, text/xml
Sample:
<TerminalInventoryLocationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Code>sample string 3</Code> <Description>sample string 5</Description> <Id>284daecd-1aeb-4b50-bb0c-dda67efbefd0</Id> <IdNetwork>7c43d11f-ae5b-43ff-b69b-05bd763c2b36</IdNetwork> <Name>sample string 4</Name> <TerminalStatus>64</TerminalStatus> <TerminalStatusDescription>sample string 7</TerminalStatusDescription> </TerminalInventoryLocationDto>
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.
TerminalInventoryLocationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| IdNetwork | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| TerminalStatus | byte |
None. |
|
| TerminalStatusDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "2d9fdf13-dcad-429e-b455-9c6b5ed82689",
"IdNetwork": "7bf0ec8c-c9c5-4604-baea-2d7893b73de5",
"Code": "sample string 3",
"Name": "sample string 4",
"Description": "sample string 5",
"TerminalStatus": 64,
"TerminalStatusDescription": "sample string 7"
}
application/xml, text/xml
Sample:
<TerminalInventoryLocationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Code>sample string 3</Code> <Description>sample string 5</Description> <Id>2d9fdf13-dcad-429e-b455-9c6b5ed82689</Id> <IdNetwork>7bf0ec8c-c9c5-4604-baea-2d7893b73de5</IdNetwork> <Name>sample string 4</Name> <TerminalStatus>64</TerminalStatus> <TerminalStatusDescription>sample string 7</TerminalStatusDescription> </TerminalInventoryLocationDto>