---
title: "Fetch resource assignment list."
method: GET
path: "/resource_planning/fetch"
tags: ["Resources|Resource Planning"]
---

# Fetch resource assignment list.

`GET /resource_planning/fetch`

This endpoint enables you to retrieve a list of resource assignments.

This endpoint enables you to retrieve a list of resource assignments for the given filter. The response will
provide you with the basic information about the resource assignments, including the resource, the assigned
resource and the duration of the assignment.

## Query parameters

- `filter[byResourceIds][]` integer[]
- `filter[byEmployeeIds][]` integer[]
- `filter[byToolIds][]` integer[]
- `filter[byTrackerIds][]` integer[]
- `filter[byProjectIds][]` integer[]
- `filter[byOrderIds][]` integer[]
- `filter[byAbsenceTypeIds][]` integer[]
- `filter[byCustomProjectIds][]` integer[]
- `offset` integer
- `limit` integer

## Response `200`

Success Response:

- StandardResourceAssignmentFetchResponse
  - `data` object[] — The resource assignments.
    - `id` integer — The internal id of the assignment
    - `resource` ResourceAssignmentFetchResponseResourceItem
      - `id` integer — The internal id of the resource.
      - `name` string — The name of the resource.
    - `assignedResource` ResourceAssignmentFetchResponseAssignedResourceItem
      - `id` integer — The internal id of the assigned resource.
      - `name` string — The name of the assigned resource.
    - `assignedFrom` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
    - `assignedTo` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
    - `planningType` string — The planning type of the assignment.
  - `offset` integer — Number of skipped records.
  - `totalCount` integer — Total number of available resource assignments. (Only calculated if offset is 0)

---

[API](https://skmtc.dev/geocapture/apis/geocapture-api.md) · [All operations](https://skmtc.dev/geocapture/apis/geocapture-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/geocapture/geocapture-api/revisions/38304358efb5/schema)
