POST Subscriber/{subscriberId}/Scheduling/Appointments/Finalize
Finalizes a list of appointments
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subscriberId | string |
None. |
Body Parameters
AppointmentFinalizationModelName | Description | Type | Additional information |
---|---|---|---|
AppointmentIds |
A list of appointment ids referencing appointments to finalize |
Collection of integer |
None. |
NotifyConsumer |
Whether the consumer should receive a notification (email/sms/push) after the appointments are finalized. |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "AppointmentIds": [ 1, 2 ], "NotifyConsumer": true }
application/xml, text/xml
Sample:
<AppointmentFinalizationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Api.Subscriber.Areas.Scheduling.Models"> <AppointmentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </AppointmentIds> <NotifyConsumer>true</NotifyConsumer> </AppointmentFinalizationModel>
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.