Skip to main content

Activity schedule updated

Sent when one or more activity schedules are updated.

activity_schedule.updated

See How webhooks work for the envelope, delivery semantics and retries.

Payload​

data is an array — each item has the following attributes:

activityobject

Activity details.

assistantinteger

Current assistants.

bookingSettingobject

Booking settings.

capacityinteger

Capacity.

currentStateinteger

Current schedule state (numeric enum).

dateProgramstring · date-time

Scheduled date (UTC).

durationinteger

Duration in minutes.

idinteger

Schedule id. Same value as the legacy `idSchedule`.

idActivitystring

Activity id.

idRoomstring

Room id.

idScheduleinteger

Schedule id. Legacy alias of `id`.

idScheduleGroupinteger

Schedule group id.

idStaffstring · nullable

Staff id. Legacy alias of `staff.id`.

isVisibleboolean

Visibility flag.

objectstring

Object type discriminator.

roomobject

Room details.

staffobject · nullable

Staff assigned to the schedule. Null when no staff is assigned.

targetAssistantinteger

Target assistants.

timeEndstring

End time (HH:mm:ss).

timeStartstring

Start time (HH:mm:ss).

Example payload

{
"center": {
"id": 1234,
"name": "Portales",
"publicToken": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
"data": [
{
"activity": {
"id": "AbC123",
"name": "Yoga",
"object": "activity"
},
"assistant": 0,
"bookingSetting": {
"bookedPlaces": 0,
"idScheduleRoomMap": null,
"isNumbered": false,
"isPayment": false,
"isReservable": true,
"maxBookingPlacesApp": 20,
"numberSeatByRow": 0
},
"capacity": 20,
"currentState": 1,
"dateProgram": "2025-01-02T00:00:00Z",
"duration": 60,
"id": 123,
"idActivity": "AbC123",
"idRoom": "Rm987",
"idSchedule": 123,
"idScheduleGroup": 456,
"idStaff": null,
"isVisible": true,
"object": "activity_schedule",
"room": {
"id": "Rm987",
"name": "Room 1",
"object": "room"
},
"staff": null,
"targetAssistant": 10,
"timeEnd": "10:30:00",
"timeStart": "09:30:00"
}
],
"dateCreated": "2025-01-01T12:00:00Z",
"eventType": "activity_schedule.updated",
"idEvent": "2f4f4d1e-7d8b-4ef4-ae1a-3c9f3e7f7f2a",
"version": "1"
}

Responses​

Accepted / processed.