POST TerminalsTypesModels

Creates a new terminal type model.

Request Information

URI Parameters

None.

Body Parameters

The data of the terminal type model.

TerminalTypeModelDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

IdTerminalType

globally unique identifier

None.

TerminalTypeName

string

None.

Name

string

None.

Parameters

Collection of TerminalTypeModelParameterDto

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "5b6b8532-f41f-480e-87ec-4116a2c97d95",
  "IdTerminalType": "a9a17b82-922c-4f0e-bd2c-ddf3cce7cedf",
  "TerminalTypeName": "sample string 3",
  "Name": "sample string 4",
  "Parameters": [
    {
      "Id": "e84c27db-9fe0-4d16-ba4d-c7ec319bcf97",
      "Key": "sample string 2",
      "Order": 64
    },
    {
      "Id": "e84c27db-9fe0-4d16-ba4d-c7ec319bcf97",
      "Key": "sample string 2",
      "Order": 64
    }
  ]
}

application/xml, text/xml

Sample:
<TerminalTypeModelDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
  <Id>5b6b8532-f41f-480e-87ec-4116a2c97d95</Id>
  <IdTerminalType>a9a17b82-922c-4f0e-bd2c-ddf3cce7cedf</IdTerminalType>
  <Name>sample string 4</Name>
  <Parameters>
    <TerminalTypeModelParameterDto>
      <Id>e84c27db-9fe0-4d16-ba4d-c7ec319bcf97</Id>
      <Key>sample string 2</Key>
      <Order>64</Order>
    </TerminalTypeModelParameterDto>
    <TerminalTypeModelParameterDto>
      <Id>e84c27db-9fe0-4d16-ba4d-c7ec319bcf97</Id>
      <Key>sample string 2</Key>
      <Order>64</Order>
    </TerminalTypeModelParameterDto>
  </Parameters>
  <TerminalTypeName>sample string 3</TerminalTypeName>
</TerminalTypeModelDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

State of the action, and if created returns the terminal type model as TerminalTypeModelDto and the link to the terminal type model.

TerminalTypeModelDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

IdTerminalType

globally unique identifier

None.

TerminalTypeName

string

None.

Name

string

None.

Parameters

Collection of TerminalTypeModelParameterDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "fd00a31a-656c-45f6-b769-0a8bd8580d6a",
  "IdTerminalType": "c4511f67-ab88-4d86-a6e6-0030d5d27278",
  "TerminalTypeName": "sample string 3",
  "Name": "sample string 4",
  "Parameters": [
    {
      "Id": "06d9f5ef-8cda-4968-b3d7-615c9c9de171",
      "Key": "sample string 2",
      "Order": 64
    },
    {
      "Id": "06d9f5ef-8cda-4968-b3d7-615c9c9de171",
      "Key": "sample string 2",
      "Order": 64
    }
  ]
}

application/xml, text/xml

Sample:
<TerminalTypeModelDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
  <Id>fd00a31a-656c-45f6-b769-0a8bd8580d6a</Id>
  <IdTerminalType>c4511f67-ab88-4d86-a6e6-0030d5d27278</IdTerminalType>
  <Name>sample string 4</Name>
  <Parameters>
    <TerminalTypeModelParameterDto>
      <Id>06d9f5ef-8cda-4968-b3d7-615c9c9de171</Id>
      <Key>sample string 2</Key>
      <Order>64</Order>
    </TerminalTypeModelParameterDto>
    <TerminalTypeModelParameterDto>
      <Id>06d9f5ef-8cda-4968-b3d7-615c9c9de171</Id>
      <Key>sample string 2</Key>
      <Order>64</Order>
    </TerminalTypeModelParameterDto>
  </Parameters>
  <TerminalTypeName>sample string 3</TerminalTypeName>
</TerminalTypeModelDto>