POST registerServer

Request Information

URI Parameters

None.

Body Parameters

RegisterServerForCreationDto
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RegisterServerForCreationDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.