POST api/v1/locations/{locationId}/ChamberlainAccessToken

Generate access token for chamberlain garage door

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationId

integer

Required

Body Parameters

Object

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WiFiAuthTokenResponse
NameDescriptionTypeAdditional information
ResultCode

integer

None.

ResultData

string

None.

PResultCode

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "ResultData": "sample string 2",
  "PResultCode": true
}

application/xml, text/xml

Sample:
<WiFiAuthTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2Domain.Automation">
  <PResultCode>true</PResultCode>
  <ResultCode>1</ResultCode>
  <ResultData>sample string 2</ResultData>
</WiFiAuthTokenResponse>