POST Subscriber/{subscriberId}/Scheduling/Reservations/Waitlist/Finalize
Finalizes a list of reservation from waitlist confirmations
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subscriberId | string |
None. |
Body Parameters
ReservationFinalizationModelName | Description | Type | Additional information |
---|---|---|---|
ReservationIds |
A list of reservation ids referencing reservations(classes/enrollments) to finalize |
Collection of integer |
None. |
NotifyConsumer |
Whether the consumer should receive a notification (email/sms/push) after the reservations are finalized. |
boolean |
None. |
AppendAdditionalClassMessage |
Whether or not we want to append a message to claim additional classes. |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ReservationIds": [ 1, 2 ], "NotifyConsumer": true, "AppendAdditionalClassMessage": true }
application/xml, text/xml
Sample:
<ReservationFinalizationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Api.Subscriber.Areas.Scheduling.Models"> <AppendAdditionalClassMessage>true</AppendAdditionalClassMessage> <NotifyConsumer>true</NotifyConsumer> <ReservationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </ReservationIds> </ReservationFinalizationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HTTP status code 200 OK
HTTP status code 400 BadRequest
HTTP status code 403 Forbidden
None.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.