---
title: "List Resource Allocations"
method: GET
path: "/setup/v1/resources/{id}/allocations"
tags: ["Resources"]
---

# List Resource Allocations

`GET /setup/v1/resources/{id}/allocations`

Use this endpoint to return a list of **Resource Allocations** for a specified resource. We recommend using allocations if a resource's schedule changes frequently from day to day or week to week. The results are returned in pages. Use the offset and limit parameters to control the page start and number of results. Default offset is 0, limit is 20, max is 100. Use the query parameters to filter the results further.

## Path parameters

- `id` string, required

## Query parameters

- `startDate` string, date-time
- `endDate` string, date-time
- `offset` integer
- `limit` integer

## Response `200`

resource allocation objects

- ResourceAllocationListViewModel
  - `object` string, nullable
  - `url` string, nullable
  - `hasMore` boolean
  - `count` integer
  - `total` integer
  - `data` ResourceAllocationViewModel[], nullable
    - `object` string, nullable
    - `id` integer
    - `businessId` integer
    - `resourceId` integer
    - `startDate` string, nullable
    - `endDate` string, nullable
    - `startTime` integer
    - `endTime` integer
    - `reason` string, nullable
    - `repeats` boolean
    - `repeat` RepeatViewModel
      - `frequency` string, nullable
      - `interval` integer
      - `weekdays` string, nullable
      - `monthDay` string, nullable
      - `monthType` string, nullable
    - `deletedStatus` boolean
    - `deletedTime` string, nullable

## Other responses

- `400` — Missing or invalid values in the request
- `401` — Authorization error.
- `404` — Resource was not found

---

[API](https://skmtc.net/onsched/apis/onsched-setup-api.md) · [All operations](https://skmtc.net/onsched/apis/onsched-setup-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onsched/onsched-setup-api/versions/c5c023458a2f/schema)
