Get the status of An Export Data Job
To get the status of an export data job, include the id as a query parameter in the request. You can view the schema and an example in the sections below or find full documentation under API Reference in the sidebar.
Request Example
GET /tp-api/exports?id=your-job-id-here HTTP/1.1
Host: yourdomain.com
Response Structure
The api response includes two main objects:
job:
- id: The unique ID of the export request (Base64-encoded).
- status: The current status of the job, which can be
"COMPLETED"
,"PENDING"
, or"FAILED"
. - downloadUrl: The URL to download the exported data (if available).
- downloadExpiresAt: The expiry time of the file (in ISO 8601 format).
errors:
- key: A key identifying the error (if any).
- message: A detailed error message.
Response Example
- Example
{
"job": {
"id": "WyJkYXRhLWV4cG9ydHx0ZW5hbnRLZXk6ZHJlYW1idWlsZGVyfHR5cGU6bGVhcm5pbmdfYWN0aXZpdGllc3xmb3JtYXQ6anNvbmx8c3RhcnQ6MjAxMi0wOS0wNVQxMToxMjo0Ny4wMDBafGVuZDoyMDE1LTA1LTI4VDE3OjM5OjIzLjAwMFoiLCJiYjNiNzIyOS0xYTJhLTQzYzgtYmM4Mi01MTc4MjIzMGI4NDYiXQ==",
"status": "COMPLETED",
"exportData": {
"downloadUrl": "https://www.example.com",
"downloadExpiresAt": "2024-09-26T16:49:35.471Z"
},
},
"errors": []
}
Sample of CSV file when exportType = "ELEARNING_ENROLLMENTS"
User ID | Registration Date | Program Completion Date | Product ID | Program Name |
---|
Sample of CSV file when exportType = "LEARNING_ACTIVITIES"
User ID | Product ID | Program Name | Learning Activity ID | Learning Activity Name | Learning Activity Date | Timespent | Status | Score |
---|
Sample of CSV file when exportType = "USERS"
User ID | Firstname | Middlename | Lastname | Network ID | Network Name | Grouping | Account Creation Date | Account Confirmed Date | Confirmed Status | Locale | Day Of Birth | Month Of Birth | Street Address | City | Region | Postalcode | Country Code | Gender | Library | Id- Number | Phone | Department |
---|
Sample of CSV file when exportType = "NETWORKS"
Network ID | Network | Grouping |
---|
This guide explains how to get the status of an export data job. Use the returned id to track the export job, and check the status field to monitor its progress. If the status is COMPLETED then use the downloadUrl in the response to download the csv/json file. For more details, consult the full API documentation.