Skip to main content

Remove Job Stock

This web service removes a specific line of stock from a job.

Query String Parameters

NameTypeDescriptionRequired
ActionStringJobDeleteStockRequired
JobIdIntThe unique identifier of the job, which can be retrieved using any of the methods listed under add something here.See Note
JobRefStringThe reference of the job that is input as free text.See Note
JobStockIdIntStock item Id.Required
note
Either the Job Id or Reference can be supplied. If both parameters are provided, the Job Id will take precedence.

Response Codes

CodeMessageInformation
0null
2JobId or JobRef parameter expected
2Invalid parameter - jobId
2Missing or invalid parameter - jobStockId
2Job not found
2No Stock Items on Job
2Unable to locate Job Stock Item

Example

Request URL

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