Request: Lodging(propertyID, language, usr, pwd)
parameter | type | format | mandatory? |
---|---|---|---|
propertyID | integer | Yes | |
language | string | “es”, “en”, etc → ISO standard code | Yes |
usr | integer | Yes | |
pwd | string | Yes |
Response:
{ Lodging: [ { lodging_id: 1002, lodging_name: 'Casa Pepe', lodging_type: 'house', acronym: 'C-Pepe', address: 'Mandri', zip: '08022', city: 'Barcelona', country: 'ES', country_name: 'Spain', region: 'Catalonia', telephone: '0034999999999', email: 'info@casapepe.com', category: '', 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, review: 234, minimum_rate: 120, minimum_monthly_rate: 800, sales_rate: 0, currency: 'EUR', license_number: 'HUTB-1234', online_booking: true, tax_code: '', url: '', situation: { distance_to_airport: 0, distance_to_harbour: 0, distance_to_railway_station: 0, distance_to_public_transport: 0, distance_to_hospital: 0, distance_to_pharmacy: 0, distance_to_city_center: 0, distance_to_market: 0, distance_to_ski_slope: 0, distance_to_beach: 0, distance_to_golf: 0, distance_to_public_park: 0, distance_to_historic_district: 0, distance_unit: '' }, cancellation_policy: [ { days: 7, refund: 100 } ], check_in_schedule: [ { to: '', from: '', fee: 0 } ], check_out_schedule: [ { to: '', from: '', fee: 0 } ], images: [], surroundings: [], rooms: [ { text: '', surface: '', floor: '' } ], baths: [ { text: '', floor: '' } ], descriptions: [ { headline: '', text: '' } ], lodging_equipment: [ { name: '' } ], lodging_services: [], lodging_surroundings: [], lodging_restrictions: [], lodging_recommendations: [], lodging_location: [], lodging_construction: [], rates: [], reviews_list: [ { name: '', review_date: '', text: '', rating_cleaning: 5, rating_equipment: 5, rating_service: 5, rating_surroundings: 5, rating_tranquility: 5 } ], meta_title: '', meta_description: '' } ] }