- Prepare analytics datasets
Orders the build of the listed datasets, or of every dataset the acting user may read when datasets is omitted. A dataset that is already ordered is not ordered again; its use is extended. Datasets the user may not read are skipped. The response is the build status of each requested dataset; poll listAnalyticsDatasets or getAnalyticsDataset until ready.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/analytics/datasets/prepare
- Preview resource API contract - endpoint surface is not live yethttps://api.alteg.io/api/v3/locations/{location_id}/analytics/datasets/prepare
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/analytics/datasets/prepare' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"datasets": [
"appointments",
"visits"
]
}'The build status of each ordered dataset.
Requests left in the most constrained policy window that applies to this request.
On 429, seconds until the most constrained policy frees up; it equals Retry-After there. On a successful response it reports the length of that policy's window rather than the time left in the current one, so treat it as the window size, not as a countdown — the counter to pace against is RateLimit-Remaining.
Most constrained policy applied to the request, as <limit>;w=<window in seconds>.
{ "object": "analytics_dataset_preparation", "datasets": [ { … } ] }