POST Subscriber/{subscriberId}/Scheduling/Reservations/FinalizeRecurring

Finalizes a group of recurring reservations(classes/enrollments)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriberId

string

None.

Body Parameters

RecurringReservationFinalizationModel
NameDescriptionTypeAdditional information
ClassId

ID of class client was registered for

integer

None.

ReservationGroupId

ID of group of reservations the client was registered for

integer

None.

RecurrenceUnit

Recurrence units of the recurring reservation (weeks/months)

RecurrenceUnit

None.

RecurrenceInterval

Number of recurrence units between reservations

integer

None.

NotifyConsumer

Whether the consumer should receive a notification (email/sms/push) after the reservations are finalized.

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ClassId": 1,
  "ReservationGroupId": 2,
  "RecurrenceUnit": 0,
  "RecurrenceInterval": 3,
  "NotifyConsumer": true
}

application/xml, text/xml

Sample:
<RecurringReservationFinalizationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Api.Subscriber.Areas.Scheduling.Models">
  <ClassId>1</ClassId>
  <NotifyConsumer>true</NotifyConsumer>
  <RecurrenceInterval>3</RecurrenceInterval>
  <RecurrenceUnit>None</RecurrenceUnit>
  <ReservationGroupId>2</ReservationGroupId>
</RecurringReservationFinalizationModel>

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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.