Pike13 For Developers
Get Started
Authentication
Core API
Reporting API
Webhooks API
Announcements

Core API Documentation

Waitlist Eligibility

Waitlist eligibility information for People for an Event Occurrence.

Front

GET /api/v2/front/event_occurrences/:event_occurrence_id/waitlist_eligibilities

Returns a collection of waitlist eligibility options for a person and their dependents.

Show curl example

REQUEST
$ curl https://mybiz.pike13.com/api/v2/front/event_occurrences/1/waitlist_eligibilities \
  -H "Authorization: Bearer XXXXXXXXXXXXXXX"

RESPONSE
{
  "waitlist_eligibilities": [
    {
      "person_id": 3,
      "can_waitlist": false,
      "restrictions": [
        {
          "code": "waitlist_full",
          "description": "The waitlist is full"
        }
      ]
    }
  ]
}

Attributes

person_idintegerThe id of the person.
can_waitlistbooleanTrue if the person can be added to the waitlist
restrictionsarray

Array of restrictions preventing a person from being added to a waitlist

codestring

Waitlist restriction code

event_cancelledThe class is cancelled
event_deletedThe class is deleted
event_in_pastThe class occurs in the past
person_already_waitlistedThe person is already on the waitlist
person_already_enrolledThe person is already enrolled in the class
waitlist_fullThe waitlist is full
waitlist_disabledWaitlists are not enabled for this service
waitlist_unavailableWaitlists are not available for this type of service
unpaid_invoicesYou have unpaid invoices. Please pay them before enrolling.
descriptionstringLocalized text describing the waitlist restriction code