Create Export Customer Job¶
https://{cluster-id}.api.esales.apptus.cloud/api/v2/event-data/create-export-customer-job
POST¶
Deprecated
This endpoint is part of an API that has been deprecated and its end of life is 2024-04-20. All endpoints in this API version, including this, will be removed. Please upgrade to the latest version before 2024-04-20.
All API changes can be found here:
This endpoint will be replaced by create-export-customer-job.
More information regarding the API versioning strategy can be found here.
The export customer data job must be performed before any customer data can be downloaded. It is recommended to perform an export and download before any customer data is removed. Export and removal can run concurrently but it is recommended to start the export first. More GDPR information is available here.
Request¶
Header parameters¶
Name | Description | Example |
---|---|---|
Api-Key Required | Api-key that was supplied during on-boarding | pkA123456789AB1BE.. |
Query parameters¶
Name | Description | Example |
---|---|---|
customerKey Required | The customerKey to export data for. | e3921377-18a2-47c9-a449-06b894898623 |
curl -i \
-X POST \
-H 'Api-Key: pkA123456789AB1BE..' \
"https://{cluster-id}.api.esales.apptus.cloud/api/v2/event-data/create-export-customer-job?customerKey=e3921377-18a2-47c9-a449-06b894898623"
Response¶
Response codes¶
Status | Description |
---|---|
403 | Incorrect cluster credentials. |
400 | Invalid or missing required arguments. |
200 | Request accepted, export job created |
Response body¶
Example
{
"jid" : "962d41f3-1a53-4bb8-bd01-3b85310fb45f",
"status" : "created"
}
Schema
EventDataJobResult¶
The object representation of create or checking the status of a event data job.
Name | Type | Description | Example |
---|---|---|---|
jid | string | The identifier of the event data job. | 962d41f3-1a53-4bb8-bd01-3b85310fb45f |
status | string | The current status of the job Supported values: not_found , created , waiting , running , done , error . | created |