Reports
Create report
An Akahu Apply report provides an aggregate, enriched view of the data from the application's resources.
The output of a report can be downloaded as an HTML or PDF document for human consumption, or as JSON data for further processing.
Report processing is asynchronous, so you must poll the GET /v1/applications/{applicationId}/reports/{reportId} endpoint until it reaches a final status. The output of a report can only be accessed once it has been assigned a status of completed. For PDF downloads, pdf_status must also be completed.
post/v1/applications/{applicationId}/reports
Request
- Base URLhttps://api.apply.akahu.nz
- URLhttps://api.apply.akahu.nz/v1/applications/{applicationId}/reports
- AuthHTTP bearer
Path parameters
applicationIdstring required
Example:application_tz4a98xxat96iws9zmbrgj3a
Request body
Example request
{
"_documents": [
"doc_tz4a98xxat96iws9zmbrgj3a"
]
}Response
Success
Example response
{
"_id": "report_tz4a98xxat96iws9zmbrgj3a",
"resources": [
{
"_id": "doc_tz4a98xxat96iws9zmbrgj3a"
}
],
"spending_categories": [
{
"code": "spending:000/useful-name-here"
}
],
"income_categories": [
{
"code": "income:000/useful-name-here"
}
],
"insights": [
"insight:000/useful-name-here"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.