How to add a Registrant to a Waitlist using the API?
I have a C# application that successfully adds registrants to an existing event. However, I have been unable to add registrants to the Waitlist when the event has reached its limit.
The following documentation on the web shows how to add registrations to an event:
However, I have been unable to locate similar documentation for adding to the Waitlist. Does anyone know how to add new registrants to an Event's Waitlist?
Appreciate any assistance.
-
Paul commented
Grigory,
I have tested the option OnWaitlist=true and it works when using the Admin API (api.wildapricot.org/v2.2). Thanks very much.
I should clarify my earlier comments, I was able to eventually get the ForWaitList=true option working for the non-Admin API (api.wildapricot.org/publicview/v1) (my mistake, I did not initially realise registering on the WaitList was only enabled for the non-Admin API). -
Hello Paul,
We've added the possibility to add registrants to a waitlist in the 8.8 release.
Now you can set the OnWaitlist=true during adding the new registration for this case. The waitlist should be turned on in the event and/or ticket type settings. -
Paul commented
Sorry Michel for the slow response, I had a couple other projects on the go.
This is still not working for me. With my application, if a new person is registered for an event that has reached its limit, that person is not placed on the Wait List. Instead, the limit is ignored and the new person is registered for the event. The API response is: "OnWaitlist": false. -
Michel commented
I do see that your request Paul is 2 yrs old, but thought I would add a response for anyone finding your post:
The proper method of adding someone to an event waitlist using the API is to just register them normally to the event and the API response will indicate if they were added to the waitlist or not depending on if the event is full.