latestOpenAPI 3.0.22026-07-26480119.6 KB
bc65b4950c7e
Partner::Events
Create an Event
Request to create events/classes to be consumed by 'Totalpass Students'. All fields in the payload are mandatory.
post/partner/events
Parameters
#/paths/~1partner~1events/get/parameters/0 — unresolved $ref
Request body
Example request
{
"title": "Yoga",
"responsible": "Cisne",
"duration": 45,
"slots": 1,
"planId": 1,
"seatMapId": null,
"timezone": "es-MX",
"startDate": "2023-09-06",
"endDate": "2023-09-07",
"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.",
"frequencyOptions": [
{
"weekday": 4,
"startTime": [
"15:00"
]
},
{
"weekday": 3,
"startTime": [
"15:00"
]
}
]
}Response
Created a event
object required