Connectivity Partner
Booking
Modify
1 min
{ "name" "modify booking", "method" "post", "url" "https //wsb bakuun com/v1/booking/pushreservationapi/cpbxxx", "description" "provides the connectivity partner with the updated reservation payload generated by bakuun, reflecting all modifications to booking status, stay dates, room and rate details, guest information, payment data, and total charges ", "tab" "examples", "examples" { "languages" \[ { "id" "n1 rf0ojokeo vl1rex h", "language" "json", "code" "{\n \\"username\\" \\"string\\",\n \\"password\\" \\"string\\",\n \\"partnerid\\" \\"string\\",\n \\"action\\" \\"pushmodifybooking\\",\n \\"reservationdetail\\" \[\n {\n \\"propertyid\\" \\"string\\",\n \\"propertyname\\" \\"string\\",\n \\"reservationid\\" \\"string\\",\n \\"reservationstatus\\" \\"modify\\",\n \\"checkin\\" \\"yyyy mm ddthh\ mm\\",\n \\"checkout\\" \\"yyyy mm ddthh\ mm\\",\n \\"paymentmethod\\" \\"string\\",\n \\"currencycode\\" \\"string\\",\n \\"totaladult\\" \\"number\\",\n \\"totalchild\\" \\"number\\",\n \\"childages\\" \[\n \\"number\\",\n \\"number\\"\n ],\n \\"totalbaby\\" \\"number\\",\n \\"babyages\\" \[\n \\"number\\",\n \\"number\\"\n ],\n \\"roomstays\\" {\n \\"roomid\\" \\"string\\",\n \\"roomname\\" \\"string\\",\n \\"roomtype\\" \\"string\\",\n \\"numberofunits\\" \\"number\\",\n \\"rateid\\" \\"string\\",\n \\"cancelpolicy\\" \\"string\\",\n \\"adultcount\\" \\"number\\",\n \\"childcount\\" \\"number\\",\n \\"childages\\" \[\n \\"number\\",\n \\"number\\"\n ],\n \\"babycount\\" \\"number\\",\n \\"babyages\\" \[\n \\"number\\",\n \\"number\\"\n ],\n \\"roomindex\\" \\"number\\",\n \\"resguestrph\\" \\"number\\",\n \\"bookingperdayprices\\" \[\n {\n \\"dateymd\\" \\"yyyy mm dd\\",\n \\"price\\" \\"xxx xx\\"\n }\n ],\n \\"total\\" {\n \\"amountaftertaxes\\" \\"xxx xx\\",\n \\"amountbeforetaxes\\" \\"xxx xx\\"\n },\n \\"roomincservices\\" \[\n {\n \\"serviceid\\" \\"number\\",\n \\"incservicename\\" \\"string\\",\n \\"inclusion\\" \\"number\\",\n \\"priceextra\\" \\"xxx xx\\"\n }\n ]\n },\n \\"guestdetails\\" \[\n {\n \\"resguestrph\\" \\"number\\",\n \\"firstname\\" \\"string\\",\n \\"lastname\\" \\"string\\",\n \\"middlename\\" \\"string\\",\n \\"email\\" \\"string\\",\n \\"phone\\" \\"number\\",\n \\"address\\" \\"string\\",\n \\"country\\" \\"string\\"\n }\n ],\n \\"comment\\" {\n \\"text\\" \\"string\\"\n },\n \\"paymentcard\\" {\n \\"cardholdername\\" \\"string\\",\n \\"cardtype\\" \\"string\\",\n \\"cardcategory\\" \\"string\\",\n \\"cardnumber\\" \\"number\\",\n \\"expirymonth\\" \\"number\\",\n \\"expiryyear\\" \\"number\\",\n \\"startdaymonth\\" \\"number\\",\n \\"startdayyear\\" \\"number\\",\n \\"issuenum\\" \\"number\\",\n \\"vccbalance\\" \\"number\\",\n \\"vcccurrencycode\\" \\"string\\",\n \\"vccdeactivationdate\\" \\"yyyy mm dd\\",\n \\"vccactivationdate\\" \\"yyyy mm dd\\"\n },\n \\"totalcharge\\" \[\n {\n \\"taxdetails\\" {\n \\"typetax\\" \\"string\\",\n \\"includes\\" \\"number\\",\n \\"taxprice\\" \\"xx xx\\",\n \\"taxdetails\\" \\"string\\"\n },\n \\"pricedetails\\" \[\n {\n \\"amountaftertaxes\\" \\"xxx xx\\",\n \\"amountbeforetaxes\\" \\"xxx xx\\"\n }\n ]\n }\n ]\n }\n ]\n}", "customlabel" "" }, { "id" "totxvq82u0e8romicfi1w", "language" "curl", "code" "curl location 'https //wsb bakuun com/v1/booking/pushreservationapi/cpbxxx' \\\\\n header 'accept application/json' \\\\\n header 'content type application/json' \\\\\n data '{\n \\"username\\" \\"string\\",\n \\"password\\" \\"string\\",\n \\"partnerid\\" \\"string\\",\n \\"action\\" \\"string\\",\n \\"reservationdetail\\" {\n \\"propertyid\\" \\"\\",\n \\"propertyname\\" \\"\\",\n \\"reservationid\\" \\"\\",\n \\"reservationstatus\\" \\"\\",\n \\"checkin\\" \\"\\",\n \\"checkout\\" \\"\\",\n \\"paymentmethod\\" \\"\\",\n \\"currencycode\\" \\"\\",\n \\"totaladult\\" \\"\\",\n \\"totalchild\\" \\"\\",\n \\"childages\\" {},\n \\"totalbaby\\" \\"\\",\n \\"babyages\\" {},\n \\"roomstays\\" {\n \\"roomid\\" \\"\\",\n \\"roomname\\" \\"\\",\n \\"roomtype\\" \\"\\",\n \\"numberofunits\\" \\"\\",\n \\"rateid\\" \\"\\",\n \\"cancelpolicy\\" \\"\\",\n \\"adultcount\\" \\"\\",\n \\"childcount\\" \\"\\",\n \\"childages\\" \[],\n \\"babycount\\" \\"\\",\n \\"babyages\\" \[],\n \\"roomindex\\" \\"\\",\n \\"resguestrph\\" \\"\\",\n \\"bookingperdayprices\\" {\n \\"dateymd\\" \\"\\",\n \\"price\\" \\"\\"\n },\n \\"total\\" {\n \\"amountaftertaxes\\" \\"\\",\n \\"amountbeforetaxes\\" \\"\\"\n },\n \\"roomincservices\\" \[]\n },\n \\"guestdetails\\" {\n \\"resguestrph\\" \\"\\",\n \\"firstname\\" \\"\\",\n \\"lastname\\" \\"\\",\n \\"middlename\\" \\"\\",\n \\"email\\" \\"\\",\n \\"phone\\" \\"\\",\n \\"address\\" \\"\\",\n \\"country\\" \\"\\"\n },\n \\"comment\\" {\n \\"text\\" \\"\\"\n },\n \\"paymentcard\\" {\n \\"cardholdername\\" \\"\\",\n \\"cardtype\\" \\"\\",\n \\"cardcategory\\" \\"\\",\n \\"cardnumber\\" \\"\\",\n \\"expirymonth\\" \\"\\",\n \\"expiryyear\\" \\"\\",\n \\"startdaymonth\\" \\"\\",\n \\"startdayyear\\" \\"\\",\n \\"issuenum\\" \\"\\",\n \\"vccbalance\\" \\"\\",\n \\"vcccurrencycode\\" \\"\\",\n \\"vccdeactivationdate\\" \\"\\",\n \\"vccactivationdate\\" \\"\\"\n },\n \\"totalcharge\\" {\n \\"taxdetails\\" {\n \\"typetax\\" \\"\\",\n \\"includes\\" \\"\\",\n \\"taxprice\\" \\"\\",\n \\"taxdetails\\" \\"\\"\n },\n \\"pricedetails\\" {\n \\"amountaftertaxes\\" \\"\\",\n \\"amountbeforetaxes\\" \\"\\"\n }\n }\n }\n}'", "customlabel" "" }, { "id" "884gt2twetjcgny5xe6za", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'post',\n 'url' 'https //wsb bakuun com/v1/booking/pushreservationapi/cpbxxx',\n 'headers' {\n 'accept' 'application/json',\n 'content type' 'application/json'\n },\n body json stringify({\n \\"username\\" \\"string\\",\n \\"password\\" \\"string\\",\n \\"partnerid\\" \\"string\\",\n \\"action\\" \\"string\\",\n \\"reservationdetail\\" {\n \\"propertyid\\" \\"\\",\n \\"propertyname\\" \\"\\",\n \\"reservationid\\" \\"\\",\n \\"reservationstatus\\" \\"\\",\n \\"checkin\\" \\"\\",\n \\"checkout\\" \\"\\",\n \\"paymentmethod\\" \\"\\",\n \\"currencycode\\" \\"\\",\n \\"totaladult\\" \\"\\",\n \\"totalchild\\" \\"\\",\n \\"childages\\" {},\n \\"totalbaby\\" \\"\\",\n \\"babyages\\" {},\n \\"roomstays\\" {\n \\"roomid\\" \\"\\",\n \\"roomname\\" \\"\\",\n \\"roomtype\\" \\"\\",\n \\"numberofunits\\" \\"\\",\n \\"rateid\\" \\"\\",\n \\"cancelpolicy\\" \\"\\",\n \\"adultcount\\" \\"\\",\n \\"childcount\\" \\"\\",\n \\"childages\\" \[],\n \\"babycount\\" \\"\\",\n \\"babyages\\" \[],\n \\"roomindex\\" \\"\\",\n \\"resguestrph\\" \\"\\",\n \\"bookingperdayprices\\" {\n \\"dateymd\\" \\"\\",\n \\"price\\" \\"\\"\n },\n \\"total\\" {\n \\"amountaftertaxes\\" \\"\\",\n \\"amountbeforetaxes\\" \\"\\"\n },\n \\"roomincservices\\" \[]\n },\n \\"guestdetails\\" {\n \\"resguestrph\\" \\"\\",\n \\"firstname\\" \\"\\",\n \\"lastname\\" \\"\\",\n \\"middlename\\" \\"\\",\n \\"email\\" \\"\\",\n \\"phone\\" \\"\\",\n \\"address\\" \\"\\",\n \\"country\\" \\"\\"\n },\n \\"comment\\" {\n \\"text\\" \\"\\"\n },\n \\"paymentcard\\" {\n \\"cardholdername\\" \\"\\",\n \\"cardtype\\" \\"\\",\n \\"cardcategory\\" \\"\\",\n \\"cardnumber\\" \\"\\",\n \\"expirymonth\\" \\"\\",\n \\"expiryyear\\" \\"\\",\n \\"startdaymonth\\" \\"\\",\n \\"startdayyear\\" \\"\\",\n \\"issuenum\\" \\"\\",\n \\"vccbalance\\" \\"\\",\n \\"vcccurrencycode\\" \\"\\",\n \\"vccdeactivationdate\\" \\"\\",\n \\"vccactivationdate\\" \\"\\"\n },\n \\"totalcharge\\" {\n \\"taxdetails\\" {\n \\"typetax\\" \\"\\",\n \\"includes\\" \\"\\",\n \\"taxprice\\" \\"\\",\n \\"taxdetails\\" \\"\\"\n },\n \\"pricedetails\\" {\n \\"amountaftertaxes\\" \\"\\",\n \\"amountbeforetaxes\\" \\"\\"\n }\n }\n }\n })\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "2 ufejoybk7jfdui4j0e8", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"accept\\", \\"application/json\\");\nmyheaders append(\\"content type\\", \\"application/json\\");\n\nvar raw = json stringify({\n \\"username\\" \\"string\\",\n \\"password\\" \\"string\\",\n \\"partnerid\\" \\"string\\",\n \\"action\\" \\"string\\",\n \\"reservationdetail\\" {\n \\"propertyid\\" \\"\\",\n \\"propertyname\\" \\"\\",\n \\"reservationid\\" \\"\\",\n \\"reservationstatus\\" \\"\\",\n \\"checkin\\" \\"\\",\n \\"checkout\\" \\"\\",\n \\"paymentmethod\\" \\"\\",\n \\"currencycode\\" \\"\\",\n \\"totaladult\\" \\"\\",\n \\"totalchild\\" \\"\\",\n \\"childages\\" {},\n \\"totalbaby\\" \\"\\",\n \\"babyages\\" {},\n \\"roomstays\\" {\n \\"roomid\\" \\"\\",\n \\"roomname\\" \\"\\",\n \\"roomtype\\" \\"\\",\n \\"numberofunits\\" \\"\\",\n \\"rateid\\" \\"\\",\n \\"cancelpolicy\\" \\"\\",\n \\"adultcount\\" \\"\\",\n \\"childcount\\" \\"\\",\n \\"childages\\" \[],\n \\"babycount\\" \\"\\",\n \\"babyages\\" \[],\n \\"roomindex\\" \\"\\",\n \\"resguestrph\\" \\"\\",\n \\"bookingperdayprices\\" {\n \\"dateymd\\" \\"\\",\n \\"price\\" \\"\\"\n },\n \\"total\\" {\n \\"amountaftertaxes\\" \\"\\",\n \\"amountbeforetaxes\\" \\"\\"\n },\n \\"roomincservices\\" \[]\n },\n \\"guestdetails\\" {\n \\"resguestrph\\" \\"\\",\n \\"firstname\\" \\"\\",\n \\"lastname\\" \\"\\",\n \\"middlename\\" \\"\\",\n \\"email\\" \\"\\",\n \\"phone\\" \\"\\",\n \\"address\\" \\"\\",\n \\"country\\" \\"\\"\n },\n \\"comment\\" {\n \\"text\\" \\"\\"\n },\n \\"paymentcard\\" {\n \\"cardholdername\\" \\"\\",\n \\"cardtype\\" \\"\\",\n \\"cardcategory\\" \\"\\",\n \\"cardnumber\\" \\"\\",\n \\"expirymonth\\" \\"\\",\n \\"expiryyear\\" \\"\\",\n \\"startdaymonth\\" \\"\\",\n \\"startdayyear\\" \\"\\",\n \\"issuenum\\" \\"\\",\n \\"vccbalance\\" \\"\\",\n \\"vcccurrencycode\\" \\"\\",\n \\"vccdeactivationdate\\" \\"\\",\n \\"vccactivationdate\\" \\"\\"\n },\n \\"totalcharge\\" {\n \\"taxdetails\\" {\n \\"typetax\\" \\"\\",\n \\"includes\\" \\"\\",\n \\"taxprice\\" \\"\\",\n \\"taxdetails\\" \\"\\"\n },\n \\"pricedetails\\" {\n \\"amountaftertaxes\\" \\"\\",\n \\"amountbeforetaxes\\" \\"\\"\n }\n }\n }\n});\n\nvar requestoptions = {\n method 'post',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //wsb bakuun com/v1/booking/pushreservationapi/cpbxxx\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "fz9siyjuam5fthu x2nor", "language" "python", "code" "import requests\nimport json\n\nurl = \\"https //wsb bakuun com/v1/booking/pushreservationapi/cpbxxx\\"\n\npayload = json dumps({\n \\"username\\" \\"string\\",\n \\"password\\" \\"string\\",\n \\"partnerid\\" \\"string\\",\n \\"action\\" \\"string\\",\n \\"reservationdetail\\" {\n \\"propertyid\\" \\"\\",\n \\"propertyname\\" \\"\\",\n \\"reservationid\\" \\"\\",\n \\"reservationstatus\\" \\"\\",\n \\"checkin\\" \\"\\",\n \\"checkout\\" \\"\\",\n \\"paymentmethod\\" \\"\\",\n \\"currencycode\\" \\"\\",\n \\"totaladult\\" \\"\\",\n \\"totalchild\\" \\"\\",\n \\"childages\\" {},\n \\"totalbaby\\" \\"\\",\n \\"babyages\\" {},\n \\"roomstays\\" {\n \\"roomid\\" \\"\\",\n \\"roomname\\" \\"\\",\n \\"roomtype\\" \\"\\",\n \\"numberofunits\\" \\"\\",\n \\"rateid\\" \\"\\",\n \\"cancelpolicy\\" \\"\\",\n \\"adultcount\\" \\"\\",\n \\"childcount\\" \\"\\",\n \\"childages\\" \[],\n \\"babycount\\" \\"\\",\n \\"babyages\\" \[],\n \\"roomindex\\" \\"\\",\n \\"resguestrph\\" \\"\\",\n \\"bookingperdayprices\\" {\n \\"dateymd\\" \\"\\",\n \\"price\\" \\"\\"\n },\n \\"total\\" {\n \\"amountaftertaxes\\" \\"\\",\n \\"amountbeforetaxes\\" \\"\\"\n },\n \\"roomincservices\\" \[]\n },\n \\"guestdetails\\" {\n \\"resguestrph\\" \\"\\",\n \\"firstname\\" \\"\\",\n \\"lastname\\" \\"\\",\n \\"middlename\\" \\"\\",\n \\"email\\" \\"\\",\n \\"phone\\" \\"\\",\n \\"address\\" \\"\\",\n \\"country\\" \\"\\"\n },\n \\"comment\\" {\n \\"text\\" \\"\\"\n },\n \\"paymentcard\\" {\n \\"cardholdername\\" \\"\\",\n \\"cardtype\\" \\"\\",\n \\"cardcategory\\" \\"\\",\n \\"cardnumber\\" \\"\\",\n \\"expirymonth\\" \\"\\",\n \\"expiryyear\\" \\"\\",\n \\"startdaymonth\\" \\"\\",\n \\"startdayyear\\" \\"\\",\n \\"issuenum\\" \\"\\",\n \\"vccbalance\\" \\"\\",\n \\"vcccurrencycode\\" \\"\\",\n \\"vccdeactivationdate\\" \\"\\",\n \\"vccactivationdate\\" \\"\\"\n },\n \\"totalcharge\\" {\n \\"taxdetails\\" {\n \\"typetax\\" \\"\\",\n \\"includes\\" \\"\\",\n \\"taxprice\\" \\"\\",\n \\"taxdetails\\" \\"\\"\n },\n \\"pricedetails\\" {\n \\"amountaftertaxes\\" \\"\\",\n \\"amountbeforetaxes\\" \\"\\"\n }\n }\n }\n})\nheaders = {\n 'accept' 'application/json',\n 'content type' 'application/json'\n}\n\nresponse = requests request(\\"post\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "styxgh3urofgn6aawvauc", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"json\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //wsb bakuun com/v1/booking/pushreservationapi/cpbxxx\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http post new(url)\nrequest\[\\"accept\\"] = \\"application/json\\"\nrequest\[\\"content type\\"] = \\"application/json\\"\nrequest body = json dump({\n \\"username\\" \\"string\\",\n \\"password\\" \\"string\\",\n \\"partnerid\\" \\"string\\",\n \\"action\\" \\"string\\",\n \\"reservationdetail\\" {\n \\"propertyid\\" \\"\\",\n \\"propertyname\\" \\"\\",\n \\"reservationid\\" \\"\\",\n \\"reservationstatus\\" \\"\\",\n \\"checkin\\" \\"\\",\n \\"checkout\\" \\"\\",\n \\"paymentmethod\\" \\"\\",\n \\"currencycode\\" \\"\\",\n \\"totaladult\\" \\"\\",\n \\"totalchild\\" \\"\\",\n \\"childages\\" {},\n \\"totalbaby\\" \\"\\",\n \\"babyages\\" {},\n \\"roomstays\\" {\n \\"roomid\\" \\"\\",\n \\"roomname\\" \\"\\",\n \\"roomtype\\" \\"\\",\n \\"numberofunits\\" \\"\\",\n \\"rateid\\" \\"\\",\n \\"cancelpolicy\\" \\"\\",\n \\"adultcount\\" \\"\\",\n \\"childcount\\" \\"\\",\n \\"childages\\" \[],\n \\"babycount\\" \\"\\",\n \\"babyages\\" \[],\n \\"roomindex\\" \\"\\",\n \\"resguestrph\\" \\"\\",\n \\"bookingperdayprices\\" {\n \\"dateymd\\" \\"\\",\n \\"price\\" \\"\\"\n },\n \\"total\\" {\n \\"amountaftertaxes\\" \\"\\",\n \\"amountbeforetaxes\\" \\"\\"\n },\n \\"roomincservices\\" \[]\n },\n \\"guestdetails\\" {\n \\"resguestrph\\" \\"\\",\n \\"firstname\\" \\"\\",\n \\"lastname\\" \\"\\",\n \\"middlename\\" \\"\\",\n \\"email\\" \\"\\",\n \\"phone\\" \\"\\",\n \\"address\\" \\"\\",\n \\"country\\" \\"\\"\n },\n \\"comment\\" {\n \\"text\\" \\"\\"\n },\n \\"paymentcard\\" {\n \\"cardholdername\\" \\"\\",\n \\"cardtype\\" \\"\\",\n \\"cardcategory\\" \\"\\",\n \\"cardnumber\\" \\"\\",\n \\"expirymonth\\" \\"\\",\n \\"expiryyear\\" \\"\\",\n \\"startdaymonth\\" \\"\\",\n \\"startdayyear\\" \\"\\",\n \\"issuenum\\" \\"\\",\n \\"vccbalance\\" \\"\\",\n \\"vcccurrencycode\\" \\"\\",\n \\"vccdeactivationdate\\" \\"\\",\n \\"vccactivationdate\\" \\"\\"\n },\n \\"totalcharge\\" {\n \\"taxdetails\\" {\n \\"typetax\\" \\"\\",\n \\"includes\\" \\"\\",\n \\"taxprice\\" \\"\\",\n \\"taxdetails\\" \\"\\"\n },\n \\"pricedetails\\" {\n \\"amountaftertaxes\\" \\"\\",\n \\"amountbeforetaxes\\" \\"\\"\n }\n }\n }\n})\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "n1 rf0ojokeo vl1rex h" }, "results" { "languages" \[ { "id" "qcanlqmojpvvqf xle8z1", "language" "200", "code" "{\n \\"success\\" true\n}", "customlabel" "" }, { "id" "tpgb3tsxwkhqnibemk9ec", "language" "408", "code" "{\n \\"success\\" false,\n \\"errors\\" \[\n {\n \\"code\\" 408,\n \\"message\\" \\"processing error\\"\n }\n ]\n}", "customlabel" "" }, { "id" "yetwdfk4fksxzxv1tks97", "language" "415", "code" "{\n \\"success\\" false,\n \\"errors\\" \[\n {\n \\"code\\" 415,\n \\"message\\" \\"invalid authentication key\\"\n }\n ]\n}", "customlabel" "" }, { "id" "qlajlewtkia8esrvbbxqh", "language" "451", "code" "{\n \\"success\\" false,\n \\"errors\\" \[\n {\n \\"code\\" 476,\n \\"message\\" \\"reservation id not found\\"\n }\n ]\n}", "customlabel" "" }, { "id" "v7ub27q1ka82kpllmv7zy", "language" "431", "code" "{\n \\"success\\" false,\n \\"errors\\" \[\n {\n \\"code\\" 440,\n \\"message\\" \\"reservation id not found\\"\n }\n ]\n}", "customlabel" "" }, { "id" "xjrxqiutip hoxzjvure6", "language" "429", "code" "{\n \\"success\\" false,\n \\"errors\\" \[\n {\n \\"code\\" 442,\n \\"message\\" \\"endpoint is not active\\"\n }\n ]\n}", "customlabel" "" }, { "id" "zm1jxyxu5e2ikao3opzcv", "language" "428", "code" "{\n \\"success\\" false,\n \\"errors\\" \[\n {\n \\"code\\" 454,\n \\"message\\" \\"invalid endpoint\\"\n }\n ]\n}", "customlabel" "" }, { "id" "zkemts01feqxmpe2nwjli", "language" "500", "code" "{\n \\"success\\" false,\n \\"errors\\" \[\n {\n \\"code\\" 500,\n \\"message\\" \\"internal server error\\"\n }\n ]\n}", "customlabel" "" }, { "id" "oxx6uocuivt4 fno5fmu1", "language" "502", "code" "{\n \\"success\\" false,\n \\"errors\\" \[\n {\n \\"code\\" 502,\n \\"message\\" \\"bad gateway\\"\n }\n ]\n}", "customlabel" "" }, { "id" "gbestt1zzzswitd b z6x", "language" "503", "code" "{\n \\"success\\" false,\n \\"errors\\" \[\n {\n \\"code\\" 503,\n \\"message\\" \\"service unavailable\\"\n }\n ]\n}", "customlabel" "" }, { "id" "nndoy1yc elswylex0xhr", "language" "504", "code" "{\n \\"success\\" false,\n \\"errors\\" \[\n {\n \\"code\\" 504,\n \\"message\\" \\"endpoint request timed out\\"\n }\n ]\n}", "customlabel" "" } ], "selectedlanguageid" "qcanlqmojpvvqf xle8z1" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "username", "kind" "required", "type" "string", "description" "api username provided by the connectivity partner to authenticate incoming requests from bakuun ", "" "api username provided by the connectivity partner to authenticate incoming requests from bakuun " }, { "name" "password", "kind" "required", "type" "string", "description" "api password provided by the connectivity partner to authenticate incoming requests from bakuun ", "" "api password provided by the connectivity partner to authenticate incoming requests from bakuun " }, { "name" "partnerid", "kind" "required", "type" "string", "description" "connectivity partner identifier assigned by bakuun (e g cpbxx)", "" "connectivity partner identifier assigned by bakuun (e g cpbxx)" }, { "name" "action", "kind" "required", "type" "string", "description" "always set as pushmodifybooking", "" "always set as pushmodifybooking" }, { "name" "reservationdetail", "kind" "required", "type" "object", "description" "", "" "required", "children" \[ { "name" "propertyid", "kind" "required", "type" "string", "description" "unique property identifier (shared mapping between bakuun and the connectivity partner) " }, { "name" "propertyname", "kind" "required", "type" "string", "description" "hotel/property name " }, { "name" "reservationid", "kind" "required", "type" "string", "description" "reservation id generaed by bakuun" }, { "name" "reservationstatus", "kind" "required", "type" "string", "description" "always set as new" }, { "name" "checkin", "kind" "required", "type" "string", "description" "iso check in datetime (e g , 2025 10 05t15 00) " }, { "name" "checkout", "kind" "required", "type" "string", "description" "iso check out datetime (e g , 2025 10 05t15 00) " }, { "name" "paymentmethod", "kind" "required", "type" "string", "description" "available payment method \nvcc, cc, bank, cash, credit" }, { "name" "currencycode", "kind" "required", "type" "string", "description" "booking currency (iso 4217) " }, { "name" "totaladult", "kind" "required", "type" "string", "description" "total adults across all rooms " }, { "name" "totalchild", "kind" "required", "type" "string", "description" "total children across all rooms " }, { "name" "childages", "kind" "required", "type" "object", "description" "ages of all children ", "children" \[] }, { "name" "totalbaby", "kind" "required", "type" "string", "description" "total infant across all rooms " }, { "name" "babyages", "kind" "required", "type" "object", "description" "ages of all infant ", "children" \[] }, { "name" "roomstays", "kind" "required", "type" "object", "description" "", "children" \[ { "name" "roomid", "kind" "required", "type" "string", "description" "bakuun / connectivity partner room id " }, { "name" "roomname", "kind" "required", "type" "string", "description" "room name" }, { "name" "roomtype", "kind" "required", "type" "string", "description" "dailyroom would be the used default category " }, { "name" "numberofunits", "kind" "required", "type" "string", "description" "number of units booked 1 would be the allowed min/maxvalue" }, { "name" "rateid", "kind" "required", "type" "string", "description" "bakuun / connectivity partner room rate id " }, { "name" "cancelpolicy", "kind" "required", "type" "string", "description" "defines the cancellation policy associated with the selected rateplanid \nsupported options are \n\nrefundable\nnon refundable" }, { "name" "adultcount", "kind" "required", "type" "string", "description" "number of adults in this room " }, { "name" "childcount", "kind" "required", "type" "string", "description" "number of child in this room " }, { "name" "childages", "kind" "required", "type" "object", "description" "ages of children " }, { "name" "babycount", "kind" "required", "type" "string", "description" "number of infant in this room " }, { "name" "babyages", "kind" "required", "type" "object", "description" "ages of infant " }, { "name" "roomindex", "kind" "required", "type" "string", "description" "room index reference " }, { "name" "resguestrph", "kind" "required", "type" "string", "description" "guest index reference " }, { "name" "bookingperdayprices", "kind" "required", "type" "object", "description" "date wise price list for the stay ", "children" \[ { "name" "dateymd", "kind" "required", "type" "string", "description" "iso date (e g , 2025 10 25) " }, { "name" "price", "kind" "required", "type" "string", "description" "date wise price " } ] }, { "name" "total", "kind" "required", "type" "object", "description" "", "children" \[ { "name" "amountaftertaxes", "kind" "required", "type" "string", "description" "total amount for the room stay before taxes and fees " }, { "name" "amountbeforetaxes", "kind" "required", "type" "string", "description" "total amount for the room stay after taxes and fees " } ] }, { "name" "roomincservices", "kind" "required", "type" "object", "description" "" } ] }, { "name" "guestdetails", "kind" "required", "type" "object", "description" "standard guest contact information ", "children" \[ { "name" "resguestrph", "kind" "required", "type" "string", "description" "guest index reference " }, { "name" "firstname", "kind" "required", "type" "string", "description" "guest first name " }, { "name" "lastname", "kind" "required", "type" "string", "description" "guest surname " }, { "name" "middlename", "kind" "required", "type" "string", "description" "optional" }, { "name" "email", "kind" "required", "type" "string", "description" "guest email " }, { "name" "phone", "kind" "required", "type" "string", "description" "guest phone number " }, { "name" "address", "kind" "required", "type" "string", "description" "guest address " }, { "name" "country", "kind" "required", "type" "string", "description" "guest country " } ] }, { "name" "comment", "kind" "required", "type" "object", "description" "", "children" \[ { "name" "text", "kind" "required", "type" "string", "description" "" } ] }, { "name" "paymentcard", "kind" "required", "type" "object", "description" "", "children" \[ { "name" "cardholdername", "kind" "required", "type" "string", "description" "name on card " }, { "name" "cardtype", "kind" "required", "type" "string", "description" "visa/mastercard/etc " }, { "name" "cardcategory", "kind" "required", "type" "string", "description" "cc or vcc " }, { "name" "cardnumber", "kind" "required", "type" "string", "description" "valid card number" }, { "name" "expirymonth", "kind" "required", "type" "string", "description" "expiry mm " }, { "name" "expiryyear", "kind" "required", "type" "string", "description" "expiry yyyy " }, { "name" "startdaymonth", "kind" "required", "type" "string", "description" "start day month mm \nthis is only needed for card different from visa, mastercard, amex, unionpay, jcb" }, { "name" "startdayyear", "kind" "required", "type" "string", "description" "start day year yyyy \nthis is only needed for card different from visa, mastercard, amex, unionpay, jcb" }, { "name" "issuenum", "kind" "required", "type" "string", "description" "this is only needed for card different from visa, mastercard, amex, unionpay, jcb" }, { "name" "vccbalance", "kind" "required", "type" "string", "description" "vcc current balance" }, { "name" "vcccurrencycode", "kind" "required", "type" "string", "description" "vcc currency (iso 4217) " }, { "name" "vccdeactivationdate", "kind" "required", "type" "string", "description" "deactivation date " }, { "name" "vccactivationdate", "kind" "required", "type" "string", "description" "activation date " } ] }, { "name" "totalcharge", "kind" "required", "type" "object", "description" "the type of tax applied to the booking (e g , vat, city tax, service tax) ", "children" \[ { "name" "taxdetails", "kind" "required", "type" "object", "description" "", "children" \[ { "name" "typetax", "kind" "required", "type" "string", "description" "the type of tax applied to the booking (e g , vat, fees) " }, { "name" "includes", "kind" "required", "type" "string", "description" "indicates whether the tax amount is included in the room price \n\n1 = tax is included in the price\n0 = tax is not included (added on top)\n" }, { "name" "taxprice", "kind" "required", "type" "string", "description" "the value of the tax \ncan represent either a percentage or a fixed amount, depending on the property setup " }, { "name" "taxdetails", "kind" "required", "type" "string", "description" "description of the tax applied to the booking (e g , “tax 10% not included”) " } ] }, { "name" "pricedetails", "kind" "required", "type" "object", "description" "used to identify the rate type , the allowed value would be bar or net", "children" \[ { "name" "amountaftertaxes", "kind" "required", "type" "string", "description" "total reservation amount after taxes" }, { "name" "amountbeforetaxes", "kind" "required", "type" "string", "description" "total reservation amount before taxes" } ] } ] } ], "schema" \[ { "name" "propertyid", "kind" "required", "type" "string", "description" "unique property identifier (shared mapping between bakuun and the connectivity partner) " }, { "name" "propertyname", "kind" "required", "type" "string", "description" "hotel/property name " }, { "name" "reservationid", "kind" "required", "type" "string", "description" "reservation id generaed by bakuun" }, { "name" "reservationstatus", "kind" "required", "type" "string", "description" "always set as new" }, { "name" "checkin", "kind" "required", "type" "string", "description" "iso check in datetime (e g , 2025 10 05t15 00) " }, { "name" "checkout", "kind" "required", "type" "string", "description" "iso check out datetime (e g , 2025 10 05t15 00) " }, { "name" "paymentmethod", "kind" "required", "type" "string", "description" "available payment method \nvcc, cc, bank, cash, credit" }, { "name" "currencycode", "kind" "required", "type" "string", "description" "booking currency (iso 4217) " }, { "name" "totaladult", "kind" "required", "type" "string", "description" "total adults across all rooms " }, { "name" "totalchild", "kind" "required", "type" "string", "description" "total children across all rooms " }, { "name" "childages", "kind" "required", "type" "object", "description" "ages of all children ", "children" \[] }, { "name" "totalbaby", "kind" "required", "type" "string", "description" "total infant across all rooms " }, { "name" "babyages", "kind" "required", "type" "object", "description" "ages of all infant ", "children" \[] }, { "name" "roomstays", "kind" "required", "type" "object", "description" "", "children" \[ { "name" "roomid", "kind" "required", "type" "string", "description" "bakuun / connectivity partner room id " }, { "name" "roomname", "kind" "required", "type" "string", "description" "room name" }, { "name" "roomtype", "kind" "required", "type" "string", "description" "dailyroom would be the used default category " }, { "name" "numberofunits", "kind" "required", "type" "string", "description" "number of units booked 1 would be the allowed min/maxvalue" }, { "name" "rateid", "kind" "required", "type" "string", "description" "bakuun / connectivity partner room rate id " }, { "name" "cancelpolicy", "kind" "required", "type" "string", "description" "defines the cancellation policy associated with the selected rateplanid \nsupported options are \n\nrefundable\nnon refundable" }, { "name" "adultcount", "kind" "required", "type" "string", "description" "number of adults in this room " }, { "name" "childcount", "kind" "required", "type" "string", "description" "number of child in this room " }, { "name" "childages", "kind" "required", "type" "object", "description" "ages of children " }, { "name" "babycount", "kind" "required", "type" "string", "description" "number of infant in this room " }, { "name" "babyages", "kind" "required", "type" "object", "description" "ages of infant " }, { "name" "roomindex", "kind" "required", "type" "string", "description" "room index reference " }, { "name" "resguestrph", "kind" "required", "type" "string", "description" "guest index reference " }, { "name" "bookingperdayprices", "kind" "required", "type" "object", "description" "date wise price list for the stay ", "children" \[ { "name" "dateymd", "kind" "required", "type" "string", "description" "iso date (e g , 2025 10 25) " }, { "name" "price", "kind" "required", "type" "string", "description" "date wise price " } ] }, { "name" "total", "kind" "required", "type" "object", "description" "", "children" \[ { "name" "amountaftertaxes", "kind" "required", "type" "string", "description" "total amount for the room stay before taxes and fees " }, { "name" "amountbeforetaxes", "kind" "required", "type" "string", "description" "total amount for the room stay after taxes and fees " } ] }, { "name" "roomincservices", "kind" "required", "type" "object", "description" "" } ] }, { "name" "guestdetails", "kind" "required", "type" "object", "description" "standard guest contact information ", "children" \[ { "name" "resguestrph", "kind" "required", "type" "string", "description" "guest index reference " }, { "name" "firstname", "kind" "required", "type" "string", "description" "guest first name " }, { "name" "lastname", "kind" "required", "type" "string", "description" "guest surname " }, { "name" "middlename", "kind" "required", "type" "string", "description" "optional" }, { "name" "email", "kind" "required", "type" "string", "description" "guest email " }, { "name" "phone", "kind" "required", "type" "string", "description" "guest phone number " }, { "name" "address", "kind" "required", "type" "string", "description" "guest address " }, { "name" "country", "kind" "required", "type" "string", "description" "guest country " } ] }, { "name" "comment", "kind" "required", "type" "object", "description" "", "children" \[ { "name" "text", "kind" "required", "type" "string", "description" "" } ] }, { "name" "paymentcard", "kind" "required", "type" "object", "description" "", "children" \[ { "name" "cardholdername", "kind" "required", "type" "string", "description" "name on card " }, { "name" "cardtype", "kind" "required", "type" "string", "description" "visa/mastercard/etc " }, { "name" "cardcategory", "kind" "required", "type" "string", "description" "cc or vcc " }, { "name" "cardnumber", "kind" "required", "type" "string", "description" "valid card number" }, { "name" "expirymonth", "kind" "required", "type" "string", "description" "expiry mm " }, { "name" "expiryyear", "kind" "required", "type" "string", "description" "expiry yyyy " }, { "name" "startdaymonth", "kind" "required", "type" "string", "description" "start day month mm \nthis is only needed for card different from visa, mastercard, amex, unionpay, jcb" }, { "name" "startdayyear", "kind" "required", "type" "string", "description" "start day year yyyy \nthis is only needed for card different from visa, mastercard, amex, unionpay, jcb" }, { "name" "issuenum", "kind" "required", "type" "string", "description" "this is only needed for card different from visa, mastercard, amex, unionpay, jcb" }, { "name" "vccbalance", "kind" "required", "type" "string", "description" "vcc current balance" }, { "name" "vcccurrencycode", "kind" "required", "type" "string", "description" "vcc currency (iso 4217) " }, { "name" "vccdeactivationdate", "kind" "required", "type" "string", "description" "deactivation date " }, { "name" "vccactivationdate", "kind" "required", "type" "string", "description" "activation date " } ] }, { "name" "totalcharge", "kind" "required", "type" "object", "description" "the type of tax applied to the booking (e g , vat, city tax, service tax) ", "children" \[ { "name" "taxdetails", "kind" "required", "type" "object", "description" "", "children" \[ { "name" "typetax", "kind" "required", "type" "string", "description" "the type of tax applied to the booking (e g , vat, fees) " }, { "name" "includes", "kind" "required", "type" "string", "description" "indicates whether the tax amount is included in the room price \n\n1 = tax is included in the price\n0 = tax is not included (added on top)\n" }, { "name" "taxprice", "kind" "required", "type" "string", "description" "the value of the tax \ncan represent either a percentage or a fixed amount, depending on the property setup " }, { "name" "taxdetails", "kind" "required", "type" "string", "description" "description of the tax applied to the booking (e g , “tax 10% not included”) " } ] }, { "name" "pricedetails", "kind" "required", "type" "object", "description" "used to identify the rate type , the allowed value would be bar or net", "children" \[ { "name" "amountaftertaxes", "kind" "required", "type" "string", "description" "total reservation amount after taxes" }, { "name" "amountbeforetaxes", "kind" "required", "type" "string", "description" "total reservation amount before taxes" } ] } ] } ] } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "hastryitout" false }

