Last active
August 29, 2015 14:16
-
-
Save marekstachura/09c811fa384c3df5da77 to your computer and use it in GitHub Desktop.
Create booking
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
{ | |
"languageCode": "en", | |
"items": [ | |
{ | |
"id": 69, | |
"productId": 79, | |
"type": "carPark", | |
"arrivalDate": "2015-03-01", | |
"arrivalTime": "12:00", | |
"departureDate": "2015-03-10", | |
"departureTime": "18:00" | |
}, | |
{ | |
"id": 1, | |
"type": "extra", | |
"arrivalDate": "2015-03-01", | |
"arrivalTime": "12:00", | |
"departureDate": "2015-03-10", | |
"departureTime": "18:00", | |
"perPassenger": true, | |
"adults": 2, | |
"children": 1, | |
"infants": 1 | |
}, | |
{ | |
"id": 3, | |
"type": "extra", | |
"arrivalDate": "2015-03-01", | |
"arrivalTime": "12:00", | |
"departureDate": "2015-03-10", | |
"departureTime": "18:00", | |
"perUnit": true, | |
"quantity": 2 | |
} | |
] | |
} |
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
{ | |
"languageCode": "en", | |
"items": [ | |
{ | |
"id": 69, | |
"productId": 79, | |
"type": "carPark", | |
"arrivalDate": "2015-03-01", | |
"arrivalTime": "12:00", | |
"departureDate": "2015-03-10", | |
"departureTime": "18:00" | |
}, | |
{ | |
"id": 1, | |
"type": "passengerExtra", | |
"arrivalDate": "2015-03-01", | |
"arrivalTime": "12:00", | |
"departureDate": "2015-03-10", | |
"departureTime": "18:00", | |
"adults": 2, | |
"children": 1, | |
"infants": 1 | |
}, | |
{ | |
"id": 3, | |
"type": "unitExtra", | |
"arrivalDate": "2015-03-01", | |
"arrivalTime": "12:00", | |
"departureDate": "2015-03-10", | |
"departureTime": "18:00", | |
"quantity": 2 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment