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.

idActivitystring

Activity id.

idRoomstring

Room id.

idScheduleinteger

Schedule id.

idScheduleGroupinteger

Schedule group id.

idStaffstring · nullable

Staff id.

isVisibleboolean

Visibility flag.

roomobject

Room details.

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": {
"name": "Yoga"
},
"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,
"idActivity": "AbC123",
"idRoom": "Rm987",
"idSchedule": 123,
"idScheduleGroup": 456,
"idStaff": null,
"isVisible": true,
"room": {
"name": "Room 1"
},
"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"
}

Responses

Accepted / processed.