Room

https://api.minical.io/v2/room_type/get_adr Get average daily rate

This endpoint allows you to get average daily rate of a rate plan.

Parameter

Header

X-API-KEY string API key

Body

date_start string Start Date

date_end string End Date

room_type_id integer PMS Room Type ID

rate_plan_id integer PMS Rate Plan ID

company_id integer PMS Property ID

Responses

200 ADR successfully retrieved.
{
    "adult_1_adr": "100.00",
    "adult_2_adr": "150.00",
    "adult_3_adr": "200.00",
    "adult_4_adr": "250.00"
}
404 Could not find a adr matching this query.
{
    "status": false,
    "error": "Unknown method."
}

Request Body

{
   "date_start": "2020-07-25",
   "date_end": "2020-07-28",
   "company_id": "8490006340",
   "room_type_id": "8490020098",
   "rate_plan_id": "131335"
}

Last updated