Bookings
Cd Decision
Commercial Director review at GATE_CD_APPROVAL — final review tier (global, not category-scoped). Requires prior CM approval.
Neither path changes BookingOrder.status — the decision is a gate on the commercial-service workflow only. inv-service writes an audit log entry so the back-office can see the decision and any remarks.
Approve: log CD_APPROVED → notify commercial-service (cd_approve → HoF gate). Reject: log CD_REJECTED → notify commercial-service (cd_reject → re-upload).
POST
Cd Decision
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
Successful Response
Previous
Send To TransitDispatch a STAGED booking to transit — STAGED → RUNNING.
Saga pattern:
1. Commit RUNNING to DB.
2. Notify commercial-service (with exponential-backoff retry on transient errors).
3. If notification still fails after all retries → compensate by reverting
RUNNING → STAGED so the operator can retry without data corruption.
Next
Cd Decision
