Use this recipe when you need to read data from a saved view.

  1. Authenticate.
    Request: POST https://auth.anaplan.com/token/authenticate
    Save the returned authentication token.
  2. Find the workspace
    Request: GET /workspaces
    Save the id of the workspace as workspaceId.
  3. Find the model
    Request: GET /workspaces/{workspaceId}/models
    Save the id of the model as modelId.
  4. Find modules
    Request: GET /workspaces/{workspaceId}/models/{modelId}/modules
    Save the target module id as moduleId.
  5. Find views for the module
    Request: GET /workspaces/{workspaceId}/models/{modelId}/modules/{moduleId}/views
    Save the target view id as viewId.
  6. Retrieve view metadata
    Request: GET /models/{modelId}/views/{viewId}
    Use the metadata to understand:
    • Rows.
    • Columns.
    • Pages.
    • Line items.
    • Dimensions.
    • Available page selectors.
  7. Retrieve view data
    Request: GET /models/{modelId}/views/{viewId}/data
    Retrieve the view data in the required format.
  8. Repeat for required page selections
    Request: GET /models/{modelId}/views/{viewId}/data
    If the view uses page dimensions, repeat the request with the required page selections.

The integration retrieves view metadata and the corresponding view data.

If data is missing or unexpected, check:

  • Whether the saved view layout changed.
  • Whether filters hide expected rows or columns.
  • Whether page selectors are set correctly.
  • Whether the integration user has access to all relevant data.
  • Whether Dynamic Cell Access, selective access, or model role restrictions affect the output.