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": "2019-09-20T17:08:35.5723525+02:00",
      "Customer": null,
      "StartDateTime": "2019-09-20T17:08:35.5723525+02:00",
      "EndDateTime": "2019-09-20T17:08:35.5723525+02:00",
      "PlannedDeliveryDateTime": "2019-09-20T17:08:35.5723525+02:00",
      "PlannedReturnDateTime": "2019-09-20T17:08:35.5723525+02:00",
      "CancelDate": "2019-09-20T17:08:35.5723525+02: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