Create an Event

Request to create events/classes to be consumed by 'Totalpass Students'. All fields in the payload are mandatory.

Body Params
string
required

Title of the class/event.

string
required

Name of the responsible person.

integer
required

Duration of the class in minutes.

integer
required

Number of slots allocated for Totalpass Students.

integer
required

Numeric ID that represents the Gym Plan.

string
enum
required

Timezone of the event/class location. Possible values: 'pt-BR' and 'es-MX'.

Allowed:
date
required

Start date of the occurrence duration* (format: 'YYYY-MM-DD').

date
required

End date of the occurrence duration* (format: 'YYYY-MM-DD').

integer

Numeric ID that represents the Seat Map.

string
enum

Event status, can be ACTIVE, INACTIVE or HIDDEN.

Allowed:
string

Description of the event/class.

frequencyOptions
array of objects
required

Array of objects containing information about the frequency of occurrences*.

frequencyOptions*
Headers
string
required

jwt used for authentication

Responses

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json