Rental Cancelation Policies

  1. List rental cancelation policies
  2. Get a single rental cancelation policy

Parameters

Name Type Read/Write Description
id Integer Read Rental cancelation policy’s id.
body String Read Rental cancelation policy’s body in Account’s default locale.
body_translations Object Read Rental cancelation policy’s body, list of locales described in enums section.
created_at Time Read Rental cancelation policy’s create time.
updated_at Time Read Rental cancelation policy’s update time.

List rental cancelation policies

List all rental cancelation policies for given account(s).

GET /rental_cancelation_policies

Response

{
  "links": {
    "rental_cancelation_policies.rental": "https://www.bookingsync.com/api/v3/rentals/{rental_cancelation_policies.rental}",
    "rental_cancelation_policies.rental_cancelation_policy_items": "https://www.bookingsync.com/api/v3/rental_cancelation_policy_items/{rental_cancelation_policies.rental_cancelation_policy_items}"
  },
  "rental_cancelation_policies": [
    {
      "id": 1,
      "body": "Cancellation Policy: \nIn case of cancelation the downpayment paid upon booking is non-refundable.",
      "body_translations": {
        "en": "Cancellation Policy: \nIn case of cancelation the downpayment paid upon booking is non-refundable.",
        "fr": "Annulation : \nEn cas d'annulation l'acompte payé lors de la réservation ne sera pas remboursé."
      },
      "created_at": "2018-01-11T11:52:47Z",
      "updated_at": "2018-01-11T11:52:47Z",
      "links": {
        "rental": 1,
        "rental_cancelation_policy_items": [
          1,
          2
        ]
      }
    }
  ]
}

Get a single rental cancelation policy

Returns a single rental cancelation policy identified by ID.

GET /rental_cancelation_policies/:rental_cancelation_policy_id

Response

{
  "links": {
    "rental_cancelation_policies.rental": "https://www.bookingsync.com/api/v3/rentals/{rental_cancelation_policies.rental}",
    "rental_cancelation_policies.rental_cancelation_policy_items": "https://www.bookingsync.com/api/v3/rental_cancelation_policy_items/{rental_cancelation_policies.rental_cancelation_policy_items}"
  },
  "rental_cancelation_policies": [
    {
      "id": 1,
      "body": "Cancellation Policy: \nIn case of cancelation the downpayment paid upon booking is non-refundable.",
      "body_translations": {
        "en": "Cancellation Policy: \nIn case of cancelation the downpayment paid upon booking is non-refundable.",
        "fr": "Annulation : \nEn cas d'annulation l'acompte payé lors de la réservation ne sera pas remboursé."
      },
      "created_at": "2018-01-11T11:52:47Z",
      "updated_at": "2018-01-11T11:52:47Z",
      "links": {
        "rental": 1,
        "rental_cancelation_policy_items": [
          1,
          2
        ]
      }
    }
  ]
}