---
title: "Get daily roster"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.getarbol.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get daily roster

Path: Oficlinic API › Daily roster

`GET /v1/oficlinic/daily-roster`

Read the e-Oficlinic daily patient roster for one professional and one date in Colombia. For authorized clinic staff only. Returns scheduled time, appointment number, patient display name, service and location. A vacant slot is not an appointment. Use the professional's id from list_professionals. Page through the same professional and date with pageInfo.nextCursor; results do not cover other professionals or sites.

- **Scope:** `oficlinic:daily-roster:read`
- **Credentials:** an API key, a client-credentials token or a person's access token
- **Effect:** read-only; safe to retry
- **Limits:** response up to 64 KB
- **CLI:** `arbol oficlinic daily-roster list` · **MCP tool:** `oficlinic_daily_roster_list`

## Authentication

Requires one of the following:

- `arbolHuman`, oauth2, scopes: `oficlinic:daily-roster:read`
- `arbolMachine`, oauth2, scopes: `oficlinic:daily-roster:read`
- `arbolApiKey`, http, header `Authorization`

## Query parameters

- `date` (`oficlinic.dailyRoster.list.query.date`; string, required) — The appointment date in Colombia, as YYYY-MM-DD.
  - pattern `^\d{4}-\d{2}-\d{2}$`
- `professionalId` (`oficlinic.dailyRoster.list.query.professionalId`; string, required) — The professional's provider id, from list_professionals.
  - pattern `^[0-9A-Za-z._-]{1,32}$`
- `connectionId` (`oficlinic.dailyRoster.list.query.connectionId`; string, optional) — An Account connection id of the caller's organization.
  - pattern `^con_[0-9A-Za-z]{26}$`
- `cursor` (`oficlinic.dailyRoster.list.query.cursor`; string, optional) — An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor.
  - minLength 4; maxLength 192; pattern `^[A-Za-z0-9_-]+$`
- `direction` (`oficlinic.dailyRoster.list.query.direction`; string, optional) — Direction to traverse the stable keyset ordering from the supplied cursor.
  - one of `"forward"`, `"backward"`; default `"forward"`
- `limit` (`oficlinic.dailyRoster.list.query.limit`; integer, optional) — Maximum items returned in one page. Defaults to 25; larger reads require another cursor.
  - min 1; max 50; default `25`

## Code samples

### cURL

```bash
curl "https://api.getarbol.com/v1/oficlinic/daily-roster?date=<date>&professionalId=<professionalId>" \
  --header "Authorization: Bearer $ARBOL_API_KEY"
```

### TypeScript

```typescript
import { createClient } from "@arbol-ai/sdk";

const arbol = createClient({
  baseUrl: "https://api.getarbol.com",
  token: process.env.ARBOL_API_KEY!,
});

const { data } = await arbol.oficlinic.dailyRoster.list({
  date: "<date>",
  professionalId: "<professionalId>",
});
```

### Rust

```rust
use arbol_sdk::{types, Client, Credential};

let arbol = Client::new(Credential::ApiKey(std::env::var("ARBOL_API_KEY")?))?;

let data = arbol
    .oficlinic()
    .daily_roster()
    .list(&types::OficlinicDailyRosterListInput {
        date: "<date>".into(),
        professional_id: "<professionalId>".into(),
        connection_id: None,
        cursor: None,
        direction: None,
        limit: None,
    })
    .await?;
```

### CLI

```bash
arbol oficlinic daily-roster list --date '<date>' --professional-id '<professionalId>'
```

### MCP

```json
{
  "name": "oficlinic_daily_roster_list",
  "arguments": {
    "date": "<date>",
    "professionalId": "<professionalId>"
  }
}
```

## Responses

### 200

Successful operation.

#### Example

```json
{
  "success": true,
  "data": {
    "data": [
      {
        "appointmentId": "string",
        "date": "string",
        "timeLabel": "string",
        "professional": "string",
        "location": "string",
        "patientName": "string",
        "service": "string"
      }
    ],
    "object": "list",
    "pageInfo": {
      "hasNextPage": true,
      "hasPreviousPage": true,
      "nextCursor": "string",
      "previousCursor": "string"
    }
  },
  "error": null,
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.200.success`; boolean, required)
  - one of `true`
- `data` (`oficlinic.dailyRoster.list.response.200.data`; object, required)
  - `data` (`oficlinic.dailyRoster.list.response.200.data.data`; array<object>, required) — Items admitted by this resource contract within the verified organization.
    - `appointmentId` (`oficlinic.dailyRoster.list.response.200.data.data.appointmentId`; string, required)
      - pattern `^[0-9]{1,15}$`
    - `date` (`oficlinic.dailyRoster.list.response.200.data.data.date`; string, required) — The appointment date in Colombia, as YYYY-MM-DD.
      - pattern `^\d{4}-\d{2}-\d{2}$`
    - `timeLabel` (`oficlinic.dailyRoster.list.response.200.data.data.timeLabel`; string, required)
      - minLength 1; maxLength 80
    - `professional` (`oficlinic.dailyRoster.list.response.200.data.data.professional`; string, required)
      - minLength 1; maxLength 256
    - `location` (`oficlinic.dailyRoster.list.response.200.data.data.location`; string, required)
      - minLength 1; maxLength 256
    - `patientName` (`oficlinic.dailyRoster.list.response.200.data.data.patientName`; string, required)
      - minLength 1; maxLength 256
    - `service` (`oficlinic.dailyRoster.list.response.200.data.data.service`; string, required)
      - minLength 1; maxLength 256
  - `object` (`oficlinic.dailyRoster.list.response.200.data.object`; string, required) — Discriminator for a resource list response.
  - `pageInfo` (`oficlinic.dailyRoster.list.response.200.data.pageInfo`; object, required) — Opaque navigation cursors for this page’s stable keyset order.
    - `hasNextPage` (`oficlinic.dailyRoster.list.response.200.data.pageInfo.hasNextPage`; boolean, required) — Whether a later page exists in the current ordering.
    - `hasPreviousPage` (`oficlinic.dailyRoster.list.response.200.data.pageInfo.hasPreviousPage`; boolean, required) — Whether an earlier page exists in the current ordering.
    - `nextCursor` (`oficlinic.dailyRoster.list.response.200.data.pageInfo.nextCursor`; string | null, required) — Opaque cursor for the next page, or null when there is none.
    - `previousCursor` (`oficlinic.dailyRoster.list.response.200.data.pageInfo.previousCursor`; string | null, required) — Opaque cursor for the previous page, or null when there is none.
- `error` (`oficlinic.dailyRoster.list.response.200.error`; unknown, required)
- `metadata` (`oficlinic.dailyRoster.list.response.200.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.200.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 400

- `INVALID_INPUT`: The request does not match the published schema.
- `INVALID_CURSOR`: The cursor is invalid or belongs to another list.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "INVALID_INPUT",
    "message": "string",
    "retryable": false,
    "data": {
      "issues": [
        {
          "path": "string",
          "message": "string"
        }
      ]
    }
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.400.success`; boolean, required)
  - one of `false`
- `data` (`oficlinic.dailyRoster.list.response.400.data`; unknown, required)
- `error` (`oficlinic.dailyRoster.list.response.400.error`; OficlinicGetDailyRosterBadRequestFailure, required)
  - one of: `InvalidInputFailure`, `OficlinicInvalidCursorFailure`
  - discriminator: `code`
- `metadata` (`oficlinic.dailyRoster.list.response.400.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.400.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 401

`UNAUTHORIZED`: A valid access token is required.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.401.success`; boolean, required)
  - one of `false`
- `data` (`oficlinic.dailyRoster.list.response.401.data`; unknown, required)
- `error` (`oficlinic.dailyRoster.list.response.401.error`; object, required) — A valid access token is required.
  - `code` (`oficlinic.dailyRoster.list.response.401.error.code`; string, required) — The failure code, stable across releases.
    - one of `"UNAUTHORIZED"`
  - `message` (`oficlinic.dailyRoster.list.response.401.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`oficlinic.dailyRoster.list.response.401.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`oficlinic.dailyRoster.list.response.401.error.data`; object, required) — No fields.
- `metadata` (`oficlinic.dailyRoster.list.response.401.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.401.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 403

`FORBIDDEN`: The token does not authorize this operation.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "FORBIDDEN",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.403.success`; boolean, required)
  - one of `false`
- `data` (`oficlinic.dailyRoster.list.response.403.data`; unknown, required)
- `error` (`oficlinic.dailyRoster.list.response.403.error`; object, required) — The token does not authorize this operation.
  - `code` (`oficlinic.dailyRoster.list.response.403.error.code`; string, required) — The failure code, stable across releases.
    - one of `"FORBIDDEN"`
  - `message` (`oficlinic.dailyRoster.list.response.403.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`oficlinic.dailyRoster.list.response.403.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`oficlinic.dailyRoster.list.response.403.error.data`; object, required) — No fields.
- `metadata` (`oficlinic.dailyRoster.list.response.403.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.403.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 404

- `CONNECTION_NOT_FOUND`: The connection does not exist in this organization.
- `PROFESSIONAL_NOT_FOUND`: The professional is not an active professional of the connection's indexed directory.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "CONNECTION_NOT_FOUND",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.404.success`; boolean, required)
  - one of `false`
- `data` (`oficlinic.dailyRoster.list.response.404.data`; unknown, required)
- `error` (`oficlinic.dailyRoster.list.response.404.error`; OficlinicGetDailyRosterNotFoundFailure, required)
  - one of: `OficlinicConnectionNotFoundFailure`, `OficlinicProfessionalNotFoundFailure`
  - discriminator: `code`
- `metadata` (`oficlinic.dailyRoster.list.response.404.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.404.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 409

- `CONNECTION_REQUIRED`: The organization has several active connections: select one.
- `CONNECTION_NOT_ACTIVE`: The connection is not active.
- `CONNECTION_BUSY`: Another operation is using this connection or signing in for the organization.
- `REAUTHENTICATION_REQUIRED`: Provider sign-in is stopped for this connection. Verify the connection again.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "CONNECTION_REQUIRED",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.409.success`; boolean, required)
  - one of `false`
- `data` (`oficlinic.dailyRoster.list.response.409.data`; unknown, required)
- `error` (`oficlinic.dailyRoster.list.response.409.error`; OficlinicGetDailyRosterConflictFailure, required)
  - one of: `OficlinicConnectionRequiredFailure`, `OficlinicConnectionNotActiveFailure`, `OficlinicConnectionBusyFailure`, `OficlinicReauthenticationRequiredFailure`
  - discriminator: `code`
- `metadata` (`oficlinic.dailyRoster.list.response.409.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.409.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 422

- `CREDENTIALS_REJECTED`: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.
- `CONTEXT_NOT_AVAILABLE`: The selected company, site or IPS is not available to the provider account.
- `PROVIDER_IDENTITY_MISMATCH`: The provider session does not belong to the connection's user and selected context.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "CREDENTIALS_REJECTED",
    "message": "string",
    "retryable": false
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.422.success`; boolean, required)
  - one of `false`
- `data` (`oficlinic.dailyRoster.list.response.422.data`; unknown, required)
- `error` (`oficlinic.dailyRoster.list.response.422.error`; OficlinicGetDailyRosterUnprocessableContentFailure, required)
  - one of: `CredentialsRejectedFailure`, `OficlinicContextNotAvailableFailure`, `OficlinicProviderIdentityMismatchFailure`
  - discriminator: `code`
- `metadata` (`oficlinic.dailyRoster.list.response.422.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.422.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 429

- `RATE_LIMITED`: The request rate limit was exceeded. Try again later.
- `LOGIN_COOLING_DOWN`: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "RATE_LIMITED",
    "message": "string",
    "retryable": true,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.429.success`; boolean, required)
  - one of `false`
- `data` (`oficlinic.dailyRoster.list.response.429.data`; unknown, required)
- `error` (`oficlinic.dailyRoster.list.response.429.error`; OficlinicGetDailyRosterTooManyRequestsFailure, required)
  - one of: `RateLimitedFailure`, `OficlinicLoginCoolingDownFailure`
  - discriminator: `code`
- `metadata` (`oficlinic.dailyRoster.list.response.429.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.429.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 500

`INTERNAL_ERROR`: The service could not complete the operation.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "INTERNAL_ERROR",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.500.success`; boolean, required)
  - one of `false`
- `data` (`oficlinic.dailyRoster.list.response.500.data`; unknown, required)
- `error` (`oficlinic.dailyRoster.list.response.500.error`; object, required) — The service could not complete the operation.
  - `code` (`oficlinic.dailyRoster.list.response.500.error.code`; string, required) — The failure code, stable across releases.
    - one of `"INTERNAL_ERROR"`
  - `message` (`oficlinic.dailyRoster.list.response.500.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`oficlinic.dailyRoster.list.response.500.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`oficlinic.dailyRoster.list.response.500.error.data`; object, required) — No fields.
- `metadata` (`oficlinic.dailyRoster.list.response.500.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.500.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 502

- `OUTCOME_UNKNOWN`: The operation may have been applied; check its result before repeating it.
- `SIGN_IN_OUTCOME_UNKNOWN`: The provider did not confirm a sign-in. It is not repeated automatically.
- `PROVIDER_PROTOCOL_CHANGED`: The provider returned an unrecognized response.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "OUTCOME_UNKNOWN",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.502.success`; boolean, required)
  - one of `false`
- `data` (`oficlinic.dailyRoster.list.response.502.data`; unknown, required)
- `error` (`oficlinic.dailyRoster.list.response.502.error`; OficlinicGetDailyRosterBadGatewayFailure, required)
  - one of: `OutcomeUnknownFailure`, `OficlinicSignInOutcomeUnknownFailure`, `ProviderProtocolChangedFailure`
  - discriminator: `code`
- `metadata` (`oficlinic.dailyRoster.list.response.502.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.502.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 503

- `UPSTREAM_UNAVAILABLE`: The upstream service could not complete the request.
- `PROVIDER_UNAVAILABLE`: The provider could not complete the request.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "UPSTREAM_UNAVAILABLE",
    "message": "string",
    "retryable": true,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.503.success`; boolean, required)
  - one of `false`
- `data` (`oficlinic.dailyRoster.list.response.503.data`; unknown, required)
- `error` (`oficlinic.dailyRoster.list.response.503.error`; OficlinicGetDailyRosterServiceUnavailableFailure, required)
  - one of: `UpstreamUnavailableFailure`, `ProviderUnavailableFailure`
  - discriminator: `code`
- `metadata` (`oficlinic.dailyRoster.list.response.503.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.503.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 504

`UPSTREAM_TIMEOUT`: The upstream service did not respond before its deadline.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "UPSTREAM_TIMEOUT",
    "message": "string",
    "retryable": true,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`oficlinic.dailyRoster.list.response.504.success`; boolean, required)
  - one of `false`
- `data` (`oficlinic.dailyRoster.list.response.504.data`; unknown, required)
- `error` (`oficlinic.dailyRoster.list.response.504.error`; object, required) — The upstream service did not respond before its deadline.
  - `code` (`oficlinic.dailyRoster.list.response.504.error.code`; string, required) — The failure code, stable across releases.
    - one of `"UPSTREAM_TIMEOUT"`
  - `message` (`oficlinic.dailyRoster.list.response.504.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`oficlinic.dailyRoster.list.response.504.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `true`
  - `data` (`oficlinic.dailyRoster.list.response.504.error.data`; object, required) — No fields.
- `metadata` (`oficlinic.dailyRoster.list.response.504.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`oficlinic.dailyRoster.list.response.504.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.


Source: https://docs.getarbol.com/api/oficlinic/daily-roster/list/index.md
