DELETE api/order/Service/{OrderServiceID}/StockNumber/{StockNumberID}
This APi deletes the reservation of stock numbers. This method uses the OrderService ID and Range number
Note: The target stock numbers to be deleted must belong to a quote and not an order
Error Messages
- 500/Internal Server Error - Error retrieving the Order Service with ID x.
- 404/Not Found - OrderServiceID x not found - Specified ID does not exist.
- 403/Forbidden - Only quotes can be updated - The specified ID is assigned to a Order and not a quote.
- 404/Not Found - Stocknumber x not found in Service y - The specified Stock Number ID does not exist on the specified Order Service ID.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
OrderServiceID | Order Service ID of which is to have a stock number deleted | integer |
Required |
StockNumberID | The ID of the stock number to be deleted | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
None.