POST v2/api/gettoken

Request Information

URI Parameters

None.

Body Parameters

TokenViewModel
NameDescriptionTypeAdditional information
Username

string

None.

AccessKey

string

None.

MacAddress

string

None.

FirstTime

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "AccessKey": "sample string 2",
  "MacAddress": "sample string 3",
  "FirstTime": true
}

application/xml, text/xml

Sample:
<TokenViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Neocontrol.API.ViewModels">
  <AccessKey>sample string 2</AccessKey>
  <FirstTime>true</FirstTime>
  <MacAddress>sample string 3</MacAddress>
  <Username>sample string 1</Username>
</TokenViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.