POST api/RoomControl/pairDevice?pairingCode={pairingCode}

<strong>post/pairDevice</strong> <br /> The pair method is used to start pairing a device with the room

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pairingCode

The 4 digits pairing code of the room to pair with encrypted using RSA algorithm and encoded in Hex.

string

Required

Body Parameters

None.

Response Information

Resource Description

A JSON object to handle the success or error of the operation, on the success of the operation the JSON object will be "OK" string. <br /> If there is an error in the process, the JSON will contain the error.

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.