POST api2/authorize.json

Authorize a new customer device

Request Information

URI Parameters

None.

Body Parameters

API.Models.AuthorizeDevice
NameDescriptionTypeAdditional information
deviceName

string

Required

deviceDescription

string

None.

clientInfo

string

Required

oldClientInfo

string

None.

incognito

boolean

None.

Request Formats

{
  "deviceName": "sample string 1",
  "deviceDescription": "sample string 2",
  "clientInfo": "sample string 3",
  "oldClientInfo": "sample string 4",
  "incognito": true
}

Response Information

Resource Description

API.Models.AuthorizeResult
NameDescriptionTypeAdditional information
status

Enums.DeviceAuthorizeStatus

None.

deviceID

integer

None.

machineLicense

string

None.

error

string

None.

Response Formats

{
  "status": "asAuthorized",
  "deviceID": 1,
  "machineLicense": "sample string 2",
  "error": "sample string 3"
}