latestOpenAPI 3.0.22026-07-26480119.6 KB

bc65b4950c7e

Partner::Events

Update an Event

Request to update events/classes within all respective EventOccurrence. All fields in the payload are mandatory. The slots filen cannot be reduced, only increased.

put/partner/events/{eventId}

Path parameters

eventIdnumber required

Global Identification of Event

Parameters

#/paths/~1partner~1events/get/parameters/0 — unresolved $ref

Request body

titlestring required

Title of the class/event.

responsiblestring required

Name of the responsible person.

durationinteger required

Duration of the class in minutes.

slotsinteger required

Number of slots allocated for Totalpass Students.

descriptionstring

Description of the event/class.

Example request

{
  "title": "Yoga",
  "responsible": "Cisne",
  "duration": 45,
  "slots": 1,
  "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