Get last completed report

Get data of the last completed report of specified devices. Response data is also provided with a link to a downloadable JSON file.

Resource Name: /api/v1/report/findLastCompletedReport

Request Method: POST

Request URL Parameters:

Element

Type

Description

devices Mandatory

string

List of device tree names, comma separated (,). To get a device tree name, use GET /devices method from the device-setup-controller.

Response:

Status codes:

Code

Description

200

OK (with download link)

401

Unauthorized

500 Undocumented

Request Curl example

curl -X POST "https://localhost/afa/api/v1/report/findLastCompletedReport" -H "accept: */*" -H "Content-Type: application/json" -d "[ \"Anemone_Merak\"]"

Response example for 200

 Download