Use this call to initiate a large volume read request of view data. This enables you to read data from views that are larger than a million cell count.

This starts an asynchronous data extraction process when the view contains too much data to retrieve efficiently in a single lightweight request.

Notes:

  • To use this call, you must be a Workspace Administrator.
  • Use the Delete read requests call to clear all pages from completed exports as soon as you download all pages. Doing so will make space available for future exports.
POST

/workspaces/{workspaceId}/models/{modelId}/views/{viewId}/readRequests/

ParametersDetails
{workspaceId}
  • Required in the first supported request (see Requests supporting this feature)
  • Type: String
  • Description: The workspace ID
  • Example: 8a8196b15b7dbae6015b8694411d13fe
{modelId}
  • Required
  • Type: String
  • Description: The model ID
  • Example: 75A40874E6B64FA3AE0743278996850F
{viewId}
  • Required
  • Type: Number
  • Description: The view ID.
  • Example: 101000000001

curl --location --request POST 'https://api.anaplan.com/2/0/workspaces/{workspaceId}/models/{modelId}/views/{viewId}/readRequests/' \
--header 'Authorization: AnaplanAuthToken AnaplanToken' \
--header 'Accept: application/json'
--data-raw '{
"exportType" : "TABULAR_MULTI_COLUMN"
}'

{
   "meta": {
       "schema": "https://api.anaplan.com/2/0/objects/viewReadRequest"
   },
   "status": {
       "code": 200,
       "message": "Success"
   },
   "viewReadRequest": {
       "requestId": "0A06B0739F0E47BB92E2326C603D86EC",
       "requestState": "IN_PROGRESS",
       "url": "https://api.anaplan.com/2/0/workspaces/{workspaceId}/models/{modelId}/views/{viewId}/readRequests/{requestId}"
   }
}

If the request is just submitted and not started, the response resembles:

{
   "meta": {
       "schema": "https://api.anaplan.com/2/0/objects/viewReadRequest"
   },
   "status": {
       "code": 200,
       "message": "Success"
   },
   "viewReadRequest": {
       "requestId": "0A06B0739F0E47BB92E2326C603D86EC",
       "requestState": "NOT_STARTED",
       "url": "https://api.anaplan.com/2/0/workspaces/{workspaceId}/models/{modelId}/view/{viewId}/readRequests/{requestId}"
   }
}