v1

latestOpenAPI 3.0.1Apache 2.02026-07-2473111182.6 KB
Course

List courses

Get a list of courses for the specified business id and branch id. There is a possibility to include archived courses

get/api/business/{businessId}/branch/{branchId}/course

Path parameters

businessIdstring required
branchIdstring required

Query parameters

includeArchivedboolean

include archived courses in the list

number of course records to return, max is 100

page number, default is 0 and is optional

Response

Courses listed

Example response

{
  "_embedded": {
    "courses": [
      {
        "courseId": "ab123",
        "courseName": "10 x Massage",
        "availableOnline": true,
        "multiBranchCourse": true,
        "minDaysBetweenSessions": 7,
        "maxDaysBetweenSessions": 30,
        "totalPrice": 100,
        "courseItems": [
          {
            "courseItemId": "ab123",
            "unitType": "SESSIONS, MINUTES",
            "totalUnits": 10,
            "totalPrice": 100,
            "serviceId": "service1"
          }
        ]
      }
    ]
  }
}