/datasets/profile/{datasetId}/batch/{batchId}
Download a list of profile variables and records of members with profile variables.
Prerequisite
Steps
Retrieve member data from your download link by following these steps:
-
Make a GET call to obtain the download link:
https://api.{region}.alida.com/v2/applications/{communityApiKeyName}/datasets/profile/{datasetId}/batch/{batchId}
-
Make a GET call to retrieve member data from the download link in the
data
field:https://api.{region}.alida.com/v2/applications/{communityApiKeyName}/datasets/profile/{datasetId}/files/{fileId}
- In the
Locations header, use the link to download the
export file. Skip this step if the download link is automatically redirected to
download the export file.
Note: Streaming is a recommended method to extract large quantities of data without affecting memory or performance. Use any HTTP client capable of streaming and is compatible with the language you are using.
Resource URL
/v2/applications/{communityApiKeyName}/datasets/profile/{datasetId}/batch/{batchId}
/v2/applications/{communityApiKeyName}/datasets/profile/{datasetId}/files/{fileId}
Use the appropriate regional endpoint to ensure that you comply with your organization's privacy policy, and applicable laws and regulations. For details about the available regional endpoints, and how to identify your organization's region, see API Access.
Available methods
Method | Description |
---|---|
1. GET | Get the status and download link of the batch member profile dataset export. |
2. GET | Get the batched member profile dataset from the download link. |
Available fields for 1. GET
Element | Description |
---|---|
createDate
|
The date and time in UTC when the export was created. |
createdBy
|
The GUID of the user who created the batch member profile data export. |
data
|
The download link to the batch member profile data export. |
errorMessage
|
The string value of the error message. |
id
|
The string GUID of the
batchId .
|
lastUpdateDate
|
The date and time in UTC when the export was last updated. |
lastUpdatedBy
|
The string GUID of the user who last updated the profile variable dataset. |
message
|
This element contains a field called
|
status
|
The string value of the current status of
the export. Possible values are:
|
Example |
---|
|
Available fields from the JSON file
Element | Description |
---|---|
id
|
GUID of the
|
datasetId
|
GUID of the
applicationId .
|
exportDate
|
The date and time when the export was started. |
lastSyncDate
|
The date and time when member profile values
were last synced.
Note: It is recommended to use the value from this element as the
sinceDatetime in the next export.
|
Element | Description |
---|---|
dataType
|
The value of how the profile variable values
are stored. Possible values are:
The element can be found under the property container
|
id
|
The GUID of the profile variable. |
isSensitive
|
A boolean value indicating whether the profile variable dataset contains sensitive data. |
name
|
The string name of the profile variable. |
values
|
The values of the Member Profile Dataset.
The element can be found under the property container
|
visibility
|
The visibility setting of the profile
variable. Possible values are:
The element can be found under the property container
|
Element | Description |
---|---|
fields
|
|
lastUpdateDate
|
The date and time in UTC when a profile variable was last updated. |
ownerId
|
GUID of the member. |
Example |
---|
|