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.
{
"$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
}
}
}