Skip to main content

Cancel a Job

This web service allows you to cancel or permanently delete a job using a reference or a job Id.

Query String Parameters

NameTypeDescriptionRequired
ActionStringJobCancelRequired
JobIdIntThe unique identifier of the job, which can be retrieved using any of the methods listed under add something here.Required - See Tip
JobReferenceStringThe reference of the job that is input as free text.Required - See Tip
CancelRecurringJobsBoolAllows you to cancel the recurring jobs.Optional
CancelReasonStringAllows you to add a cancellation note.Optional
KeepJobBoolAllows you to permanently delete the job. See note.Optional

tip
Either the Job Id or Reference can be supplied. If both parameters are provided, the Job Id will take precedence.
note

The default for this parameter is true. Setting this parameter to false will allow you to delete the job from your records. This deletes any record that the job existed.

Response Codes

CodeMessageInformation
0new { jobId = j.JobId }
0null
2Missing parameter - jobId or jobRef
2Cannot find job

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=jobcancel