POST Subscriber/{subscriberId}/Scheduling/Reservations/Cancellations/Finalize
Finalizes a list of cancelled reservations(classes/enrollments)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subscriberId | string |
None. |
Body Parameters
ReservationCancellationFinalizationModelName | 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. |
IgnoredConsumerChannels |
List of channels that should be ignored for notifications |
Collection of ContactChannel |
None. |
Request Formats
application/json, text/json
Sample:
{ "ReservationIds": [ 1, 2 ], "NotifyConsumer": true, "IgnoredConsumerChannels": [ 1, 1 ] }
application/xml, text/xml
Sample:
<ReservationCancellationFinalizationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Api.Subscriber.Areas.Scheduling.Models"> <IgnoredConsumerChannels> <ContactChannel>Email</ContactChannel> <ContactChannel>Email</ContactChannel> </IgnoredConsumerChannels> <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> </ReservationCancellationFinalizationModel>
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.