Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #### Hotelengine / Hotelbeds API flow
- | user page | cached? | corresponding api_endpoint | action | response/ record creation |
- | ------------- | -- | --- | ----------------------------------------- | ------------------------- |
- | search results | no | Availability (with location/search criteria) | return details to create search rates | search_rate |
- | hotel details | no | Availability (with hotel ids) | return details to create room rates whether or not 'RECHECK' is present | room_rate |
- | booking page | -- | CHECKRATE | CheckRate (**if and only if** `RECHECK` rateType), otherwise NO api call made; use rate to create contract_rate; **if** error, return error | contract_rate |
- | contract page | -- | none | use contract_rate to create contract; no CheckRate performed | contract |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement