Skip to main content

Get a List of Stock Worksheets for a Job

Retrieves a list of worksheets based on jobs stock item.

Query String Parameters

NameTypeDescriptionRequired
ActionStringGetStockWorksheetsForJobRequired
JobIdIntFilter by JobId.Required
JobRefStringFilter by Job Reference.Required
StockItemIdIntFilter by StockItemId. Filter the worksheets by a stock item Id. If left empty all stock items will be processed.Optional
UseMovementBoolUses the stock movement for the job to retrieve stock items instead of the job stock.Optional

Response Codes

CodeMessageInformation
0Response DataSee 'Response' example tab
0There are no worksheets for the job specified.No record found using the specified parameters
2You must specify a valid JobId or JobReference parameter.Mandatory parameter was not supplied
2The StockItemId is missing or is in an incorrect format.Integer value is invalid or was not specified (when required)
2The JobId or JobReference provided does not return a valid job.No record found using the specified parameters
2The job has no stock items assigned to it from the parameters supplied.No record found using the specified parameters
2The job has no stock items assigned to it.No record found using the specified parameters

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=GetStockWorksheetsForJob&JobId=60853970