Outlining code flow for reservation API