1. List rental links
  2. Get a single rental link

Parameters

Name Type Read/Write Description
id Integer Read Rental link’s id.
kind String Read Rental link’s kind, list of rental link’s rate kinds described in enums section.
created_at Time Read Rental link’s create time.
updated_at Time Read Rental link’s update time.

List all rental link for a given account(s).

GET /rental_links

Response

{
  "links": {
    "rental_links.account": "https://www.bookingsync.com/api/v3/accounts/{rental_links.account}",
    "rental_links.destination_rental": "https://www.bookingsync.com/api/v3/rentals/{rental_links.destination_rental}",
    "rental_links.rental_link_group": "https://www.bookingsync.com/api/v3/rental_link_groups/{rental_links.rental_link_group}",
    "rental_links.source_rental": "https://www.bookingsync.com/api/v3/rentals/{rental_links.source_rental}"
  },
  "rental_links": [
    {
      "id": 1,
      "kind": "mirror",
      "created_at": "2017-11-09T09:08:17Z",
      "updated_at": "2017-11-09T09:08:17Z",
      "links": {
        "account": 1,
        "destination_rental": 2,
        "rental_link_group": 1,
        "source_rental": 3
      }
    }
  ],
  "meta": {
  }
}

Returns a single rental link identified by ID.

GET /rental_links/:rental_link_id

Response

{
  "links": {
    "rental_links.account": "https://www.bookingsync.com/api/v3/accounts/{rental_links.account}",
    "rental_links.destination_rental": "https://www.bookingsync.com/api/v3/rentals/{rental_links.destination_rental}",
    "rental_links.rental_link_group": "https://www.bookingsync.com/api/v3/rental_link_groups/{rental_links.rental_link_group}",
    "rental_links.source_rental": "https://www.bookingsync.com/api/v3/rentals/{rental_links.source_rental}"
  },
  "rental_links": [
    {
      "id": 1,
      "kind": "mirror",
      "created_at": "2017-11-09T09:08:17Z",
      "updated_at": "2017-11-09T09:08:17Z",
      "links": {
        "account": 1,
        "destination_rental": 2,
        "rental_link_group": 1,
        "source_rental": 3
      }
    }
  ],
  "meta": {
  }
}