Skip to main content

Update a Job Reference

This web service allows the update of a jobs reference. The service will reject any update that would result in a duplicate job reference

Query String Parameters

NameTypeDescriptionRequired
ActionStringJobUpdateReferenceRequired
JobIdIntThe unique identifier of the job, which can be retrieved using any of the methods listed under add something here.Required
JobRefStringThe reference of the job that is input as free text.Required
TargetJobRefStringNew Job Reference to apply to the job - must be unique.Required
ReturnTypeInt Alters the details returned from a successful call
  • 0– Returns JobID (Default)
  • 1– Returns JobId + JobReference
  • 2- Returns JobId + JobGroupID (if job is in a job group)
  • 3- Returns JobId + JobReference + JobGroupID (if job is in a job group)
Optional

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

Response Codes

CodeMessageInformation
0jobResponse
2Existing job has target job reference : No Update
2JobId or jobRef parameter expected : No Update
2Invalid JobdId parameter : No Update
2Unable to locate Source Job : No Update
2Cannot Update JobRef when JobStatus >= Started : No Update
2e.Message
2targetjobref parameter expected : No Update

Example

Request URL

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