Get a List of Stock Items on Planned Jobs
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | FindStockOnPlannedJobs | Required |
StockItemId | Int | Filter by StockItemId of the stock item assigned to the planned job. | Required |
Response Codes
Code | Message | Information |
---|---|---|
0 | Response Data | See 'Response' example tab |
2 | Stockitemid is missing or is in an incorrect format | Integer value is invalid or was not specified (when required) |
2 | StockItem: {stockItemId} does not exist in JobWatch | No record found using the specified parameters |
0 | There are no jobs associated with StockItem: {stockItem.StockItemId} | No record found using the specified parameters |
0 | The job stock does not include the following: {stockItem.StockItemId} | No record found using the specified parameters |
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=FindStockOnPlannedJobs&StockItemId=197217
Response Data
{ "Code": 0, "Result": [ { "JobId": 46338319, "JobReference": " ED/7337", "ContactName": "Joe Bloggs Ltd", "StockMakeModel": "CALAMP 2600", "StockReference": "4634047960", "JobStockId": 25376662 } ] }