A sample implementation of samedi's booking API as a guideline how to do it in PHP