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": "c771de2d-bcc4-4e54-b7f5-7efd2eb8c31e",
"IdTerminalType": "ae567590-a539-4481-879e-63f7de4a85e8",
"TerminalTypeName": "sample string 3",
"Name": "sample string 4",
"Parameters": [
{
"Id": "5d231683-0308-4f44-8507-ac6ddf1cca63",
"Key": "sample string 2",
"Order": 64
},
{
"Id": "5d231683-0308-4f44-8507-ac6ddf1cca63",
"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>c771de2d-bcc4-4e54-b7f5-7efd2eb8c31e</Id>
<IdTerminalType>ae567590-a539-4481-879e-63f7de4a85e8</IdTerminalType>
<Name>sample string 4</Name>
<Parameters>
<TerminalTypeModelParameterDto>
<Id>5d231683-0308-4f44-8507-ac6ddf1cca63</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
<TerminalTypeModelParameterDto>
<Id>5d231683-0308-4f44-8507-ac6ddf1cca63</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": "8b93da91-fe88-4cf4-90f7-7e075cc0ec2e",
"IdTerminalType": "d5e89970-517e-4c90-ab88-eba48c639118",
"TerminalTypeName": "sample string 3",
"Name": "sample string 4",
"Parameters": [
{
"Id": "75ae4b3b-c917-45c8-a87b-24ee67d78240",
"Key": "sample string 2",
"Order": 64
},
{
"Id": "75ae4b3b-c917-45c8-a87b-24ee67d78240",
"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>8b93da91-fe88-4cf4-90f7-7e075cc0ec2e</Id>
<IdTerminalType>d5e89970-517e-4c90-ab88-eba48c639118</IdTerminalType>
<Name>sample string 4</Name>
<Parameters>
<TerminalTypeModelParameterDto>
<Id>75ae4b3b-c917-45c8-a87b-24ee67d78240</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
<TerminalTypeModelParameterDto>
<Id>75ae4b3b-c917-45c8-a87b-24ee67d78240</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
</Parameters>
<TerminalTypeName>sample string 3</TerminalTypeName>
</TerminalTypeModelDto>