DeletePurchaseOrder

Paths

Example

Example request object

{
  "PurchaseOrderRequest": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "EmployeeId": "00000000-0000-0000-0000-000000000000",
    "Reference": "string_example",
    "VendorId": "00000000-0000-0000-0000-000000000000",
    "VendorContactId": null,
    "PublicComment": "string_example",
    "PrivateComment": "string_example",
    "RequestedDeliveryDate": 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,
    "PurchaseOrder": {
      "OrderNo": null,
      "Id": "00000000-0000-0000-0000-000000000000",
      "OrderState": 0,
      "EmployeeId": "00000000-0000-0000-0000-000000000000",
      "PostingDate": null,
      "Reference": null,
      "CreationDate": "2024-11-23T09:16:08.9687465+01:00",
      "VendorId": "00000000-0000-0000-0000-000000000000",
      "PromisedDeliveryDate": null,
      "VendorContactId": null,
      "PurchaseLines": null,
      "PublicComment": null,
      "PrivateComment": null,
      "RequestedDeliveryDate": null
    }
  }
}

ShouldBeExecuted

Postdata

Response