Report - Export
/report/{report_id}/export?inf_token=12345&format=pdf|doc
Retrieves/Modifies a specific report, if no id is given updates the first report found for this user (currently users are only suppose to have 1 report so not sending an id is fine)
Possible Methods
GET
Arguments
report_id(optional)
Report to modify
inf_token (optional)
cookie to use for authentication if need be (for gui use if they can't send the link internally)
format (optional)
output format for the report export, either doc or pdf (defaults to pdf)
Json Object
n/a
Example
curl -b cookies.txt -X GET "http://localhost:8185/report/5331abfdb8e06221ba4a3b8a/export?inf_token=123456&format=pdf" > response.txt
Â
Example Response
curl -b cookies.txt -X GET "http://localhost:8185/report/5331abfdb8e06221ba4a3b8a/export?inf_token=123456&format=pdf" > response.txt
Returns a mediatype=application/pdf file which browsers typically handle