POST /v2/bookings/{id}/modify

Changes booking file.

Resource information

Authentication Yes
Request Formats xml, json
HTTP Method POST
Request Object Booking to modify
Response Object Booking modifying, Booking evaluation
API Version v2

Example Request

https://api.poplidays.com/v2/bookings/1430771/modify

json post body

{
"arrival":"20141025",
"departure":"20141029",
"customer":{
"address":{
"city":"Gradignan",
"country":"France",
"line1":"1224 route de Canéjan",
"postalCode":"1270"
},
"civility":"MISTER",
"email":"we@gmail.ru",
"firstName":"John",
"language":"fr",
"lastName":"Back",
"phoneNumber":"+33654545454"
},

"occupantCount":4,
"queryType":"EVALUATION"
}

Example Response

json

{"id":270954,"reference":"2012-11-17-270954","changeReference":3457898765432, "changeValue": "110.00", "totalValue": "345.00"}
{ "value": "110.00" }