Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  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 |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement