dockSlots
Logistics module · 6 operations
List dock slot rows
GET/dock-slots
A dock slot booking. Returns a cursor page of dock slot rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.
Create a dock slot
POST/dock-slots
A dock slot booking. Creates a dock slot. 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 dock slot
GET/dock-slots/{id}
A dock slot booking. Returns one dock slot with its `ETag`. A dock slot the caller may not see returns 404.
Update a dock slot
PATCH/dock-slots/{id}
A dock slot booking. 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.
Delete a dock slot
DELETE/dock-slots/{id}
A dock slot booking. Soft-deletes the dock slot: it moves to Trash and can be restored for its table's retention period.
Check in at a dock slot
POST/dock-slots/{id}/check-in
Records the vehicle's check-in at the dock slot. Requires `Idempotency-Key`; a replay returns the original response. A rule that refuses the request returns 422 with `refusal` and `reason`.