Enables the retrieval of a report metadata for the given report ID. The results include data about the report (creation date, constants year), URLs for the PDF and report model, and the current status of the report (error, generating, available).
Dates will be provided in ISO 8601 format. For example, 2012-02-13T01:34:52Z will be
used instead of February 2, 2012 1:34:52a UTC. This can be parsed in Java using the SimpleDateFormat and this pattern
"yyyy-MM-dd'T'HH:mm:ss'Z".
new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z").format(new Date());
https://api.ideasystem.org/v1/report/reportID
/v1/report/1234
The response to this will be an HTTP 200 status along with a JSON body. If a report cannot be found with the given report_id
an HTTP 404 (Not Found)
will be returned. The JSON body is a single report meta-data object that includes status information as well as URLs for the PDF and model.
"id": 123
"status": "available"
"status_message": "The report has not been generated. Please try again later."
status
is error or not ready this will be very useful for users.
"available_after": "2012-04-05T05:00:00Z"
status
is not ready. Otherwise, this can be ignored.
"pdf_url": "https://api.ideasystem.org/v1/report/456/pdf"
"model_url": "https://api.ideasystem.org/v1/report/456/model"
"type": "Diagnostic"
"survey_id": 1234
"survey_group_id": 2345
"creation_date": "2012-04-05T05:00:00Z"
This request will get the report data for a report with ID 456.
GET /v1/report/456
HTTP 200 { "id": 456, "status": "available", "status_message": "", "available_after": "", "pdf_url": "https://api.ideasystem.org/v1/report/456/pdf", "model_url": "https://api.ideasystem.org/v1/report/456/model", "type": "Diagnostic", "survey_id": 123, "survey_group_id": 1234, "creation_date": "2012-04-05T05:00:00Z" }