---
title: "Searches for availability schedule details for specific staff."
method: POST
path: "/Business/Schedules/Availability/Search"
tags: ["Rest"]
---

# Searches for availability schedule details for specific staff.

`POST /Business/Schedules/Availability/Search`

## Headers

- `Authorization` string, required
- `SiteId` integer, required

## Request body

- MindbodyRestApiDtoModelsSiteSchedulesAvailabilitySchedule[]
  - `AvailabilityScheduleId` integer — Availability schedule unique identifier, usually maps to the [tblTrainerSchedules].[ID] attribute.
  - `LocationReference` integer — Location unique identifier.
  - `StaffReference` integer — Staff the availability belongs to.
  - `DaysOfWeek` string[] — Days of the week for the availability.
  - `StartTime` string — Start time for the availability.
  - `EndTime` string — End time for the availability.
  - `StartDate` string, date-time — Start date for the availability. In some cases this will be the full DateTime for the availability to prevent from separating the date and time.
  - `EndDate` string, date-time — End date for the availability. In some cases this will be the full DateTime for the availability to prevent from separating the date and time.
  - `GroupId` integer — Schedule group unique identifer.
  - `Updated` string, date-time — Last DateTime the schedule was updated.
  - `Created` string, date-time — DateTime the schedule was created.
  - `Status` 'Public' | 'Masked' | 'Hidden' — Availability status.
  - `ServiceCategoryReferences` integer[] — Service category unique identifiers for the availability.

## Response `200`

OK

- MindbodyRestApiDtoModelsSiteControllersSearchAvailabilityResponse — Response type returned with staff availability window data.
  - `AvailabilitySchedules` MindbodyRestApiDtoModelsSiteSchedulesAvailabilitySchedule[] — List of availability schedules
    - `AvailabilityScheduleId` integer — Availability schedule unique identifier, usually maps to the [tblTrainerSchedules].[ID] attribute.
    - `LocationReference` integer — Location unique identifier.
    - `StaffReference` integer — Staff the availability belongs to.
    - `DaysOfWeek` string[] — Days of the week for the availability.
    - `StartTime` string — Start time for the availability.
    - `EndTime` string — End time for the availability.
    - `StartDate` string, date-time — Start date for the availability. In some cases this will be the full DateTime for the availability to prevent from separating the date and time.
    - `EndDate` string, date-time — End date for the availability. In some cases this will be the full DateTime for the availability to prevent from separating the date and time.
    - `GroupId` integer — Schedule group unique identifer.
    - `Updated` string, date-time — Last DateTime the schedule was updated.
    - `Created` string, date-time — DateTime the schedule was created.
    - `Status` 'Public' | 'Masked' | 'Hidden' — Availability status.
    - `ServiceCategoryReferences` integer[] — Service category unique identifiers for the availability.
  - `Errors` string[] — List of errors, if any

## Other responses

- `400` — BadRequest
- `401` — Unauthorized

---

[API](https://skmtc.net/mindbodyonline/apis/rest-api.md) · [All operations](https://skmtc.net/mindbodyonline/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mindbodyonline/rest-api/revisions/dc2736850e42/schema)
