Update a Job Stock Quantity
This call updates a stock item within a job with a revised Stock Quantity which it will appear in the stocks details when viewing a job.
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | JobUpdateStockQty | Required |
JobStockId | Int | Stock line identifier within the Job. Returned when the stock line as added to the job using JobAddStock | Required |
StockQuantity | decimal | Updated quantity of stock from the Job. | Required |
Response Codes
Code | Message | Information |
---|---|---|
0 | null | |
2 | Missing or invalid parameter - jobStockId | |
2 | Missing or invalid parameter - stockQuantity | |
2 | Unable to locate Job Stock Item | |
2 | Unable to update Qty on non-consumable Item |
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=jobupdatestockqty
Response Data
{ "Code": 0, "Result": [ { "ContactNoteId": "12345" } ] }