v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Retrieve the session registrations of a center

This API helps you to retrieve the list of class session registrations in the specified center.

You must provide the appropriate details in the API request for the session_id parameter. Optionally, you can also specify the required details in the API request for the StatusString parameter to filter the search results by registration status in the API response. Refer to the Request Parameters table for more information.

get/Appointments/Sessions/40747?SessionId={session_id}&StatusString={StatusString}

Query parameters

session_idinteger required

Mandatory Unique identifier of the class session registration.

StatusString''

Optional Filters the search results by registration status in the API response. This parameter accepts multiple values separated by commas. Registered = 0, Cancelled = 1, NoShow = 2, SignedIn = 3, Waitlisted = 4, Substituted = 5, ClassCancelled = 6, Closed = 7, Enrolled = 8, and Rejected = 9.

Response

200

{"stackTrail":"paths:/Appointments/Sessions/40747?SessionId={session_id}&StatusString={StatusString}:get:responses:200:content:application/json:schema:properties:Error","oasType":"schema","type":"unknown"}

Example response

{
  "results": [
    {
      "UserId": "9ec4a8d4-eedb-4c1b-b418-8ebaef989b9d",
      "SessionFK": 41002,
      "SessionId": 41002,
      "RegistrationPK": 50988,
      "RegistrationId": 50988,
      "indicators": "0@1@0@0@0@0@0@x@0@0",
      "Name": "Sagar Akkineni",
      "Email": "akki@gmail.com",
      "Mobile": "1876818768",
      "PaymentSource": "Not Paid",
      "BookedFrom": "Web",
      "invoiceId": "11dfce9a-deff-4b7f-88fa-6c91c06252d8",
      "AppGroupId": "e664e9fe-3359-43bd-bcb3-caa147558a66",
      "registrationdt": "2020-07-17T14:51:29.2",
      "UserCode": "25",
      "SortOrder": 1,
      "LastUpdated": "2020-07-17T14:51:29.2"
    }
  ]
}