Download Customer Data¶
GDPR compliance feature
The download customer data job is part of Apptus solutions for enabling GDPR compliance concerning data managed by Apptus eSales Lifestyle.
The download customer data job can only be performed on an export job with the job status done
. 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.
A jid
argument is supplied to return the export job as a binary data stream in zip
format. The contents of the zip
-file is one or more text files of the JSON Lines format. The format of the zip
-file content may change without notice.
Exported data will be available for download for approximately a week from the time the customer data job status returns done
. The export job will be removed once the download is completed.
Request¶
Request method¶
GET
Request URL¶
https://{cluster-id}.api.esales.apptus.cloud/api/v2/event-data/export-customer-job-result?jid={jid}
Request parameters¶
Name | Type | Description | Example |
---|---|---|---|
jid | string | Unique id generated for an export or removal job. | ca24b4e...247837a |
Request header¶
When executing queries with the GDPR API, an Api-Key
header is required for authentication.
Request body¶
Not applicable
Request content-type¶
Not applicable
Response¶
A response returns a binary stream of a zip
-file.
Response content-type¶
application/zip
Examples¶
Request¶
cURL¶
#!/bin/bash
curl -i \
-X GET \
-H "Api-Key: {PRIVATE-KEY}"
"https://{cluster-id}.api.esales.apptus.cloud/api/v2/event-data/export-customer-job-result?jid=ca24b4e2-34ab-406a-a4db-b30b0247837a"
Response¶
A binary stream of a zip
-file containing requested data.