Create Ad Hoc Result From Automated Report
This request creates an ad hoc result from the given automated report.
Starting from version 8.4, this endpoint is deprecated and will be removed in the future.
Use instead: POST /reports/<OID>/execute
See the Change Log of version 8u4 for more information.
Resource
POST /reports/<OID>/ad_hoc
Where OID
is the object ID of the automated report.
Parameters
Name | Type | Description |
---|---|---|
|
[Date] utc |
Start date of the report |
|
[Date] utc |
End date of the report |
Payload
None
Response
Object Response < Attachment >
The attachment result.
Use the attachment API calls to get the attachment contents.
Context
Authorization |
User |
Errors
Example
Request
POST https://xelion.nl/api/v1/master/reports/1689292/ad_hoc
Response
{
"object": {
"originalLocation": "status 2022-12-01 - 2023-01-31.pdf",
"mimeType": "application/pdf",
"hasThumbnail": false,
"size": 0,
"commonName": "status 2022-12-01 - 2023-01-31.pdf",
"oid": "2052539",
"objectType": "Attachment"
}
}