DeletePurchaseLine

Paths

Example

Example request object

{
  "PurchaseLineRequest": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "PurchaseId": "00000000-0000-0000-0000-000000000000",
    "ArticleId": "00000000-0000-0000-0000-000000000000",
    "Description": "string_example",
    "Description2": "string_example",
    "PurchaseUnitId": "00000000-0000-0000-0000-000000000000",
    "Quantity": 0.0,
    "StockLocationId": null,
    "Hours": null
  },
  "Context": {
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Language": "string_example",
    "ShopId": "00000000-0000-0000-0000-000000000000",
    "SessionId": "00000000-0000-0000-0000-000000000000",
    "Origin": 0,
    "Password": "string_example",
    "Encode": false,
    "AccessToken": "string_example"
  }
}

Example response object

{
  "Result": {
    "ValidationResult": {
      "IsValid": false,
      "Message": null,
      "brokenRuleName": null
    },
    "ResultState": 0,
    "PurchaseLine": {
      "QtyPerPurchaseUnit": 0.0,
      "Id": "00000000-0000-0000-0000-000000000000",
      "QuantityBase": 0.0,
      "PurchaseId": "00000000-0000-0000-0000-000000000000",
      "QtyReceivedBase": null,
      "ArticleId": "00000000-0000-0000-0000-000000000000",
      "UnitPrice": null,
      "Description": null,
      "UnitPriceInc": null,
      "Description2": null,
      "VatId": null,
      "PurchaseUnitId": "00000000-0000-0000-0000-000000000000",
      "VatPercentage": null,
      "Quantity": 0.0,
      "VatAmount": null,
      "StockLocationId": null,
      "DiscountPercentage": null,
      "Hours": null,
      "DiscountAmount": null,
      "LineAmount": null,
      "BaseAmount": null,
      "Amount": null,
      "IsVatInclusive": null,
      "PriceCalculationType": 0
    }
  }
}

ShouldBeExecuted

Postdata

Response