Recalculate Job Due Date
Recalculates the due date of a job by id.
Method
POST /job/{id}/duedate/recalculate
Parameters
Path Parameters
Name | Description |
---|---|
id | The id of the job to be updated. |
Query Parameters
Name | Description |
---|---|
creationDateBased | Recalculate the due date based on the creation date of the job or the current date. Value may only be false , as true is the default behavior. |
Result
This method returns no content.
Response Codes
Code | Media type | Description |
---|---|---|
204 | Request successful. | |
404 | application/json | Job with given id does not exist. See the Introduction for the error response format. |
500 | application/json | The due date could not be recalculated successfully. See the Introduction for the error response format. |
Example
Request
POST /job/aJobId/duedate/recalculate
POST /job/aJobId/duedate/recalculate?creationDateBased=false
Response
Status 204. No content.