POST TerminalsTypes
Creates a new terminal type.
Request Information
URI Parameters
None.
Body Parameters
The data of the terminal type.
TerminalTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Manufacturer | string |
None. |
|
| TerminalCodeMaxLenght | byte |
None. |
|
| AuthorizationMode | byte |
None. |
|
| SupportsLoyalty | boolean |
None. |
|
| SupportsPriceChange | boolean |
None. |
|
| SupportsKeepAlive | boolean |
None. |
|
| MinimumVolume | decimal number |
None. |
|
| MinimumAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "8c6c250c-cfa1-40d6-9c15-39bf0347785e",
"Name": "sample string 2",
"Description": "sample string 3",
"Manufacturer": "sample string 4",
"TerminalCodeMaxLenght": 64,
"AuthorizationMode": 64,
"SupportsLoyalty": true,
"SupportsPriceChange": true,
"SupportsKeepAlive": true,
"MinimumVolume": 1.0,
"MinimumAmount": 1.0
}
application/xml, text/xml
Sample:
<TerminalTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <AuthorizationMode>64</AuthorizationMode> <Description>sample string 3</Description> <Id>8c6c250c-cfa1-40d6-9c15-39bf0347785e</Id> <Manufacturer>sample string 4</Manufacturer> <MinimumAmount>1</MinimumAmount> <MinimumVolume>1</MinimumVolume> <Name>sample string 2</Name> <SupportsKeepAlive>true</SupportsKeepAlive> <SupportsLoyalty>true</SupportsLoyalty> <SupportsPriceChange>true</SupportsPriceChange> <TerminalCodeMaxLenght>64</TerminalCodeMaxLenght> </TerminalTypeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action, and if created returns the terminal type as TerminalTypeDto and the link to the terminal type.
TerminalTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Manufacturer | string |
None. |
|
| TerminalCodeMaxLenght | byte |
None. |
|
| AuthorizationMode | byte |
None. |
|
| SupportsLoyalty | boolean |
None. |
|
| SupportsPriceChange | boolean |
None. |
|
| SupportsKeepAlive | boolean |
None. |
|
| MinimumVolume | decimal number |
None. |
|
| MinimumAmount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "6f1d47c3-282c-4d7d-b5a3-b1083a96f095",
"Name": "sample string 2",
"Description": "sample string 3",
"Manufacturer": "sample string 4",
"TerminalCodeMaxLenght": 64,
"AuthorizationMode": 64,
"SupportsLoyalty": true,
"SupportsPriceChange": true,
"SupportsKeepAlive": true,
"MinimumVolume": 1.0,
"MinimumAmount": 1.0
}
application/xml, text/xml
Sample:
<TerminalTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <AuthorizationMode>64</AuthorizationMode> <Description>sample string 3</Description> <Id>6f1d47c3-282c-4d7d-b5a3-b1083a96f095</Id> <Manufacturer>sample string 4</Manufacturer> <MinimumAmount>1</MinimumAmount> <MinimumVolume>1</MinimumVolume> <Name>sample string 2</Name> <SupportsKeepAlive>true</SupportsKeepAlive> <SupportsLoyalty>true</SupportsLoyalty> <SupportsPriceChange>true</SupportsPriceChange> <TerminalCodeMaxLenght>64</TerminalCodeMaxLenght> </TerminalTypeDto>