Retrieve Amenities

Returns amenities for the Inventory

Overview

The Retrieve Amenities request is designed to offer the Agent a streamlined way to access comprehensive information about amenities associated with Units within the available Inventory. This endpoint allows API Users to retrieve the amenities available for a specific unit or entire inventories.

Endpoints Available

MethodEndpointDescription
GETv2023.07.31/content/amenitiesReturns amenities for Inventory
GETv2023.07.31/content/amenities/{unitId}Returns amenities for a Unit in Inventory

Path Parameters

Path ParameterRequired / OptionalDescription
{unitId}RequiredUnique Identifier for Unit in Inventory

Query String Parameters

ParameterRequired / OptionalDescriptionData Type
pageOptionalThe page to be shownint
pageSizeOptionalLimits the number of returned resultsint
lastUpdateDateOptionalOnly returns objects which have been modified after a certain datedate-time
mcUserIdOptionalUnique Identifier for Supplierint
mcUserIdsOptionalUnique Identifiers for Suppliersarray
unitIdOptionalUnique Identifier for Unit in Inventoryint
UnitIdsOptionalUnique Identifiers for Units in Inventoryarray
channelOptionalleave empty for general, "airbnb" for airbnb, "vrbo" for vrbo, and "bdc" for bdcstring

Response Definition

Response ItemDescriptionData Type
"unit_id"Unique identifier for the rental unit associated with the listed amenitiesint
"amenities"A list of amenities available for the Unit. Each element in the array represents a specific amenity provided by the Unitarray
"error_message"*This is a message indicating an issue with the Unit (If applicable)string
"error_code"*The error code associated with the specific error message (If applicable)int

Sample Request

curl --request GET \
     --url 'https://api.ciiruspartners.com/v2023.07.31/content/amenities'

curl --request GET \
     --url 'https://api.ciiruspartners.com/v2023.07.31/content/amenities/219264?channel=vrbo'

Sample Response

{
    "unit_id": 219264,
    "amenities": [
        "CommunalPool",
        "Pool",
        "Spa",
        "OutDoorHotTub",
        "IndoorHotTub",
        "FreeSolarHeatedPool",
        "PrivatePoolHeatable",
        "SouthFacingPool",
        "PoolAccess",
        "IndoorJacuzzi",
        "Bbq",
        "Grill",
        "HairDryer",
        "PartialKitchen",
        "Dishwasher",
        "MiniKitchen",
        "FullKitchen",
        "ResortAmenities",
        "Elevator",
        "WheelChairAccessible",
        "FreeCalls",
        "PavedParking",
        "RockingChairs",
        "Microwave",
        "LaundryInUnit",
        "LaundryOnSite",
        "UnitAmenities",
        "Dock",
        "MotorCycle",
        "Wifi",
        "WiredInternetAccess",
        "Internet",
        "Stroller",
        "Crib",
        "PacknPlay",
        "HighChair",
        "ElectricFireplace",
        "WoodBurningFireplace",
        "UnderFloorHeating",
        "GasFirePlace",
        "AirCon",
        "ConservationView",
        "GolfView",
        "BeachAccess",
        "WalkingDistanceToTown",
        "WaterView",
        "OceanFront",
        "SeaView",
        "Waterfront",
        "GamesRoom",
        "CommunalGym",
        "AirHockeyTable",
        "FoosballTable",
        "PoolTable",
        "VideoGames",
        "Vcr",
        "TableTennis",
        "GolfIncluded",
        "BigScreenTv",
        "TvInEveryBedroom",
        "CdPlayer",
        "DvdPlayer",
        "Fishing",
        "ClubHouse",
        "TennisCourts",
        "PetsAllowed",
        "PrivacyFence",
        "BeachOnSite"
    ]
    "error_message": "Property has been deleted. Property supplier has not enabled this property.",
    "error_code": 401
		},
		...
	],
	"next_page_url": "https://api.ciiruspartners.com/v20230731/content/amenities?page=2&pageSize=25",
	"total_page_count": 3
}