Daily Report
Returns a slit of meta data information used for Daily Report configuration.
Resource URL
http://{host}/api/2.0/reports/meta/.format
Example Request
GET
Returns a list of all Reports configuration data.
Resource URL
http://{host}/api/2.0/reports/.format
Example Request
GET
Returns a single specific Report configuration data.
Resource URL
http://{host}/api/2.0/reports/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired Daily Report to be viewed. |
Example Request
GET
Adds a new Daily Report.
Resource URL
http://{host}/api/2.0/reports/.format
Example Request
POST
Updates a single specific Report.
Resource URL
http://{host}/api/2.0/reports/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired Daily Report to be updated. |
Example Request
PUT
DELETE reports/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Deletes a single specific Report configuration.
Resource URL
http://{host}/api/2.0/reports/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired Daily Report to be deleted. |
Example Request
DELETE
GET reports/command/sendReport/{report_id}/{device_id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Sends the specified report immediately, disregarded the configured Time.
Resource URL
http://{host}/api/2.0/reports/command/sendReport/{report_id}/{device_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
report_id | integer | The ID of the desired report configuration to be used to send the report. |
device_id | integer | The ID of the desired device the report will be sent from. If left blank, the report will be sent from local device. |
Example Request
GET