POST api/v1/videoConfig/{MAC}/WLLEDControl/newstate/{newState}

The WLLED_Control Web PopulateResults is used to control the state of the white-light LEDs for the given camera.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
MAC

MAC Address (unique identifier) for the camera in question.

string

Required

newState

0 for OFF or 1 for ON

integer

Required

Body Parameters

None.

Response Information

Resource Description

BaseResults object: ResultCode: Numerical indication of success/failure. 0=Success, Failure otherwise ResultData: Textual information, additional to the ResultCode as necessary.

BaseResults
NameDescriptionTypeAdditional information
ResultCode

integer

None.

ResultData

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<BaseResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">
  <ResultCode>1</ResultCode>
  <ResultData>sample string 2</ResultData>
</BaseResults>