Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Returns a list of all Reports configuration data.
Resource URL
http://{host}/api/2.0/reports/.format
Example Request
GET
jsonExpand | |||||
---|---|---|---|---|---|
| |||||
|
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Adds a new Daily Report.
Resource URL
http://{host}/api/2.0/reports/.format
Example Request
POST
Expand | |
---|---|
|
| |||||
|
Expand | |
---|---|
|
| |||||
|
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
Expand | |
---|---|
|
| |||||
|
Expand | |
---|---|
|
| |||||
|
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|