CancelRentalOrder

Paths

Example

Example request object

{
  "RentalOrderID": "00000000-0000-0000-0000-000000000000",
  "ReasonID": "00000000-0000-0000-0000-000000000000",
  "ReasonDescription": "string_example",
  "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": {
    "ValidatedRentalOrder": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "RentalNo": 0,
      "RentalWebNo": 0,
      "WebCreated": false,
      "RentalOrderStatus": 0,
      "RentalAdministrativeStatus": 0,
      "CreationDate": "2024-12-03T18:36:54.1013954+01:00",
      "Customer": null,
      "StartDateTime": "2024-12-03T18:36:54.1013954+01:00",
      "EndDateTime": "2024-12-03T18:36:54.1013954+01:00",
      "PlannedDeliveryDateTime": "2024-12-03T18:36:54.1013954+01:00",
      "PlannedReturnDateTime": "2024-12-03T18:36:54.1013954+01:00",
      "CancelDate": "2024-12-03T18:36:54.1013954+01:00",
      "CancelDescription": null,
      "Comment": null,
      "RentalLocation": null,
      "TotalAmount": 0.0,
      "RentalOrderLines": null,
      "Warranty": 0.0,
      "Deletable": false,
      "DeliveryAddress": null,
      "CustomerContact": null,
      "AmountExcVat": 0.0,
      "VatAmount": 0.0,
      "EmployeeTasks": null,
      "ReservationId": "00000000-0000-0000-0000-000000000000",
      "ActivityName": null
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response