Created
March 4, 2021 11:58
-
-
Save EdwardCTaylor/19efd23b951b877c1fcdbef85164c0e5 to your computer and use it in GitHub Desktop.
Example API Output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GET /room_rates/[:hotel_id]?from_date=[:datetime]&to_date=[:datetime]&last_updated_at=[:datetime] | |
// Response: | |
{ | |
...hotel metadata | |
rooms: [ | |
{ | |
...room metadata | |
policies: [ | |
...policy metadata (cancellation/breakfast etc) | |
rates:[ | |
'2021-04-01': price | |
'2021-04-02': price | |
'2021-04-03': price | |
...rates covering specified range | |
] | |
...rate metadata, currency etc | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment