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.
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_id | integer | The id of the person. | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| can_waitlist | boolean | True if the person can be added to the waitlist | ||||||||||||||||||||||||
| restrictions | array | Array of restrictions preventing a person from being added to a waitlist
|