Rental Cancelation Policy Items

  1. List rental cancelation policy items
  2. Get a single rental cancelation policy item

Parameters

Name Type Read/Write Description
id Integer Read Rental cancelation policy item’s id.
eligible_days Integer Read Number of days before the check-in from which the penalty applies.
penalty_percentage Decimal Read Percentage of penalty from the booking price.
created_at Time Read Rental cancelation policy’s create time.
updated_at Time Read Rental cancelation policy’s update time.

List rental cancelation policy items

List all rental cancelation policy items for given account(s).

GET /rental_cancelation_policy_items

Response

{
  "links": {
    "rental_cancelation_policy_items.rental_cancelation_policy": "https://www.bookingsync.com/api/v3/rental_cancelation_policies/{rental_cancelation_policy_items.rental_cancelation_policy}"
  },
  "rental_cancelation_policy_items": [
    {
      "id": 1,
      "eligible_days": 120,
      "penalty_percentage": "10.0",
      "created_at": "2018-10-05T06:38:30Z",
      "updated_at": "2018-10-05T06:38:30Z",
      "links": {
        "rental_cancelation_policy": 1
      }
    }
  ]
}

Get a single rental cancelation policy item

Returns a single rental cancelation policy item identified by ID.

GET /rental_cancelation_policy_items/:rental_cancelation_policy_item_id

Response

{
  "links": {
    "rental_cancelation_policy_items.rental_cancelation_policy": "https://www.bookingsync.com/api/v3/rental_cancelation_policies/{rental_cancelation_policy_items.rental_cancelation_policy}"
  },
  "rental_cancelation_policy_items": [
    {
      "id": 1,
      "eligible_days": 120,
      "penalty_percentage": "10.0",
      "created_at": "2018-10-05T06:38:30Z",
      "updated_at": "2018-10-05T06:38:30Z",
      "links": {
        "rental_cancelation_policy": 1
      }
    }
  ]
}