Jobs
POST /jobs/{jobId}/phases/{jobPhaseId}/reopen
Reopens a job phase, reversing it out of To Invoice/Invoiced back to an in-progress state.
Requires the CAN_UNLOCK_SITE_VISIT permission. A phase that cannot be reopened (e.g. not yet ready for invoice) returns a 400 with the reason.
Request
- Base URLhttps://api.fergus.com
- Auth
- OAuth 2Authorization codehttps://auth.fergus.com/oauth2/authorizeToken URLhttps://auth.fergus.com/oauth2/token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
jobIdnumber required
jobPhaseIdnumber required
Response
Job phase reopened
Changes
No recorded changes to this operation across all 19 revisions of this API.