POST /protocols/ips-luminaire/led-code
FROM API REVISION 6.0
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
There are multiple possible values according the resource:
If this parameter is not present during the request, and error 415 Unsupported Media Type will be thrown.
The Content-Length entity-header field indicates the size of the entity-body.
Object Name: LedCode
Property Name | Type | Description | Method |
---|---|---|---|
Command | String | There is multiple choices for this property :
|
POST |
GroupID | Integer | This is the group ID. Max Value: 255 Min Value: 0 Default Value: 0 |
POST |
Timeout | Integer | This is the timeout value. The value is in second. Max Value: 30 Min Value: 1 Default Value: 1 |
POST |
URL Example: https://0.0.0.0/api/rest/v1/protocols/ips-luminaire/led-code
{
"command": "LinearDimming",
"groupID": 50,
"timeout": 10
}
URL Example: https://0.0.0.0/api/rest/v1/protocols/ips-luminaire/led-code
<?xml version="1.0" encoding="utf-8"?>
<LedCode>
<Command>LinearDimming</Command>
<GroupID>50</GroupID>
<Timeout>10</Timeout>
</LedCode>