---
title: "OData service document"
method: GET
path: "/odata"
tags: ["odata"]
---

# OData service document

`GET /odata`

## Request

- Base URL: `https://api.onplana.com/api`
- URL: `https://api.onplana.com/api/odata`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

Lists the entity sets: Projects, Tasks, Assignments, Resources, TimesheetLines, CustomFieldValues, TaskBaselines. Point Power BI (Get Data > OData feed) at this URL.

## Response `200`

OData service document (`@odata.context` + `value[]` of entity sets).

## Other responses

- `401`: No credential. Carries `WWW-Authenticate: Basic` so BI tools offer Basic auth.
- `403`: Token lacks the REPORTS_READ scope (`SCOPE_DENIED`).

---

[API](https://skmtc.dev/onplana/apis/onplana-api.md) · [All operations](https://skmtc.dev/onplana/apis/onplana-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onplana/apis/onplana-api/revisions/c3d6c89e9dc8?raw)
