Direct Supplier ( Push )
Mapping
Read Property
1 min
{ "name" "read property", "method" "post", "url" "https //wsb bakuun com/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\\" \\"string\\",\n \\"password\\" \\"string\\",\n \\"propertyid\\" \\"string\\",\n \\"sourceid\\" \\"string\\"\n },\n \\"action\\" \\"readpropertyinfo\\"\n}", "customlabel" "" } ], "selectedlanguageid" "rjxefdxztk ii0nh24633" }, "results" { "languages" \[ { "id" "cuwuqnm2 tohwu bxfbdm", "language" "200", "code" "{\n \\"success\\" true,\n \\"status\\" \\"success\\",\n \\"propertydata\\" {\n \\"propertyname\\" \\"jhjkxxx\\",\n \\"roomtypes\\" \[\n {\n \\"roomid\\" \\"r1xxx x\\",\n \\"roomname\\" \\"r1xxx x\\",\n \\"type\\" \\"dailyroom\\",\n \\"ratetypes\\" \[\n {\n \\"rateid\\" \\"r1xxx x x\\",\n \\"canceltype\\" \\"1\\",\n \\"authperson\\" \\"1\\",\n \\"defaultmeal\\" \\"ro\\",\n \\"ratecategory\\" \\"xxx\\",\n \\"restrictedcountry\\" \\"xxx\\"\n },\n {\n \\"rateid\\" \\"r1xxx x x\\",\n \\"canceltype\\" \\"1\\",\n \\"authperson\\" \\"3\\",\n \\"defaultmeal\\" \\"ro\\",\n \\"ratecategory\\" \\"xxx\\",\n \\"restrictedcountry\\" \\"xxx\\"\n }\n ]\n },\n {\n \\"roomid\\" \\"r14xx x\\",\n \\"roomname\\" \\"r1xxx x\\",\n \\"type\\" \\"dailyroom\\",\n \\"ratetypes\\" \[\n {\n \\"rateid\\" \\"r1xxx x x\\",\n \\"canceltype\\" \\"1\\",\n \\"authperson\\" \\"8\\",\n \\"defaultmeal\\" \\"bb\\",\n \\"ratecategory\\" \\"xxx\\",\n \\"restrictedcountry\\" \\"xxx\\"\n },\n {\n \\"rateid\\" \\"r1xxx x x\\",\n \\"canceltype\\" \\"1\\",\n \\"authperson\\" \\"1\\",\n \\"defaultmeal\\" \\"ro\\",\n \\"ratecategory\\" \\"xxx\\",\n \\"restrictedcountry\\" \\"xxx\\"\n }\n ]\n }\n ]\n },\n \\"trackingid\\" \\"6891e1c8b419472c500967e5\\"\n}", "customlabel" "" }, { "id" "gclsfeg7tcl3xcgr1oozh", "language" "415", "code" "{\n \\"success\\" false,\n \\"trackingid\\" \\"68c2abfc04829387650a4dbd\\",\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\\" 415,\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\\" 415,\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\\" 415,\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 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 " }, { "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" "connectivity partner identifier assigned by bakuun (e g cpbxx)" } ], "schema" \[ { "name" "username", "kind" "required", "type" "string", "description" "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 " }, { "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" "connectivity partner identifier assigned by bakuun (e g cpbxx)" } ] }, { "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" "id", "kind" "optional", "type" "string", "description" "" } ] }

