Direct Supplier ( Push )
Mapping
Read Property
1 min
{ "name" "read property", "method" "post", "url" "https //wsb bakuun com/v2/api/read property info", "description" "returns detailed information about the property associated with the given propertyid this action allows bakuun to retrieve the static room and rate plan configuration as defined in the connectivity partner’s system ", "tab" "examples", "examples" { "languages" \[ { "id" "rjxefdxztk ii0nh24633", "language" "json", "code" "{\n \\"authentication\\" {\n \\"username\\" \\"xxxxxxxxxxxx\\",\n \\"password\\" \\"xxxxxxxxxxxx\\",\n \\"propertyid\\" \\"htlxx x\\",\n \\"sourceid\\" \\"tpsxxx\\"\n },\n \\"action\\" \\"readpropertyinfo\\"\n}", "customlabel" "" } ], "selectedlanguageid" "rjxefdxztk ii0nh24633" }, "results" { "languages" \[ { "id" "cuwuqnm2 tohwu bxfbdm", "language" "200", "code" "{\n \\"status\\" \\"success\\",\n \\"trackingid\\" \\"689b2156a77bdcd61a0a0ba0\\",\n \\"propertydata\\" {\n \\"propertyname\\" \\"my test property\\",\n \\"country\\" \\"test\\",\n \\"region\\" \\"test\\",\n \\"city\\" \\"test\\",\n \\"area\\" \\"test\\",\n \\"zipcode\\" \\"411014\\",\n \\"address\\" \\"viman nagar\\",\n \\"latitude\\" \\"18 565002\\",\n \\"longitude\\" \\"73 920876\\",\n \\"prefixphone\\" \\"+91\\",\n \\"phonenum\\" \\"123456987\\",\n \\"currency\\" \\"inr\\",\n \\"roomtypes\\" \[\n {\n \\"roomid\\" \\"rxx x\\",\n \\"roomname\\" \\"double room with shared toilet\\",\n \\"type\\" \\"dailyroom\\",\n \\"ratetypes\\" \[\n {\n \\"rateid\\" \\"rxx x x\\",\n \\"authperson\\" \\"3\\",\n \\"canceltype\\" \\"1\\",\n \\"defaultmeal\\" \\"ro\\",\n \\"ratecategory\\" \\"b2b\\",\n \\"restrictedcountry\\" \\"af,al,dz,as\\"\n },\n {\n \\"rateplanid\\" \\"rxx x x\\",\n \\"authperson\\" \\"2\\",\n \\"canceltype\\" \\"1\\",\n \\"defaultmeal\\" \\"hb\\",\n \\"ratecategory\\" \\"b2c\\",\n \\"restrictedcountry\\" \\"af,al,dz,as\\"\n }\n ]\n },\n ]\n }\n}", "customlabel" "" }, { "id" "gclsfeg7tcl3xcgr1oozh", "language" "415", "code" "{\n \\"success\\" false,\n \\"trackingid\\" \\"689b2156a77bdcd61a0a0ba0\\",\n \\"errors\\" \[\n {\n \\"code\\" 415,\n \\"message\\" \\"invalid authentication key \\"\n }\n ]\n}", "customlabel" "" }, { "id" "vvhipugmygg65zy yktqy", "language" "422", "code" "{\n \\"success\\" false,\n \\"trackingid\\" \\"68c2abfc04829387650a4dbd\\",\n \\"errors\\" \[\n {\n \\"code\\" 422,\n \\"message\\" \\"validation failed\\"\n }\n ]\n}", "customlabel" "" }, { "id" "wqk ise ml6p69i9hyujs", "language" "431", "code" "{\n \\"success\\" false,\n \\"trackingid\\" \\"68c2abfc04829387650a4dbd\\",\n \\"errors\\" \[\n {\n \\"code\\" 431,\n \\"message\\" \\"endpoint is not active\\"\n }\n ]\n}", "customlabel" "" }, { "id" "em0 o6mufotrdsgflmks ", "language" "451", "code" "{\n \\"success\\" false,\n \\"trackingid\\" \\"68c2abfc04829387650a4dbd\\",\n \\"errors\\" \[\n {\n \\"code\\" 451,\n \\"message\\" \\"mapping is not active\\"\n }\n ]\n}", "customlabel" "" }, { "id" "cpbdwnfoxucckpwemfola", "language" "428", "code" "{\n \\"success\\" false,\n \\"trackingid\\" \\"68c2abfc04829387650a4dbd\\",\n \\"errors\\" \[\n {\n \\"code\\" 415,\n \\"message\\" \\"no room mappings found for this property\\"\n }\n ]\n}", "customlabel" "" }, { "id" "x8oara7dktkyutxja77lg", "language" "500", "code" "{\n \\"success\\" false,\n \\"trackingid\\" \\"68c2abfc04829387650a4dbd\\",\n \\"errors\\" \[\n {\n \\"code\\" 415,\n \\"message\\" \\"internal server error\\"\n }\n ]\n}", "customlabel" "" } ], "selectedlanguageid" "cuwuqnm2 tohwu bxfbdm" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "authentication", "kind" "required", "type" "object", "description" "", "" "", "children" \[ { "name" "username", "kind" "required", "type" "string", "description" "api username provided by the tps partner to authenticate incoming requests from bakuun " }, { "name" "password", "kind" "required", "type" "string", "description" "api password provided by the tpspartner to authenticate incoming requests from bakuun " }, { "name" "propertyid", "kind" "required", "type" "string", "description" "unique property identifier (shared mapping between bakuun and the connectivity partner) " }, { "name" "sourceid", "kind" "required", "type" "string", "description" "tps partner identifier assigned by bakuun (e g tpsxx)" } ], "schema" \[ { "name" "username", "kind" "required", "type" "string", "description" "api username provided by the tps partner to authenticate incoming requests from bakuun " }, { "name" "password", "kind" "required", "type" "string", "description" "api password provided by the tpspartner to authenticate incoming requests from bakuun " }, { "name" "propertyid", "kind" "required", "type" "string", "description" "unique property identifier (shared mapping between bakuun and the connectivity partner) " }, { "name" "sourceid", "kind" "required", "type" "string", "description" "tps partner identifier assigned by bakuun (e g tpsxx)" } ] }, { "name" "action", "kind" "required", "type" "string", "description" "always set as readpropertyinfo", "" "always set as readpropertyinfo" } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "hastryitout" false, "response" \[ { "name" "status", "kind" "optional", "type" "string", "description" "true", "children" \[] }, { "name" "trackingid", "kind" "optional", "type" "string", "description" "", "children" \[] }, { "name" "propertydata", "kind" "optional", "type" "object", "description" "container for all static property, room, and rate plan data ", "children" \[ { "name" "propertyname", "kind" "optional", "type" "string", "description" "name of the property as shown to users " }, { "name" "roomtypes", "kind" "optional", "type" "object", "description" "", "children" \[ { "name" "roomid", "kind" "optional", "type" "string", "description" "unique identifier for the room type" }, { "name" "roomname", "kind" "optional", "type" "string", "description" "descriptive name of the room type (e g deluxe queen room with two queen beds) " }, { "name" "type", "kind" "optional", "type" "string", "description" "dailyroom would be the used default category " }, { "name" "ratetypes", "kind" "optional", "type" "object", "description" "", "children" \[ { "name" "rateid", "kind" "optional", "type" "string", "description" "unique identifier for the rate plan (e g rxx 1 2 1) " }, { "name" "authperson", "kind" "optional", "type" "string", "description" "maximum authorized occupancy (number of persons) for this rate plan " }, { "name" "canceltype", "kind" "optional", "type" "string", "description" "cancellation rule type code (mapping provided by bakuun; e g 0 = non refundable, 1 = refundable) " }, { "name" "defaultmeal", "kind" "optional", "type" "string", "description" "default meal plan code (e g 0 = room only, 1 = breakfast, 2 = half board, 3 = full board — actual mapping defined in your integration) " }, { "name" "ratecategory", "kind" "optional", "type" "string", "description" "assigned rate category (e g corporate, package, promotion)" }, { "name" "restrictedcountry", "kind" "optional", "type" "string", "description" "optional country restrictions for selling this rate can be empty or contain a list of countries " } ] } ] } ] } ] }

