latestOpenAPI 3.0.22026-07-26480119.6 KB
bc65b4950c7e
Partner::Individual Events
Create an Event without recurrence
Request to create an occurrence of an event/class to be consumed by 'Totalpass Students'.
⚠️ IMPORTANT: Except for 'bookingWindow', 'maxTimeToCancel', and 'externalReference', ALL fields in the payload are mandatory.
Booking Window Rules:
- If the 'bookingWindow' object is provided, BOTH 'minTimeToBook' and 'maxTimeToBook' become mandatory.
- Chronological Order: 'minTimeToBook' must be a date/time BEFORE 'maxTimeToBook'.
- Logical Flow:
- minTimeToBook: The earliest a student can book.
- maxTimeToBook: The deadline/cutoff for booking.
post/partner/event-occurrence
Parameters
#/paths/~1partner~1events/get/parameters/0 — unresolved $ref
Request body
Example request
{
"title": "Yoga",
"responsible": "Cisne",
"duration": 45,
"slots": 1,
"planId": 1,
"timezone": "es-MX",
"eventDate": "2023-09-06",
"description": "A Yoga melhora o funcionamento do coração, pois regula a circulação sanguínea e o sistema nervoso, além de equilibrar o sistema endócrino, controlando os níveis de hormônios do estresse."
}Response
Created a event
object required