POST TerminalsTypesModels
Creates a new terminal type model.
Request Information
URI Parameters
None.
Body Parameters
The data of the terminal type model.
TerminalTypeModelDto| Name | Description | Type | Additional 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": "9f2b751b-b6dd-4d53-866d-05b8c320ef09",
"IdTerminalType": "04a873a8-c9b3-48d1-8c94-7e67d99a68e3",
"TerminalTypeName": "sample string 3",
"Name": "sample string 4",
"Parameters": [
{
"Id": "589e6944-be94-49d2-bc3a-94c5e9294ae1",
"Key": "sample string 2",
"Order": 64
},
{
"Id": "589e6944-be94-49d2-bc3a-94c5e9294ae1",
"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>9f2b751b-b6dd-4d53-866d-05b8c320ef09</Id>
<IdTerminalType>04a873a8-c9b3-48d1-8c94-7e67d99a68e3</IdTerminalType>
<Name>sample string 4</Name>
<Parameters>
<TerminalTypeModelParameterDto>
<Id>589e6944-be94-49d2-bc3a-94c5e9294ae1</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
<TerminalTypeModelParameterDto>
<Id>589e6944-be94-49d2-bc3a-94c5e9294ae1</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| Name | Description | Type | Additional 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": "2a36c6cf-ac1d-4217-8296-647c5231540c",
"IdTerminalType": "6b5ac3ea-bcf7-43d3-9a79-7eab0387d17a",
"TerminalTypeName": "sample string 3",
"Name": "sample string 4",
"Parameters": [
{
"Id": "670b5789-4cdb-4918-b529-45b1e2e81a0c",
"Key": "sample string 2",
"Order": 64
},
{
"Id": "670b5789-4cdb-4918-b529-45b1e2e81a0c",
"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>2a36c6cf-ac1d-4217-8296-647c5231540c</Id>
<IdTerminalType>6b5ac3ea-bcf7-43d3-9a79-7eab0387d17a</IdTerminalType>
<Name>sample string 4</Name>
<Parameters>
<TerminalTypeModelParameterDto>
<Id>670b5789-4cdb-4918-b529-45b1e2e81a0c</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
<TerminalTypeModelParameterDto>
<Id>670b5789-4cdb-4918-b529-45b1e2e81a0c</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
</Parameters>
<TerminalTypeName>sample string 3</TerminalTypeName>
</TerminalTypeModelDto>