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": "70a77e4b-12e5-4ec1-b16d-a1cac8800e0f",
"IdTerminalType": "2b915a98-b3ce-471a-99e4-55da03ac7782",
"TerminalTypeName": "sample string 3",
"Name": "sample string 4",
"Parameters": [
{
"Id": "0e16a723-b981-4b5e-a5ff-bf7810ee3970",
"Key": "sample string 2",
"Order": 64
},
{
"Id": "0e16a723-b981-4b5e-a5ff-bf7810ee3970",
"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>70a77e4b-12e5-4ec1-b16d-a1cac8800e0f</Id>
<IdTerminalType>2b915a98-b3ce-471a-99e4-55da03ac7782</IdTerminalType>
<Name>sample string 4</Name>
<Parameters>
<TerminalTypeModelParameterDto>
<Id>0e16a723-b981-4b5e-a5ff-bf7810ee3970</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
<TerminalTypeModelParameterDto>
<Id>0e16a723-b981-4b5e-a5ff-bf7810ee3970</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": "a78a1df7-0ee8-40f2-b096-e10525c9f106",
"IdTerminalType": "8496d84f-d257-4352-895b-40204af3cfcc",
"TerminalTypeName": "sample string 3",
"Name": "sample string 4",
"Parameters": [
{
"Id": "fc60aea3-ea17-4e24-980a-a66b32415198",
"Key": "sample string 2",
"Order": 64
},
{
"Id": "fc60aea3-ea17-4e24-980a-a66b32415198",
"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>a78a1df7-0ee8-40f2-b096-e10525c9f106</Id>
<IdTerminalType>8496d84f-d257-4352-895b-40204af3cfcc</IdTerminalType>
<Name>sample string 4</Name>
<Parameters>
<TerminalTypeModelParameterDto>
<Id>fc60aea3-ea17-4e24-980a-a66b32415198</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
<TerminalTypeModelParameterDto>
<Id>fc60aea3-ea17-4e24-980a-a66b32415198</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
</Parameters>
<TerminalTypeName>sample string 3</TerminalTypeName>
</TerminalTypeModelDto>