POST TerminalsInventoriesLocations
Creates a new zone.
Request Information
URI Parameters
None.
Body Parameters
The data of the zone.
TerminalInventoryLocationDtoName | 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": "aa426edf-39bd-47af-95cd-24561449c512", "IdNetwork": "8d9f3ed8-0e2a-4ffe-b37b-716ef64063e9", "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>aa426edf-39bd-47af-95cd-24561449c512</Id> <IdNetwork>8d9f3ed8-0e2a-4ffe-b37b-716ef64063e9</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.
TerminalInventoryLocationDtoName | 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": "cdcbe54f-eba4-45c7-a614-10a44d4e291b", "IdNetwork": "90f2a5e5-75a6-4ad1-8a8b-cb5aa16edcbe", "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>cdcbe54f-eba4-45c7-a614-10a44d4e291b</Id> <IdNetwork>90f2a5e5-75a6-4ad1-8a8b-cb5aa16edcbe</IdNetwork> <Name>sample string 4</Name> <TerminalStatus>64</TerminalStatus> <TerminalStatusDescription>sample string 7</TerminalStatusDescription> </TerminalInventoryLocationDto>