DELETE api/Inventory/Line
Delete a single inventory basis line
Request Information
URI Parameters
None.
Body Parameters
Contains head ID and row ID of line to delete
DeleteInventoryBasisLineRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| InventoryBasisHeadId |
The inventory basis head ID of the line to delete |
globally unique identifier |
Required |
| Id |
The ID of the line to delete |
integer |
Required |
Remarks
None.
Example
None.
Request Formats
application/json, text/json
Sample:
{
"InventoryBasisHeadId": "d04ca64e-b699-4998-8caf-71280c5c5e0c",
"Id": 2
}
application/xml, text/xml
Sample:
<DeleteInventoryBasisLineRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Stock"> <Id>2</Id> <InventoryBasisHeadId>d04ca64e-b699-4998-8caf-71280c5c5e0c</InventoryBasisHeadId> </DeleteInventoryBasisLineRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Both IDs of the delete line
DeleteInventoryBasisLineResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| InventoryBasisHeadId | globally unique identifier |
Required |
|
| Id | integer |
Required |
Response Formats
application/json, text/json
Sample:
Sample not available.