read
finance

The analytics views of one entity: columns, types, schema hash and row count of each.

Changed on

The column contract of every BI view (version 1), its schema_hash (moves when a column is added; a v1 column is never removed or retyped — that is a new version), its row_count for this entity (count(*) of the view, what a full read adds up to), and where to read it as REST and as OData. Also served as an OData v4 feed at /api/v1/finance/odata/{entity_id}/ for Excel, Power BI and any OData client: HTTP Basic with any user name and the API key as the password, or a Bearer token. Answers 403 finance_feature_off until the BI feed is switched on.

The GET form of finance_bi_views: the same arguments as query parameters.

get/api/v1/finance/bi/views

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesfinance:read

Query parameters

entity_id, string uuid required

The entity, one of those this app was granted (GET /api/v1/finance/entities lists them). In a GET query string entity is accepted too.

entity, string uuid

Alias of entity_id; give one of the two.

Response

Result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision