Created
March 23, 2017 14:26
-
-
Save vas6ili/0c436aa18000d2c5f830fe20af7596de to your computer and use it in GitHub Desktop.
Push reservation example
This file contains 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
POST /reservations | |
{ | |
"hotel": "S01543", | |
"reservationNumber": "123456", | |
"confirmationNumber": "654321", | |
"status": "Booked", | |
"arrivalDate": "2017-03-24", | |
"departureDate": "2017-03-26", | |
"room": { | |
"roomNumber": "201", | |
}, | |
"preferredLanguage": "en", | |
"guest": { | |
"firstName": "Gigel", | |
"lastName": "Xsulescu", | |
"emails": [ | |
{ | |
"value": "gigel@xsulescu.com", | |
"primary": true | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment