Open a requisition
POST/v1/requisitions/:id/open
Opens an approved or created requisition.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
Requisition opened
The requisition couldn't be opened. Error codes:
err_invalid_state_transition— the requisition is notapprovedorcreatederr_requisition_open_failed— the requisition has invalid data; the message gives the reason
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to manage this requisition, or the API key lacks the requisitions:write scope (err_insufficient_scope). Also returned when requisitions are not enabled for your account (err_requisition_feature_not_enabled).
Requisition not found (err_requisition_not_found).
Validation failed. Error codes:
err_on_behalf_of_not_allowed— a personal access token passed another user's IDerr_user_not_found—on_behalf_ofis not an active user in the accounterr_on_behalf_of_forbidden— that user is not allowed to perform this action