SHARE
TWEET

Untitled

a guest Oct 21st, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #### Hotelengine / Hotelbeds API flow
  2.  
  3. | user page | cached? | corresponding api_endpoint | action | response/ record creation |
  4. | ------------- | -- | --- | ----------------------------------------- | ------------------------- |
  5. | search results | no | Availability (with location/search criteria) | return details to create search rates | search_rate |
  6. | hotel details | no | Availability (with hotel ids) | return details to create room rates whether or not 'RECHECK' is present | room_rate |
  7. | 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 |
  8. | contract page | -- | none | use contract_rate to create contract; no CheckRate performed | contract |
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top