Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get the list of the available properties for the dates and people provided that have monthly prices in the system.

Request: MonthlyAvailability(arrival, departure, people, language, usr, pwd)

parameter

type

format

mandatory?

arrival

string

yyyy-MM-dd → “2020-12-01”

Yes

departure

string

yyyy-MM-dd → “2020-12-01”

Yes

people

integer

No

language

string

“es”, “en”, etc → ISO standard code

Yes

usr

integer

Yes

pwd

string

Yes

If you put 0 in the ‘people’ parameter, it will search without looking into the capacity of the properties.

Response:

The response is the same as Catalog, but only with the apartments that are available, and without the parameters minimum_rate and sales_rate.

Code Block
languagejson
{
  "DailyAvailability": [
    {
      "lodging_id": "1002",
      "lodging_name": '"Casa Pepe'",
      "lodging_type": 'house'"31",
      "acronym": '"C-Pepe'",
      "address": '"Mandri'",
      "zip": '"08022'",
      "city": '"Barcelona'",
      "country": '"ES'",
      "country_name": '"Spain'",
      "region": '"Catalonia'",
      "telephone": '"0034999999999'",
      "email": '"info@casapepe.com'",
      "headline": '"Beatiful house in the city center'",
      "description": ''"",
      "latitude": "43.42342343",
      "longitude": "-3.423434",
      "release": "1",
      "surface": "50",
      "surface_terrace": "0",
      "surface_garden": "0",
      "surface_pool": "0",
      "surface_unit": 'sqr'"㎡",
      "maximum_capacity": "4",
      "number_of_rooms": "2",
      "number_of_bathrooms": "1",
      "number_of_toilets": "0",
      "number_of_single_beds": "2",
      "number_of_double_beds": "1",
      "number_of_sofa_beds": "0",
      "number_of_bunk_beds": "0",
      "rating": 10"9.6",
      "review": 234"4",
      "minimum_monthly_rate": 120,"70.00",      
      "currency": '"EUR'",
      "license_number": '"HUTB-1234'",
      "online_booking": false"true",
      "situation": {
        "distance_to_airport": "0.00",
        distance_to_harbour: 0,...
        "distance_to_railway_stationunit": 0,"km"
        distance_to_public_transport: 0},
        distance_to_hospital"lodging_equipment": 0,{
        distance_to_pharmacy"elevator": 0false,
        ...
   distance_to_city_center: 0,  },
      distance_to_market"lodging_location": 0,{
        distance_to_ski_slope"sea_views": 0false,
        distance_to_beach: 0,
 ...
      },
      distance_to_golf"lodging_recommendations": 0,{
        distance"adapted_tofor_publicdisabled_parkguests": 0false,
        distance_to_historic_district: 0,...
      },
  distance_unit: ''   "lodging_restrictions": {
  },       lodging_equipment"adults_onlye": {false,
        ... 
      }
    }
  ]
}

List of situation array:

  • distance_to_airport

  • distance_to_harbour

  • distance_to_railway_station

  • distance_to_public_transport

  • distance_to_hospital

  • distance_to_pharmacy

  • distance_to_city_center

  • distance_to_market

  • distance_to_ski_slope

  • distance_to_beach

  • distance_to_golf

  • distance_to_public_park

  • distance_to_historic_district

 

List of lodging_equipment array:

  • elevator

  • heating

  • fan

  • air_conditioning

  • parking_lot

  • covered_car_park

  • free_car_park

  • car_needed

  • car_recommended

  • car_not_needed

  • swimming_pool

  • private_swimming_pool

  • communal_swimming_pool

  • public_swimming_pool

  • garden

  • fireplace

  • barbecue

  • farm_animals

  • balcony

  • terrace

  • washing_machine

  • microwave

  • dishwasher

  • tv

  • wifi

  • free_wifi

  • wifi_charged_separately

  • front_desk_24h

 

List of lodging_location array:

  • sea_views

  • mountain_views

  • lake_views

  • on_the_beachfront

  • golf_course_view

  • in_the_old_town

 

List of lodging_recommendations array:

  • adapted_for_disabled_guests

  • gay_friendly

  • family_friendly

  • event_friendly

  • smoker_friendly

  • pets_allowed

 

List of lodging_restrictions array:

  • adults_only

  • smoking_not_allowed

  • pets_not_allowed

  • parties_not_allowed

  • hooligans_not_allowed

  • not_adapted_for_disabled_guests

  • bachelor_parties_not_allowed

  • youth_groups_not_allowed

  • no_parking_lot