Skip to main content

Get a List of Job Stock

Returns a list of the stock items associated with a specific job.

Query String Parameters

NameTypeDescriptionRequired
ActionStringJobStockRequired
JobIdIntRequired
JobRefStringJob referenceRequired
JobCustRefIntJob customer referenceRequired
note

Only one of JobId, JobRef and JobCustRef is required. If more than one is supplied the first in this order will be used. When calling the JobStock function the results can be different for different stages of the job lifecycle.

  • Before a job is completed the stock returned is the stock that is planned to be used on the job.

  • Once the job is completed the stock returned by this method will list the items actually used on the job.

  • You can differentiate between the two with the "Confirmed" field – when true the stock has actually been used, when false the stock is planned to be used.

Response Codes

CodeMessageInformation
2Invalid job reference

Example

Request URL

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