Skip to main content

Approve a Draft plan (create an approval)

POST 

/slot-plans/:planId/approvals

Moves a Draft plan to Approved and publishes SlotPlanApproved with the full assignment map and the moves. The site's previously Approved plan, if any, becomes Superseded in the same transaction. Approving a plan that is not a Draft is a 409 plan-not-draft (final: stored and replayed under the same Idempotency-Key); losing a race to another approval of the same site is a 409 approved-plan-conflict or a 409 concurrent-modification (retryable: not stored, the key is released and a retry under the same key executes again).

Request​

Responses​

The plan is now Approved.

Response Headers
    Idempotency-Replayed

    true when the response is the stored answer of an earlier request with the same Idempotency-Key; absent on the first execution.