POST TerminalsTypesModels
Creates a new terminal type model.
Request Information
URI Parameters
None.
Body Parameters
The data of the terminal type model.
TerminalTypeModelDtoName | 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": "e40730b6-3812-439c-88b4-73d47e2366b7", "IdTerminalType": "e5ef5921-f7ab-4f8f-9931-9ae457e1da48", "TerminalTypeName": "sample string 3", "Name": "sample string 4", "Parameters": [ { "Id": "d3d06408-f9ab-4b1d-851c-a03789afbc8e", "Key": "sample string 2", "Order": 64 }, { "Id": "d3d06408-f9ab-4b1d-851c-a03789afbc8e", "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>e40730b6-3812-439c-88b4-73d47e2366b7</Id> <IdTerminalType>e5ef5921-f7ab-4f8f-9931-9ae457e1da48</IdTerminalType> <Name>sample string 4</Name> <Parameters> <TerminalTypeModelParameterDto> <Id>d3d06408-f9ab-4b1d-851c-a03789afbc8e</Id> <Key>sample string 2</Key> <Order>64</Order> </TerminalTypeModelParameterDto> <TerminalTypeModelParameterDto> <Id>d3d06408-f9ab-4b1d-851c-a03789afbc8e</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.
TerminalTypeModelDtoName | 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": "421e46fc-7a7c-411d-99f4-34d2670ca9ac", "IdTerminalType": "4ee3a811-ad7a-479e-9ea1-ed9c86dcf2e9", "TerminalTypeName": "sample string 3", "Name": "sample string 4", "Parameters": [ { "Id": "0e7696ba-f896-4e95-b910-4dfa57413b2b", "Key": "sample string 2", "Order": 64 }, { "Id": "0e7696ba-f896-4e95-b910-4dfa57413b2b", "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>421e46fc-7a7c-411d-99f4-34d2670ca9ac</Id> <IdTerminalType>4ee3a811-ad7a-479e-9ea1-ed9c86dcf2e9</IdTerminalType> <Name>sample string 4</Name> <Parameters> <TerminalTypeModelParameterDto> <Id>0e7696ba-f896-4e95-b910-4dfa57413b2b</Id> <Key>sample string 2</Key> <Order>64</Order> </TerminalTypeModelParameterDto> <TerminalTypeModelParameterDto> <Id>0e7696ba-f896-4e95-b910-4dfa57413b2b</Id> <Key>sample string 2</Key> <Order>64</Order> </TerminalTypeModelParameterDto> </Parameters> <TerminalTypeName>sample string 3</TerminalTypeName> </TerminalTypeModelDto>