GetExportDataJob
GET /tp-api/exports
Retrieve the status and download url of a specific export data job.
Query Parameters
- id string required
Job ID
Responses
- 200
- 400
Default Response
- application/json
- Schema
- Example (from schema)
Schema
job object required
id string requiredJob ID.
status string requiredPossible values: [
PENDING
,COMPLETED
,FAILED
]Job Status
exportData object required
downloadUrl object required
- anyOf
- MOD1
stringUrl for downloading the file.
downloadExpiresAt object required
- anyOf
- MOD1
stringExpiry time for the file in UTC.
errors object[] required
Array [key stringmessage string required]
{
"job": {
"id": "string",
"status": "PENDING"
},
"exportData": {
"downloadUrl": "string",
"downloadExpiresAt": "string"
},
"errors": [
{
"key": "string",
"message": "string"
}
]
}
Default Response
- application/json
- Schema
- Example (from schema)
Schema
- anyOf
- MOD1
- MOD2
statusCode number requiredcode stringError code
error string requiredError key
message string requiredError message
error object required
key string requiredError key
message string requiredError message
{
"statusCode": 0,
"code": "string",
"error": "string",
"message": "string"
}
Loading...