---
title: "Fetch a resource schedule"
method: GET
path: "/ext/v2/resource-schedules/{resource_schedule_id}/"
tags: ["Scheduler"]
---

# Fetch a resource schedule

`GET /ext/v2/resource-schedules/{resource_schedule_id}/`

## Request

- Base URL: `https://connect.vetcove.com`
- URL: `https://connect.vetcove.com/ext/v2/resource-schedules/{resource_schedule_id}/`
- Auth: HTTP bearer

Fetches a resource schedule by its ID.

A **resource schedule** defines the working hours or availability window for a calendar resource (typically a veterinarian or technician). Schedules can be one-off or recurring.

When `use_clinic_hours` is true, the resource follows the clinic's configured business hours and `end_datetime` will be null.

## Path parameters

- `resource_schedule_id` integer, required: The ID of the resource schedule to fetch.

## Response `200`

OK

- ExternalResourceScheduleSchema
  - `calendar_resource_id` integer, required: The ID of the calendar resource this schedule is for.
  - `clinic_id` integer, required: The ID of the clinic this resource schedule belongs to.
  - `created` string, date-time, required: The datetime this object was created.
  - `deleted` string, date-time, nullable, required: The datetime this record was soft deleted.
  - `end_datetime` string, date-time, nullable, required: ISO 8601 formatted end datetime of the schedule in UTC. Null when use_clinic_hours is true.
  - `id` integer, required: The unique identifier for this resource schedule.
  - `is_deleted` boolean, required: Whether this record is soft deleted or not.
  - `is_recurring` boolean, required: Whether this record follows a recurrence pattern.
  - `modified` string, date-time, required: The datetime this object was last modified; changes to related entities will not update this field.
  - `recurrence` RecurrenceBreakdownSchema: Structured representation of an RFC 2445 recurrence rule.
    - `days_of_week` string[]: Two-letter day codes. Applicable for WEEKLY and some MONTHLY patterns.
    - `end_after_occurrences` integer, nullable: Total number of occurrences before the recurrence ends, if bounded by count.
    - `end_date` string, date, nullable: ISO 8601 date (YYYY-MM-DD) when the recurrence ends, if bounded by date.
    - `frequency` 'YEARLY' | 'MONTHLY' | 'WEEKLY' | 'DAILY' | 'HOURLY' | 'MINUTELY' | 'SECONDLY', required: The base recurring frequency.
    - `interval` integer, required: The interval between each frequency iteration (e.g., 2 means every 2 weeks for WEEKLY).
  - `rrule` string, nullable: Raw RFC 2445 RRule string, if recurring.
  - `start_datetime` string, date-time, required: ISO 8601 formatted start datetime of the schedule in UTC.
  - `use_clinic_hours` boolean, required: Whether this resource follows the clinic's business hours instead of a custom end time.

---

[API](https://skmtc.dev/vetcove/apis/ninjaapi.md) - [All operations](https://skmtc.dev/vetcove/apis/ninjaapi/llms.txt) - [OpenAPI document](https://skmtc.dev/vetcove/apis/ninjaapi/revisions/4ceaed956e15?raw)
