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": "baf8e7e0-972d-4075-8026-348794c41023", "IdNetwork": "471e54ec-c22b-4114-a87b-9f37049fd8f6", "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>baf8e7e0-972d-4075-8026-348794c41023</Id> <IdNetwork>471e54ec-c22b-4114-a87b-9f37049fd8f6</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": "b5ca8285-d7ee-4426-9459-62c0cce9f612", "IdNetwork": "87e2fd75-7ef6-4b5e-8148-308a0ff199f5", "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>b5ca8285-d7ee-4426-9459-62c0cce9f612</Id> <IdNetwork>87e2fd75-7ef6-4b5e-8148-308a0ff199f5</IdNetwork> <Name>sample string 4</Name> <TerminalStatus>64</TerminalStatus> <TerminalStatusDescription>sample string 7</TerminalStatusDescription> </TerminalInventoryLocationDto>