v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Fetch a list of booked users of a Workshop event

Purpose: Use this API to fetch a list of all the booked users of a particular workshop event.

You must specify workshop_id with center_id and session_id as query params.

get/v1/workshops/{workshop_id}/registrations

Path parameters

workshop_idinteger required

Unique identifier of the workshop event.

Query parameters

center_idstring required

Unique identifier of the center.

session_idstring required

Unique identifier of the session.

expandstring

(optional) Specify the value of this parameter as session or status_count and the API response will return those details.

pageinteger

(optional) Number of display details. Pagination information

sizeinteger

optional parameter

Response

200

OR
OR

Example response

{
  "registrations": [
    {
      "id": 30614,
      "guest": {
        "id": "329c4c16-ee0a-4a47-aec7-df9b6daa7aa0",
        "name": "Supreet Singh",
        "phone": "84394944"
      },
      "session_id": -1,
      "indicators": "0@0@0@0@1@0@0@x@0@0@x@x@2",
      "payment_source": "Enrolled",
      "booked_from": "Direct",
      "registration_source": "Zenoti",
      "status": 8,
      "registration_dt": "2020-09-03T13:22:56",
      "notes": "Supreet Singh's Festival Series Package Expires on : Sep 25, 2013\t\t\t\t\t",
      "last_updated": "2020-09-03T13:22:56"
    }
  ],
  "page_details": {
    "total": 11,
    "page": 1,
    "size": 2
  }
}