Mindbody · Schema

AddClassEnrollmentScheduleRequest

Implementation of the 'AddClassEnrollmentScheduleRequest' model.

FitnessWellnessBeautySchedulingBookingPoint of SaleStudiosSalonsSpasWebhooks

Properties

Name Type Description
ClassDescriptionId integer The Id of the class/enrollment description. This can be found in GetClassDescriptions.
LocationId integer The Location Id of the enrollment schedule.
StartDate string The start date of the enrollment schedule.
EndDate string The end date of the enrollment schedule.
StartTime string Enrollment start time (use null or omit for TBD).
EndTime string Enrollment end time (ignored if StartTime is null or omitted).
DaySunday boolean If the enrollment occurs on Sunday(s).
DayMonday boolean If the enrollment occurs on Monday(s).
DayTuesday boolean If the enrollment occurs on Tuesday(s).
DayWednesday boolean If the enrollment occurs on Wednesday(s).
DayThursday boolean If the enrollment occurs on Thursday(s).
DayFriday boolean If the enrollment occurs on Friday(s).
DaySaturday boolean If the enrollment occurs on Saturday(s).
StaffId integer The staff member teaching the enrollment.
StaffPayRate integer The staff pay rate. Must be between 1-21.
ResourceId integer The room where the enrollment is taking place.
MaxCapacity integer How many people can attend.
WebCapacity integer How many people can signup online. Default: **0**
WaitlistCapacity integer How many people can waitlist. Default:**0**
BookingStatus string One of: PaymentRequired, BookAndPayLater, Free
AllowOpenEnrollment boolean Allow clients to choose which sessions they’d like to sign up for. Default: **false**
AllowDateForwardEnrollment boolean Allow booking after the enrollment has started. Default: **false**
PricingOptionsProductIds array Pricing Options for this schedule
ShowToPublic boolean Allow clients to see this schedule Default: **true**
View JSON Schema on GitHub

JSON Schema

public-api-v6-add-class-enrollment-schedule-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mindbody/refs/heads/main/json-schema/public-api-v6-add-class-enrollment-schedule-request-schema.json",
  "title": "AddClassEnrollmentScheduleRequest",
  "description": "Implementation of the 'AddClassEnrollmentScheduleRequest' model.",
  "type": "object",
  "properties": {
    "ClassDescriptionId": {
      "type": "integer",
      "format": "int32",
      "description": "The Id of the class/enrollment description. This can be found in GetClassDescriptions.",
      "example": 123456
    },
    "LocationId": {
      "type": "integer",
      "format": "int32",
      "description": "The Location Id of the enrollment schedule.",
      "example": 123456
    },
    "StartDate": {
      "type": "string",
      "format": "date-time",
      "description": "The start date of the enrollment schedule.",
      "example": "2026-05-28T14:30:00Z"
    },
    "EndDate": {
      "type": "string",
      "format": "date-time",
      "description": "The end date of the enrollment schedule.",
      "example": "2026-05-28T14:30:00Z"
    },
    "StartTime": {
      "type": "string",
      "format": "date-time",
      "description": "Enrollment start time (use null or omit for TBD).",
      "example": "2026-05-28T14:30:00Z"
    },
    "EndTime": {
      "type": "string",
      "format": "date-time",
      "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": "integer",
      "format": "int32",
      "description": "The staff member teaching the enrollment.",
      "example": 123456
    },
    "StaffPayRate": {
      "type": "integer",
      "format": "int32",
      "description": "The staff pay rate. Must be between 1-21.",
      "example": 1
    },
    "ResourceId": {
      "type": "integer",
      "format": "int32",
      "description": "The room where the enrollment is taking place.",
      "example": 123456
    },
    "MaxCapacity": {
      "type": "integer",
      "format": "int32",
      "description": "How many people can attend.",
      "example": 1
    },
    "WebCapacity": {
      "type": "integer",
      "format": "int32",
      "description": "How many people can signup online. Default: **0**",
      "example": 1
    },
    "WaitlistCapacity": {
      "type": "integer",
      "format": "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": "integer",
        "format": "int32"
      },
      "description": "Pricing Options for this schedule",
      "example": [
        1
      ]
    },
    "ShowToPublic": {
      "type": "boolean",
      "description": "Allow clients to see this schedule Default: **true**",
      "example": true
    }
  }
}