Mindbody · JSON Structure

Public Api V6 Add Class Enrollment Schedule Request Structure

Implementation of the 'AddClassEnrollmentScheduleRequest' model.

Type: object Properties: 24
FitnessWellnessBeautySchedulingBookingPoint-of-SaleStudiosSalonsSpasWebhook

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

Properties

ClassDescriptionId LocationId StartDate EndDate StartTime EndTime DaySunday DayMonday DayTuesday DayWednesday DayThursday DayFriday DaySaturday StaffId StaffPayRate ResourceId MaxCapacity WebCapacity WaitlistCapacity BookingStatus AllowOpenEnrollment AllowDateForwardEnrollment PricingOptionsProductIds ShowToPublic

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-class-enrollment-schedule-request-structure.json",
  "name": "AddClassEnrollmentScheduleRequest",
  "description": "Implementation of the 'AddClassEnrollmentScheduleRequest' model.",
  "type": "object",
  "properties": {
    "ClassDescriptionId": {
      "type": "int32",
      "description": "The Id of the class/enrollment description. This can be found in GetClassDescriptions.",
      "example": 123456
    },
    "LocationId": {
      "type": "int32",
      "description": "The Location Id of the enrollment schedule.",
      "example": 123456
    },
    "StartDate": {
      "type": "datetime",
      "description": "The start date of the enrollment schedule.",
      "example": "2026-05-28T14:30:00Z"
    },
    "EndDate": {
      "type": "datetime",
      "description": "The end date of the enrollment schedule.",
      "example": "2026-05-28T14:30:00Z"
    },
    "StartTime": {
      "type": "datetime",
      "description": "Enrollment start time (use null or omit for TBD).",
      "example": "2026-05-28T14:30:00Z"
    },
    "EndTime": {
      "type": "datetime",
      "description": "Enrollment end time (ignored if StartTime is null or omitted).",
      "example": "2026-05-28T14:30:00Z"
    },
    "DaySunday": {
      "type": "boolean",
      "description": "If the enrollment occurs on Sunday(s).",
      "example": true
    },
    "DayMonday": {
      "type": "boolean",
      "description": "If the enrollment occurs on Monday(s).",
      "example": true
    },
    "DayTuesday": {
      "type": "boolean",
      "description": "If the enrollment occurs on Tuesday(s).",
      "example": true
    },
    "DayWednesday": {
      "type": "boolean",
      "description": "If the enrollment occurs on Wednesday(s).",
      "example": true
    },
    "DayThursday": {
      "type": "boolean",
      "description": "If the enrollment occurs on Thursday(s).",
      "example": true
    },
    "DayFriday": {
      "type": "boolean",
      "description": "If the enrollment occurs on Friday(s).",
      "example": true
    },
    "DaySaturday": {
      "type": "boolean",
      "description": "If the enrollment occurs on Saturday(s).",
      "example": true
    },
    "StaffId": {
      "type": "int32",
      "description": "The staff member teaching the enrollment.",
      "example": 123456
    },
    "StaffPayRate": {
      "type": "int32",
      "description": "The staff pay rate. Must be between 1-21.",
      "example": 1
    },
    "ResourceId": {
      "type": "int32",
      "description": "The room where the enrollment is taking place.",
      "example": 123456
    },
    "MaxCapacity": {
      "type": "int32",
      "description": "How many people can attend.",
      "example": 1
    },
    "WebCapacity": {
      "type": "int32",
      "description": "How many people can signup online. Default: **0**",
      "example": 1
    },
    "WaitlistCapacity": {
      "type": "int32",
      "description": "How many people can waitlist. Default:**0**",
      "example": 1
    },
    "BookingStatus": {
      "type": "string",
      "description": "One of: PaymentRequired, BookAndPayLater, Free",
      "example": "Active"
    },
    "AllowOpenEnrollment": {
      "type": "boolean",
      "description": "Allow clients to choose which sessions they\u2019d like to sign up for. Default: **false**",
      "example": true
    },
    "AllowDateForwardEnrollment": {
      "type": "boolean",
      "description": "Allow booking after the enrollment has started. Default: **false**",
      "example": true
    },
    "PricingOptionsProductIds": {
      "type": "array",
      "items": {
        "type": "int32"
      },
      "description": "Pricing Options for this schedule",
      "example": [
        1
      ]
    },
    "ShowToPublic": {
      "type": "boolean",
      "description": "Allow clients to see this schedule Default: **true**",
      "example": true
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/public-api-v6-add-class-enrollment-schedule-request-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.