Mindbody · JSON Structure

Public Api V6 Add Availabilities Request Structure

Implementation of the 'AddAvailabilitiesRequest' model.

Type: object Properties: 10
FitnessWellnessBeautySchedulingBookingPoint of SaleStudiosSalonsSpasWebhooks

AddAvailabilitiesRequest is a JSON Structure definition published by Mindbody, describing 10 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

Test LocationID StaffIDs ProgramIDs StartDateTime EndDateTime DaysOfWeek UnavailableDescription IsUnavailable PublicDisplay

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mindbody/refs/heads/main/json-structure/public-api-v6-add-availabilities-request-structure.json",
  "name": "AddAvailabilitiesRequest",
  "description": "Implementation of the 'AddAvailabilitiesRequest' model.",
  "type": "object",
  "properties": {
    "Test": {
      "type": "boolean",
      "description": "When `true`, the request ensures that its parameters are valid without affecting real data. When `false`, the request performs as intended and may affect live client data. (optional) Defaults to false.",
      "example": true
    },
    "LocationID": {
      "type": "int32",
      "description": "Location of availability. <br />Not used when IsUnavailable is `true`.",
      "example": 1
    },
    "StaffIDs": {
      "type": "array",
      "items": {
        "type": "int32"
      },
      "description": "A list of requested staff IDs.<br /> (optional) Defaults to staff ID of user credentials. Use 0 for all.",
      "example": [
        1
      ]
    },
    "ProgramIDs": {
      "type": "array",
      "items": {
        "type": "int32"
      },
      "description": "A list of program IDs.<br /> (optional) Defaults to all. <br />Not used when IsUnavailable is true.",
      "example": [
        1
      ]
    },
    "StartDateTime": {
      "type": "datetime",
      "description": "The start date and time of the new availabilities or unavailabilities.",
      "example": "2026-05-28T14:30:00Z"
    },
    "EndDateTime": {
      "type": "datetime",
      "description": "The end date and time of the new availabilities or unavailabilities.",
      "example": "2026-05-28T14:30:00Z"
    },
    "DaysOfWeek": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DaysOfWeekEnum"
      },
      "description": "The days of the week to set.<br /> (optional) Defaults to all.",
      "example": [
        {}
      ]
    },
    "UnavailableDescription": {
      "type": "string",
      "description": "Description of unavalability. <br />Only used when IsUnavailable is true.",
      "example": "Example note for Mindbody Public API."
    },
    "IsUnavailable": {
      "type": "boolean",
      "description": "When `true`, indicates that unavailability is getting added. When `false`, indicates that availability is getting added. Default: **false**",
      "example": true
    },
    "PublicDisplay": {
      "$ref": "#/components/schemas/PublicDisplay1Enum",
      "description": "Sets the public display of the availability.<br /><ul><li>Show</li><li>Mask</li><li>Hide</li></ul> (optional) Defaults to Show."
    }
  }
}