---
title: "Gets calendar events for a given staff.  Staff members can only retrieve their own calendar events.
Endpoint also supports Service Identity."
method: GET
path: "/Business/Calendars/Staff/{staffId}"
tags: ["Rest"]
---

# Gets calendar events for a given staff.  Staff members can only retrieve their own calendar events.
Endpoint also supports Service Identity.

`GET /Business/Calendars/Staff/{staffId}`

## Path parameters

- `staffId` integer, required

## Query parameters

- `request.startDateTime` string, date-time
- `request.endDateTime` string, date-time
- `request.includeAppointments` boolean
- `request.includeClasses` boolean
- `request.includeEnrollments` boolean
- `request.includeUnavailabilities` boolean
- `request.locationIds` integer[]

## Headers

- `SiteId` integer, required

## Response `200`

OK

- MindbodyRestApiDtoModelsSiteSchedulesCalendarEvent[]
  - `EventId` integer — Event unique identifier: - For appointment events, this will be the appointment id or visit ref no. - For class events, this will be the class instance id. - For unavailability events, this will be the unavailability id.
  - `EventName` string — Name of the event.
  - `EventType` 'core.appointment' | 'core.classInstance' | 'core.unavailability' — Event type. Possible values are availble here: {Mindbody.RestApi.Dto.Enums.ECalendarEventType}.
  - `StaffId` integer — Staff that the event belong to.
  - `Client` MindbodyRestApiDtoModelsSiteClientsClient — Client information for a specific studio.
    - `FirstName` string — The first name of the client.
    - `LastName` string — The last name of the client.
    - `NickName` string — The nickname or display name of the client.
  - `StartTime` string, date-time — The start time/date of the event in Coordinated Universal Time or UTC.
  - `EndTime` string, date-time — The end time/date of the event in Coordinated Universal Time or UTC.
  - `Unscheduled` boolean — Whether the event represents an unscheduled or TBD class.
  - `Location` MindbodyRestApiDtoModelsSiteSchedulesCalendarLocation — Calendar location
    - `Id` integer — Location identifier
    - `Name` string — Location name
    - `TimeZoneId` string — The time zone unique identifier for the location.
    - `Address` string — The address line 1 of the location.
    - `Address2` string — The address line 2 of the location.
    - `City` string — The city of the location.
    - `StateProvCode` string — The state / province of the location.
    - `PostalCode` string — The postal code of the location.
    - `Country` string — The country of the location.
    - `Latitude` number, double — The Latitude of the location.
    - `Longitude` number, double — The longitude of the location.

## 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)
