GET /protocols/ips-luminaire/command-history
FROM API REVISION 5.0
Example of use :
/protocols/ips-luminaire/command-history?$expand=*\u0026iso8601=true\u0026from=1970-01-01T00:00:00Z\u0026to=2017-12-19T21:04:36Z\u0026$orderby=desc\u0026count=50
This list is possible to download in CSV format too.
You have to specify one of this two:
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.
Type: Boolean
Used to returned dates in iso8601 format.
if not specified default value is 1970-01-01T00:00:00Z
The value have to be in ISO8601 format.
if not specified default value is current date
The value have to be in ISO8601 format
Type:Integer
If not specified default value is 5000
Object Name: CommandHistory
Property Name | Type | Description | Method |
---|---|---|---|
CommandHistory | Array<Command> | GET |
URL Example: https://0.0.0.0/api/rest/v1/protocols/ips-luminaire/command-history
[
{
"href": "/api/rest/v1/protocols/ips-luminaire/command-history/1742854",
"name": "1742854"
},
{
"href": "/api/rest/v1/protocols/ips-luminaire/command-history/1742853",
"name": "1742853"
},
{
"href": "/api/rest/v1/protocols/ips-luminaire/command-history/1742852",
"name": "1742852"
},
{
"href": "/api/rest/v1/protocols/ips-luminaire/command-history/1742851",
"name": "1742851"
}
]
URL Example: https://0.0.0.0/api/rest/v1/protocols/ips-luminaire/command-history
<?xml version="1.0" encoding="utf-8"?>
<CommandHistory>
<Command>
<Href>/api/rest/v1/protocols/ips-luminaire/command-history/1742854</Href>
<Name>1742854</Name>
</Command>
<Command>
<Href>/api/rest/v1/protocols/ips-luminaire/command-history/1742853</Href>
<Name>1742853</Name>
</Command>
<Command>
<Href>/api/rest/v1/protocols/ips-luminaire/command-history/1742852</Href>
<Name>1742852</Name>
</Command>
<Command>
<Href>/api/rest/v1/protocols/ips-luminaire/command-history/1742851</Href>
<Name>1742851</Name>
</Command>
</CommandHistory>