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
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DeleteInventoryBasisLineRequest'.

Response Information

Resource Description

Both IDs of the delete line

DeleteInventoryBasisLineResponse
NameDescriptionTypeAdditional information
InventoryBasisHeadId

globally unique identifier

Required

Id

integer

Required

Response Formats

application/json, text/json

Sample:

Sample not available.