Mindbody · JSON Structure

Public Api V6 Session Type Structure

Implementation of the 'SessionType' model. SessionType contains information about the session types in a business.

Type: object Properties: 13
FitnessWellnessBeautySchedulingBookingPoint of SaleStudiosSalonsSpasWebhooks

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

Properties

Type DefaultTimeLength StaffTimeLength Id Name OnlineDescription NumDeducted ProgramId Category CategoryId Subcategory SubcategoryId AvailableForAddOn

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-session-type-structure.json",
  "name": "SessionType",
  "description": "Implementation of the 'SessionType' model. SessionType contains information about the session types in a business.",
  "type": "object",
  "properties": {
    "Type": {
      "$ref": "#/components/schemas/TypeEnum",
      "description": "Contains the class description session type. Possible values are: * All * Class * Enrollment * Appointment * Resource * Media * Arrival"
    },
    "DefaultTimeLength": {
      "type": "int32",
      "description": "The default amount of time that a session of this type typically lasts.",
      "example": 1
    },
    "StaffTimeLength": {
      "type": "int32",
      "description": "The amount of time that a session of this type will last for a specific Staff (when applicable.)",
      "example": 1
    },
    "Id": {
      "type": "int32",
      "description": "This session type\u2019s unique ID.",
      "example": 123456
    },
    "Name": {
      "type": "string",
      "description": "The name of this session type.",
      "example": "Sunset Yoga Studio"
    },
    "OnlineDescription": {
      "type": "string",
      "description": "The online description associated with the appointment.",
      "example": "Example note for Mindbody Public API."
    },
    "NumDeducted": {
      "type": "int32",
      "description": "The number of sessions that this session type deducts from the pricing option used to pay for this type of session.",
      "example": 1
    },
    "ProgramId": {
      "type": "int32",
      "description": "This session type\u2019s service category ID.",
      "example": 123456
    },
    "Category": {
      "type": "string",
      "description": "This session type\u2019s category.",
      "example": "example-value"
    },
    "CategoryId": {
      "type": "int32",
      "description": "This session type\u2019s category ID.",
      "example": 123456
    },
    "Subcategory": {
      "type": "string",
      "description": "This session type\u2019s subcategory.",
      "example": "example-value"
    },
    "SubcategoryId": {
      "type": "int32",
      "description": "This session type\u2019s subcategory ID.",
      "example": 123456
    },
    "AvailableForAddOn": {
      "type": "boolean",
      "description": "This session type\u2019s Add On Flag.",
      "example": true
    }
  }
}