This object allows you to manage scheduled exports of classic Insights reports from Kantata OX. An export of a classic Insights report that is scheduled to recur is called a scheduled job. You can create, update, and delete scheduled jobs. You can also view details of all the exports for a scheduled job, view the details of each export individually, and download the most recently exported report.
To use these endpoints, you need to be an account administrator.
Returns a list of scheduled exports of classic Insights reports.
A list of objects have been retrieved.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
[- {
- "id": 0,
- "title": "string",
- "description": "string",
- "external_report_object_identifier": "string",
- "recurrence": {
- "cadence": "string",
- "start_time": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "latest_success": {
- "url": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
}
]
Create a new scheduled job. Set a schedule for a classic Insights report to be exported from Kantata OX to download later. You will need to write a script to download the report.
object has been created.
id | integer <int32> The ID of a scheduled report export. |
title | string The name of a scheduled report export. |
description | string The description of a scheduled report export, if provided. |
external_report_object_identifier | string The unique identifier of the report you want to export on a schedule. Each report has one. |
object The schedule for when you would like the report export to repeat, defined by the | |
created_at | string <date-time> The timestamp for when an export of a report was completed. |
object Download the most recent successfully exported report. |
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "insights_report_export": {
- "title": "string",
- "description": "string",
- "external_report_object_identifier": "string",
- "recurrence": {
- "cadence": "string",
- "start_time": "2019-08-24T14:15:22Z"
}
}
}
{- "id": 0,
- "title": "string",
- "description": "string",
- "external_report_object_identifier": "string",
- "recurrence": {
- "cadence": "string",
- "start_time": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "latest_success": {
- "url": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
}
Returns details for a single scheduled export of a classic Insights report.
The object has been retrieved.
id | integer <int32> The ID of a scheduled report export. |
title | string The name of a scheduled report export. |
description | string The description of a scheduled report export, if provided. |
external_report_object_identifier | string The unique identifier of the report you want to export on a schedule. Each report has one. |
object The schedule for when you would like the report export to repeat, defined by the | |
created_at | string <date-time> The timestamp for when an export of a report was completed. |
object Download the most recent successfully exported report. |
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "id": 0,
- "title": "string",
- "description": "string",
- "external_report_object_identifier": "string",
- "recurrence": {
- "cadence": "string",
- "start_time": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "latest_success": {
- "url": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
}
Make changes to an existing scheduled job.
object | |||||||||
|
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "insights_report_export": {
- "title": "string",
- "description": "string",
- "external_report_object_identifier": "string",
- "recurrence": {
- "cadence": "string",
- "start_time": "2019-08-24T14:15:22Z"
}
}
}
{- "errors": [
- {
- "type": "string",
- "message": "string"
}
]
}
The response will contain no content and an HTTP 204 status code if the request was successful, or a standard Kantata OX error message explaining why the object could not be deleted.
object has been deleted.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "errors": [
- {
- "type": "string",
- "message": "string"
}
]
}
Returns the most recent classic Insights report that has been successfully and completely exported by a scheduled job. The response contains a URL to download the report, as well as a timestamp for when the data in the report was last updated, so you may determine if the report reflects current data.
In order to keep exported data secure, the URL returned in the response expires in 60 seconds. The URL expiration period is subject to change. If you do not initiate a download of the report before the link expires, you can send a new request to generate a new URL.
Exporting a report can take from seconds to 20 minutes, depending on the report size. Because export time varies, please send requests until the latest data is returned. If there are no previously exported reports yet, the response code and message will indicate this.
Because exported reports can be up to 10 GB, reports are downloaded in a compressed format (.gz) and must be decompressed in order to access the CSV file.
A list of objects have been retrieved.
object Download the most recent successfully exported report. | |||||
|
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "latest_success": {
- "url": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
}