Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am totally new to this hotelbed API, is there anybody done before please guide me how to show avilability response for multiroom booking as follows: Multi room Booking for hotels,Request:we are requesting for 2 rooms in which one room for 1 adult and 1 children ,and second room for 2 adults;;;Response:In hotel1 two rooms available 1st Room:Double Standard available for 1adult 1children and also for 2adults 2nd Room:Single Standrd available only for 1adult 1children For this above Response ,We have to show combinations like --2Double Standard[first combination]1Single Standard(1adult 1 children)+1*Double Standard(2 adults) [second combination]

What I have tried:

I had tried of pushing all the adults of equal number in array and tried to merge but not hapening
Posted
Updated 28-Aug-20 21:19pm
Comments
Richard MacCutchan 29-Aug-20 3:12am    
What hotelbeds API are you referring to?

1 solution

When you are using a third party API, its always good to follow their documentation and guide shared:
API Documentation[^]
Step by step guide to start from scratch · hotelbeds-sdk/hotel-api-sdk-php Wiki · GitHub[^]

Further, this is not a common/known library. For any specific query, you should post here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900