Update Time and Action Planned Ship Begin Date
PUT/api/v1/time-and-actions/:id
Update the planned ship begin date of an Upcoming, New or In-Progress T&A, as the T&A creator. Or change the T&A status (start, cancel, abort or complete) with the same rules as the app. Send plannedShipBeginDate or status, not both. The shipment delay is worked out from the PO ship date, as in the UI. A later date needs delayed-shipment reason codes when the owner uses them; an earlier date needs a comment when the owner's early-shipment setting is on.
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- 429
- 500
OK
Bad request, e.g. "Delayed T&A must have at least one late reason code", "Early T&A must have a comment" or "Send plannedShipBeginDate or status, not both."
Unauthorized
The planned ship begin date can't be updated (the caller is not the T&A creator, the T&A is not Upcoming, New or In-Progress, or it is pending review or pending split), or the status change isn't allowed; the message says why (e.g. wrong status, wrong side, pending review or split, required milestones not done, late milestones without reason code)
The T&A does not exist or is not visible to the caller
Rate-limiting Error
Internal Error