Content API

Amenity groups (with amenities) list

Retrieve a list with all amenity groups (with amenities) available to the authenticated partner.

get

/rest/partners/amenity-groups


Query params

NameTypeMandatoryDescription
limitintegernointeger [default 100], number of records to be returned per page
pageintegernointeger [default 1], the number of page you want to retrieve in case there are more properties in list than the limit

Request

GET /rest/partners/amenity-groups HTTP/1.1
Host: {HOST}
Content-Type: application/json
Accept: application/json
Authorization: Basic {BASE64_BASIC_AUTH}

Response

{
  "data": [
    {
      "id": 1,
      "name": {
        "en": "Common"
      },
      "amenities": [
        {
          "id": 1,
          "name": {
            "en": "Essentials"
          }
        }
      ]
    }
  ],
  "current_page": 1,
  "from": 1,
  "last_page": 1,
  "per_page": 100,
  "to": 16,
  "total": 16
}

Going live

Before you go live with your integration, we recommend contacting our support team.

Support & feedback

Need help integrating with Content API? The experts in our support team are here to help. Contact us at contact@rentalwise.com.

Previous
Property types