Set Job Due Date

Updates the due date of a job by id.

Method

PUT /job/{id}/duedate

Parameters

Path Parameters

Name Description
id The id of the job to be updated.

Request Body

A JSON object with the following properties:

Name Description
duedate The date to set when the job has the next execution.

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 set successfully. See the Introduction for the error response format.

Example

Request

PUT /job/aJobId/duedate

Request Body:

{"duedate": "2013-08-13 18:43:28"}

Response

Status 204. No content.

On this Page: