Mindbody · Schema
UpdateClassEnrollmentScheduleRequest
Implementation of the 'UpdateClassEnrollmentScheduleRequest' model.
FitnessWellnessBeautySchedulingBookingPoint of SaleStudiosSalonsSpasWebhooks
Properties
| Name | Type | Description |
|---|---|---|
| ClassId | integer | The class id, a block of schedules |
| ClassDescriptionId | integer | Used only internally, overridden if sent |
| LocationId | integer | The location where the class is taking place |
| StartDate | string | Class start time (use null for TBD) |
| EndDate | string | Class end time (ignored if StartTime is null) |
| StartTime | string | Class start time (use null for TBD) |
| EndTime | string | Class end time (ignored if StartTime is null) |
| DaySunday | boolean | (optional) - If the class occurs on Sunday (ignored if EndDate is null) |
| DayMonday | boolean | (optional) - If the class occurs on Monday (ignored if EndDate is null) |
| DayTuesday | boolean | (optional) - If the class occurs on Tuesday (ignored if EndDate is null) |
| DayWednesday | boolean | (optional) - If the class occurs on Wednesday (ignored if EndDate is null) |
| DayThursday | boolean | (optional) - If the class occurs on Thursday (ignored if EndDate is null) |
| DayFriday | boolean | (optional) - If the class occurs on Friday (ignored if EndDate is null) |
| DaySaturday | boolean | (optional) - If the class occurs on Saturday (ignored if EndDate is null |
| StaffId | integer | The staff member teaching the class |
| StaffPayRate | integer | The staff pay rate |
| ResourceId | integer | (optional) - The room where the class is taking place |
| MaxCapacity | integer | How many people can attend |
| WebCapacity | integer | How many people can signup online (if 0 clients cannot signup online) |
| WaitlistCapacity | integer | One of: PaymentRequired, BookAndPayLater, Free |
| BookingStatus | string | One of: PaymentRequired, BookAndPayLater, Free |
| AllowOpenEnrollment | boolean | Allow clients to choose which sessions they'd like to sign up for |
| AllowDateForwardEnrollment | boolean | Allow booking after the enrollment has started |
| RetainScheduleChanges | boolean | Whether or not to retain manual schedule changes within the date range |
JSON Schema
{
"$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-update-class-enrollment-schedule-request-schema.json",
"title": "UpdateClassEnrollmentScheduleRequest",
"description": "Implementation of the 'UpdateClassEnrollmentScheduleRequest' model.",
"type": "object",
"properties": {
"ClassId": {
"type": "integer",
"format": "int32",
"description": "The class id, a block of schedules",
"example": 123456
},
"ClassDescriptionId": {
"type": "integer",
"format": "int32",
"description": "Used only internally, overridden if sent",
"example": 123456
},
"LocationId": {
"type": "integer",
"format": "int32",
"description": "The location where the class is taking place",
"example": 123456
},
"StartDate": {
"type": "string",
"format": "date-time",
"description": "Class start time (use null for TBD)",
"example": "2026-05-28T14:30:00Z"
},
"EndDate": {
"type": "string",
"format": "date-time",
"description": "Class end time (ignored if StartTime is null)",
"example": "2026-05-28T14:30:00Z"
},
"StartTime": {
"type": "string",
"format": "date-time",
"description": "Class start time (use null for TBD)",
"example": "2026-05-28T14:30:00Z"
},
"EndTime": {
"type": "string",
"format": "date-time",
"description": "Class end time (ignored if StartTime is null)",
"example": "2026-05-28T14:30:00Z"
},
"DaySunday": {
"type": "boolean",
"description": "(optional) - If the class occurs on Sunday (ignored if EndDate is null)",
"example": true
},
"DayMonday": {
"type": "boolean",
"description": "(optional) - If the class occurs on Monday (ignored if EndDate is null)",
"example": true
},
"DayTuesday": {
"type": "boolean",
"description": "(optional) - If the class occurs on Tuesday (ignored if EndDate is null)",
"example": true
},
"DayWednesday": {
"type": "boolean",
"description": "(optional) - If the class occurs on Wednesday (ignored if EndDate is null)",
"example": true
},
"DayThursday": {
"type": "boolean",
"description": "(optional) - If the class occurs on Thursday (ignored if EndDate is null)",
"example": true
},
"DayFriday": {
"type": "boolean",
"description": "(optional) - If the class occurs on Friday (ignored if EndDate is null)",
"example": true
},
"DaySaturday": {
"type": "boolean",
"description": "(optional) - If the class occurs on Saturday (ignored if EndDate is null",
"example": true
},
"StaffId": {
"type": "integer",
"format": "int32",
"description": "The staff member teaching the class",
"example": 123456
},
"StaffPayRate": {
"type": "integer",
"format": "int32",
"description": "The staff pay rate",
"example": 1
},
"ResourceId": {
"type": "integer",
"format": "int32",
"description": "(optional) - The room where the class 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 (if 0 clients cannot signup online)",
"example": 1
},
"WaitlistCapacity": {
"type": "integer",
"format": "int32",
"description": "One of: PaymentRequired, BookAndPayLater, Free",
"example": 1
},
"BookingStatus": {
"type": "string",
"description": "One of: PaymentRequired, BookAndPayLater, Free",
"example": "Active"
},
"AllowOpenEnrollment": {
"type": "boolean",
"description": "Allow clients to choose which sessions they'd like to sign up for",
"example": true
},
"AllowDateForwardEnrollment": {
"type": "boolean",
"description": "Allow booking after the enrollment has started",
"example": true
},
"RetainScheduleChanges": {
"type": "boolean",
"description": "Whether or not to retain manual schedule changes within the date range",
"example": true
}
}
}