POST TerminalsTypes

Creates a new terminal type.

Request Information

URI Parameters

None.

Body Parameters

The data of the terminal type.

TerminalTypeDto
NameDescriptionTypeAdditional 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": "06b01822-dab9-465b-a7e7-2398ba845093",
  "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>06b01822-dab9-465b-a7e7-2398ba845093</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
NameDescriptionTypeAdditional 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": "b0cc120f-2c15-4d21-bbdc-8974922fa1c8",
  "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>b0cc120f-2c15-4d21-bbdc-8974922fa1c8</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>