Saltar al contenido

workforceEvents

Módulo Workforce · 7 operaciones

List workforce event rows

GET/workforce-events

A briefing, crew call or meeting for an audience, with RSVP, location, agenda and check-in. Returns a cursor page of workforce event rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create a workforce event

POST/workforce-events

A briefing, crew call or meeting for an audience, with RSVP, location, agenda and check-in. Creates a workforce event. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.

Get a workforce event

GET/workforce-events/{id}

A briefing, crew call or meeting for an audience, with RSVP, location, agenda and check-in. Returns one workforce event with its `ETag`. A workforce event the caller may not see returns 404.

Update a workforce event

PATCH/workforce-events/{id}

A briefing, crew call or meeting for an audience, with RSVP, location, agenda and check-in. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.

Cancel an event

POST/workforce-events/{id}/cancel

Cancels the event with a reason; cancellation is final. Requires `Idempotency-Key`; a replay returns the original response. A rule that refuses the request returns 422 with `refusal` and `reason`.

RSVP to an event

POST/workforce-events/{id}/rsvp

Records or changes the caller's RSVP. Requires `Idempotency-Key`; a replay returns the original response. A rule that refuses the request returns 422 with `refusal` and `reason`.

Check in to an event

POST/workforce-events/{id}/check-in

Checks the caller in, or another invitee when the caller organizes the event, from an hour before the start to the end. Requires `Idempotency-Key`; a replay returns the original response. A rule that refuses the request returns 422 with `refusal` and `reason`.