Queue an export of the item revenues report
Queues a CSV export of the item revenues report to be generated asynchronously.
Query parameters
Restrict to items at the given site.
Restrict to items belonging to baskets with a revenue date on or after this date.
Restrict to items belonging to baskets with a revenue date on or before this date.
Restrict to items dated on or after this date.
Restrict to items dated on or before this date.
Restrict to items belonging to baskets submitted on or after this time.
Restrict to items belonging to baskets submitted on or before this time.
Filter to items of a particular offering type. Pass all to include every type (the default when filters omit this).
A comma-separated list of offering IDs to filter on.
A comma-separated list of revenue centre keys or IDs to filter on.
If true, email the completed CSV to the authenticated user when the background job finishes. Defaults to false, in which case the queued job's output URL must be polled via the queued-jobs endpoint.
Response
The job was successfully queued
Example response
{
"data": {
"created_at": "2023-11-07T00:00:00+00:00",
"updated_at": "2023-11-07T01:00:00+00:00"
}
}