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": "c434f5b8-fefb-43a1-adf4-8483f16e99c3",
"IdTerminalType": "745ad1a7-3f83-45dd-ad4d-2726609d8fb8",
"TerminalTypeName": "sample string 3",
"Name": "sample string 4",
"Parameters": [
{
"Id": "52f4e98b-d2a3-4d5e-99ca-b7d3d5d781a8",
"Key": "sample string 2",
"Order": 64
},
{
"Id": "52f4e98b-d2a3-4d5e-99ca-b7d3d5d781a8",
"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>c434f5b8-fefb-43a1-adf4-8483f16e99c3</Id>
<IdTerminalType>745ad1a7-3f83-45dd-ad4d-2726609d8fb8</IdTerminalType>
<Name>sample string 4</Name>
<Parameters>
<TerminalTypeModelParameterDto>
<Id>52f4e98b-d2a3-4d5e-99ca-b7d3d5d781a8</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
<TerminalTypeModelParameterDto>
<Id>52f4e98b-d2a3-4d5e-99ca-b7d3d5d781a8</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": "bf4a486b-789e-49e4-88ee-07268ac867f4",
"IdTerminalType": "2661d8aa-9d48-432e-948a-794f511b9aad",
"TerminalTypeName": "sample string 3",
"Name": "sample string 4",
"Parameters": [
{
"Id": "6af6f36c-14e2-4085-b4e8-127594fcad24",
"Key": "sample string 2",
"Order": 64
},
{
"Id": "6af6f36c-14e2-4085-b4e8-127594fcad24",
"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>bf4a486b-789e-49e4-88ee-07268ac867f4</Id>
<IdTerminalType>2661d8aa-9d48-432e-948a-794f511b9aad</IdTerminalType>
<Name>sample string 4</Name>
<Parameters>
<TerminalTypeModelParameterDto>
<Id>6af6f36c-14e2-4085-b4e8-127594fcad24</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
<TerminalTypeModelParameterDto>
<Id>6af6f36c-14e2-4085-b4e8-127594fcad24</Id>
<Key>sample string 2</Key>
<Order>64</Order>
</TerminalTypeModelParameterDto>
</Parameters>
<TerminalTypeName>sample string 3</TerminalTypeName>
</TerminalTypeModelDto>