execute_booking_creation
Create exactly one booking using a fresh preparation reference, rechecking eligibility and target. Executes only after required account-holder confirmation and reconciles with fresh reads.
Instructions
Create exactly one booking from a fresh prepare_booking_creation reference. Recheck the target and eligibility, send at most one standard write, then reconcile with fresh reads. An uncertain result requires manual inspection before a new action. Read writeConfirmationRequired from preparation. Account context exposes separate bookingCreation and activityPublication settings in writeConfirmationPolicy; cancellation and deletion always require confirmation. When true, show the exact preview and obtain separate account-holder confirmation before execution with confirmed: true. When false, an explicit request for this exact action is sufficient; omit confirmed and do not ask for another confirmation. A query or preview-only request never authorizes execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gymId | No | ||
| confirmed | No | ||
| actionReference | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | Yes | ||
| action | Yes | ||
| status | Yes | ||
| target | Yes | ||
| notices | Yes | ||
| observedState | Yes |