---
title: "Takes a list of AvailabilitySchedules and adds them to the schedule. Returns a list of AvailabilitySchedules with Id.
The following are required parameters: DaysOfWeek,StartTime,EndTime,StartDate,EndDate"
method: POST
path: "/Business/Schedules/Availability/Add"
tags: ["Rest"]
---

# Takes a list of AvailabilitySchedules and adds them to the schedule. Returns a list of AvailabilitySchedules with Id.
The following are required parameters: DaysOfWeek,StartTime,EndTime,StartDate,EndDate

`POST /Business/Schedules/Availability/Add`

## Headers

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

## Request body

- MindbodyRestApiCommonModelsSchedulesAvailabilitySchedule[]
  - `AvailabilityScheduleId` integer
  - `GroupId` integer
  - `StaffReference` integer
  - `Updated` string, date-time
  - `Created` string, date-time
  - `Status` 'Public' | 'Masked' | 'Hidden'
  - `LocationReference` integer
  - `ServiceCategoryReferences` integer[]
  - `DaysOfWeek` string[]
  - `StartTime` string
  - `EndTime` string
  - `StartDate` string, date-time
  - `EndDate` string, date-time

## Response `201`

Created

- MindbodyRestApiCommonModelsResultsSchedulesAddAvailabilityScheduleResponse
  - `AvailabilitySchedule` MindbodyRestApiCommonModelsSchedulesAvailabilitySchedule[]
    - `AvailabilityScheduleId` integer
    - `GroupId` integer
    - `StaffReference` integer
    - `Updated` string, date-time
    - `Created` string, date-time
    - `Status` 'Public' | 'Masked' | 'Hidden'
    - `LocationReference` integer
    - `ServiceCategoryReferences` integer[]
    - `DaysOfWeek` string[]
    - `StartTime` string
    - `EndTime` string
    - `StartDate` string, date-time
    - `EndDate` string, date-time
  - `Errors` string[]

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