POST registerServer
Request Information
URI Parameters
None.
Body Parameters
RegisterServerForCreationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| apiKey | string |
None. |
|
| code | string |
None. |
|
| description | string |
None. |
|
| applicationType | string |
None. |
|
| uniqueHardwareId | string |
None. |
|
| port | integer |
None. |
|
| sslEnabled | boolean |
None. |
|
| terminal | Object |
None. |
|
| city | Object |
None. |
|
| apps | Object |
None. |
|
| companies | Object |
None. |
|
| availableRoutes | Object |
None. |
Request Formats
application/json, text/json
Sample:
{
"apiKey": "sample string 1",
"code": "sample string 2",
"description": "sample string 3",
"applicationType": "sample string 4",
"uniqueHardwareId": "sample string 5",
"port": 1,
"sslEnabled": true,
"terminal": {},
"city": {},
"apps": {},
"companies": {},
"availableRoutes": {}
}
application/xml, text/xml
Sample:
<RegisterServerForCreationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControllerLibrary"> <apiKey>sample string 1</apiKey> <applicationType>sample string 4</applicationType> <apps /> <availableRoutes /> <city /> <code>sample string 2</code> <companies /> <description>sample string 3</description> <port>1</port> <sslEnabled>true</sslEnabled> <terminal /> <uniqueHardwareId>sample string 5</uniqueHardwareId> </RegisterServerForCreationDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.