{"items":[{"type":"link","label":"Rooms API","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","content":{"contentType":"overview","meta":{"name":"Rooms API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"rooms-api-specification.json","url":"/_bundle/connectivity/docs/openapispecs/rooms-api/rooms-api-specification.json?download"},{"kind":"download","label":"rooms-api-specification.yaml","url":"/_bundle/connectivity/docs/openapispecs/rooms-api/rooms-api-specification.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"externallink","title":"URL","titleTranslationKey":"info.contact.url","label":"https://connect.booking.com","url":"https://connect.booking.com"},{"kind":"email","title":"Connectivity Team","email":"connectivity@booking.com","label":"connectivity@booking.com","withCopyButton":true,"copyContent":"connectivity@booking.com"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Rooms API (1.2)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":"Contains Rooms API specification"}],"sectionId":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification"}],"sectionId":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification"}]}]}},{"type":"separator","label":"API Endpoints","content":null},{"type":"group","label":"rooms-api","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api","items":[{"label":"Get units","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api/getunits","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api/getunits","metadata":{"seo":{"title":"Get units","description":"Get all active units for a property"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUnits","name":"Get units","isWebhook":false,"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get units","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Get all active units for a property"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"property-id","in":"path","schemaId":"schema_510","required":true}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"debug_info","in":"query","schemaId":"schema_511","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Enable debug to return "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"$.unit_name_fallback"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field in response"},"children":[]}]}]}]}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/rooms-api/properties/{property-id}/units","servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"parameters":{"path":[{"name":"property-id","in":"path","required":true,"schemaId":"schema_510"}],"query":[{"name":"debug_info","in":"query","required":false,"schemaId":"schema_511"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/rooms-api/properties/{property-id}/units","href":"rooms-api/getunits","openApiOperationId":"getUnits","summary":"Get units"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseListUnit"}},"schemaId":"components/schemas/ApiResponseListUnit"}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiResponseListUnit","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseListUnit"}}}],"examples":[]}]}]}]},"httpPath":"/rooms-api/properties/{property-id}/units"},{"label":"Create unit","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api/createunit","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api/createunit","metadata":{"seo":{"title":"Create unit","description":"Create new unit for a property"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createUnit","name":"Create unit","isWebhook":false,"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create unit","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Create new unit for a property"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"property-id","in":"path","schemaId":"schema_510","required":true}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UnitCreate","exampleIds":["paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MANY_ROOMS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_BEDROOM_ONLY","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MINIMAL_REQUIRED_FIELDS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MULTIPLE_BED_CONFIGS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_SINGLE_BED_CONFIG","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MINIMUM_REQUIRED_FIELDS"]}},"schemaId":"components/schemas/UnitCreate","exampleIds":["paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MANY_ROOMS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_BEDROOM_ONLY","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MINIMAL_REQUIRED_FIELDS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MULTIPLE_BED_CONFIGS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_SINGLE_BED_CONFIG","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MINIMUM_REQUIRED_FIELDS"],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/rooms-api/properties/{property-id}/units","servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"parameters":{"path":[{"name":"property-id","in":"path","required":true,"schemaId":"schema_510"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/UnitCreate","exampleIds":["paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MANY_ROOMS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_BEDROOM_ONLY","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MINIMAL_REQUIRED_FIELDS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MULTIPLE_BED_CONFIGS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_SINGLE_BED_CONFIG","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MINIMUM_REQUIRED_FIELDS"]}},"responseCodes":["200"],"pointer":"/rooms-api/properties/{property-id}/units","href":"rooms-api/createunit","openApiOperationId":"createUnit","summary":"Create unit"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"schemaId":"components/schemas/UnitCreate","exampleIds":["paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MANY_ROOMS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_BEDROOM_ONLY","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MINIMAL_REQUIRED_FIELDS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MULTIPLE_BED_CONFIGS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_SINGLE_BED_CONFIG","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MINIMUM_REQUIRED_FIELDS"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UnitCreate","exampleIds":["paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MANY_ROOMS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_BEDROOM_ONLY","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MINIMAL_REQUIRED_FIELDS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MULTIPLE_BED_CONFIGS","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_SINGLE_BED_CONFIG","paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MINIMUM_REQUIRED_FIELDS"]}},"examples":[{},{},{},{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseUnit"}},"schemaId":"components/schemas/ApiResponseUnit"}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiResponseUnit","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseUnit"}}}],"examples":[]}]}]}]},"httpPath":"/rooms-api/properties/{property-id}/units"},{"label":"Delete unit","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api/deleteunit","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api/deleteunit","metadata":{"seo":{"title":"Delete unit","description":"Delete existing unit for a property"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteUnit","name":"Delete unit","isWebhook":false,"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete unit","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Delete existing unit for a property"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"property-id","in":"path","schemaId":"schema_510","required":true},{"name":"unit-id","in":"path","schemaId":"schema_512","required":true}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/rooms-api/properties/{property-id}/units/{unit-id}","servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"parameters":{"path":[{"name":"property-id","in":"path","required":true,"schemaId":"schema_510"},{"name":"unit-id","in":"path","required":true,"schemaId":"schema_512"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/rooms-api/properties/{property-id}/units/{unit-id}","href":"rooms-api/deleteunit","openApiOperationId":"deleteUnit","summary":"Delete unit"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseObject"}},"schemaId":"components/schemas/ApiResponseObject"}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/delete/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiResponseObject","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseObject"}}}],"examples":[]}]}]}]},"httpPath":"/rooms-api/properties/{property-id}/units/{unit-id}"},{"label":"Update unit","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api/updateunit","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api/updateunit","metadata":{"seo":{"title":"Update unit","description":"Update existing unit for a property"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateUnit","name":"Update unit","isWebhook":false,"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update unit","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update existing unit for a property"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"property-id","in":"path","schemaId":"schema_510","required":true},{"name":"unit-id","in":"path","schemaId":"schema_512","required":true}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UnitRequest","exampleIds":["paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_ADD_BED","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_REMOVE_BED","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SINGLE_ROOM_BED_CONFIG","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/OBJECT_TYPE_FIELDS","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS"]}},"schemaId":"components/schemas/UnitRequest","exampleIds":["paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_ADD_BED","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_REMOVE_BED","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SINGLE_ROOM_BED_CONFIG","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/OBJECT_TYPE_FIELDS","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS"],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/rooms-api/properties/{property-id}/units/{unit-id}","servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"parameters":{"path":[{"name":"property-id","in":"path","required":true,"schemaId":"schema_510"},{"name":"unit-id","in":"path","required":true,"schemaId":"schema_512"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/UnitRequest","exampleIds":["paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_ADD_BED","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_REMOVE_BED","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SINGLE_ROOM_BED_CONFIG","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/OBJECT_TYPE_FIELDS","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS"]}},"responseCodes":["200"],"pointer":"/rooms-api/properties/{property-id}/units/{unit-id}","href":"rooms-api/updateunit","openApiOperationId":"updateUnit","summary":"Update unit"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"schemaId":"components/schemas/UnitRequest","exampleIds":["paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_ADD_BED","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_REMOVE_BED","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SINGLE_ROOM_BED_CONFIG","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/OBJECT_TYPE_FIELDS","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UnitRequest","exampleIds":["paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_ADD_BED","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_REMOVE_BED","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SINGLE_ROOM_BED_CONFIG","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/OBJECT_TYPE_FIELDS","paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS"]}},"examples":[{},{},{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseObject"}},"schemaId":"components/schemas/ApiResponseObject"}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiResponseObject","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseObject"}}}],"examples":[]}]}]}]},"httpPath":"/rooms-api/properties/{property-id}/units/{unit-id}"},{"label":"Get deleted units (read only)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api/getdeletedunits","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/rooms-api/getdeletedunits","metadata":{"seo":{"title":"Get deleted units (read only)","description":"Get all deleted units for a property (read only)"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getDeletedUnits","name":"Get deleted units (read only)","isWebhook":false,"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1deleted-units/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get deleted units (read only)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Get all deleted units for a property (read only)"},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"property-id","in":"path","schemaId":"schema_510","required":true}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1deleted-units/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"debug_info","in":"query","schemaId":"schema_511","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Enable debug to return "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"$.unit_name_fallback"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field in response"},"children":[]}]}]}]}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1deleted-units/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/rooms-api/properties/{property-id}/deleted-units","servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"parameters":{"path":[{"name":"property-id","in":"path","required":true,"schemaId":"schema_510"}],"query":[{"name":"debug_info","in":"query","required":false,"schemaId":"schema_511"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/rooms-api/properties/{property-id}/deleted-units","href":"rooms-api/getdeletedunits","openApiOperationId":"getDeletedUnits","summary":"Get deleted units (read only)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseListUnit"}},"schemaId":"components/schemas/ApiResponseListUnit"}],"pointer":"/paths/~1rooms-api~1properties~1{property-id}~1deleted-units/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiResponseListUnit","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseListUnit"}}}],"examples":[]}]}]}]},"httpPath":"/rooms-api/properties/{property-id}/deleted-units"}],"content":{"contentType":"group","meta":{"name":"rooms-api"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"rooms-api","showPageActions":true},{"nodeType":"markdoc","content":"Create, update, retrieve and delete property units"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/rooms-api/properties/{property-id}/units","summary":"Get units","prefix":{"name":"get","color":"get"},"badges":[],"link":"/rooms-api/getunits","deprecated":false},{"title":"/rooms-api/properties/{property-id}/units","summary":"Create unit","prefix":{"name":"post","color":"post"},"badges":[],"link":"/rooms-api/createunit","deprecated":false},{"title":"/rooms-api/properties/{property-id}/units/{unit-id}","summary":"Delete unit","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/rooms-api/deleteunit","deprecated":false},{"title":"/rooms-api/properties/{property-id}/units/{unit-id}","summary":"Update unit","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/rooms-api/updateunit","deprecated":false},{"title":"/rooms-api/properties/{property-id}/deleted-units","summary":"Get deleted units (read only)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/rooms-api/getdeletedunits","deprecated":false}]}]}]}]}},{"type":"group","label":"meta","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/meta","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/meta","items":[{"label":"Get meta data for units","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/meta/getroommeta","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/meta/getroommeta","metadata":{"seo":{"title":"Get meta data for units","description":"Retrieve meta data required for unit creation and update for any supported language_code"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getRoomMeta","name":"Get meta data for units","isWebhook":false,"pointer":"/paths/~1rooms-api~1meta/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get meta data for units","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Retrieve meta data required for unit creation and update for any supported "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"language_code"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieve the list of all unit type IDs allowed for creation/update. For each "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_types[*]"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" record you will find:"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"unit_type_id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": the unit type ID you must provide with each create and update request"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"unit_type_name"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": string representation of unit type ID (translatable)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"is_multi_room"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": attribute that defines what type of room types you can use add in your unit"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"is_active"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": attribute that defines if a unit type is available for creation/update, inactive room types are available for read only"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"valid_property_categories"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": list of property categories that allow creation of this unit type"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"suggested_unit_names"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": list of unit names that we recommend to use in combination with this unit type"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieve the list of all room name IDs allowed during unit creation/update. For each "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_names[*]"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" record you will find:"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"unit_name_id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": the unit name ID you must provide with each create request"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"unit_name"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": string representation of unit name ID (translatable)"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieve the list of all bed type IDs allowed during unit creation/update. For each "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.bed_types[*]"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" record you will find:"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"bed_type_id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": the bed type ID you must provide when configuring rooms"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"bed_type_name"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": string representation of bed type (translatable)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"bed_type_description"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": description of bed type size using metric units (translatable)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"bed_type_description_imperial"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": description of bed type size using imperial units (translatable)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"is_active"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": attribute that defines if a bed type is available for creation/update, inactive bed types are available for read only"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieve the list of all property categories for which you can create a unit. For each property type you will find its name and category ID, as well as an OTA or a Booking.com extended code"},"children":[]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"language_code","in":"query","schemaId":"schema_513","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Language code for localization. Defaults to "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"EN_GB"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"name":"show_inactive","in":"query","schemaId":"schema_514","description":"Show/hide inactive unit and bed types"}],"pointer":"/paths/~1rooms-api~1meta/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/rooms-api/meta","servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"parameters":{"path":[],"query":[{"name":"language_code","in":"query","required":false,"schemaId":"schema_513"},{"name":"show_inactive","in":"query","required":false,"schemaId":"schema_514"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/rooms-api/meta","href":"meta/getroommeta","openApiOperationId":"getRoomMeta","summary":"Get meta data for units"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseUnitMeta"}},"schemaId":"components/schemas/ApiResponseUnitMeta"}],"pointer":"/paths/~1rooms-api~1meta/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiResponseUnitMeta","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseUnitMeta"}}}],"examples":[]}]}]}]},"httpPath":"/rooms-api/meta"}],"content":{"contentType":"group","meta":{"name":"meta"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"meta","showPageActions":true},{"nodeType":"markdoc","content":"Retrieve units meta data and translations"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/rooms-api/meta","summary":"Get meta data for units","prefix":{"name":"get","color":"get"},"badges":[],"link":"/meta/getroommeta","deprecated":false}]}]}]}]}},{"type":"separator","label":"Documentation","content":null},{"type":"group","label":"About Try it","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it","items":[{"type":"link","label":"Environment","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/environment","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/environment","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Environment"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"about-try-it/environment"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Environment"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can select between two different environments (top right corner in the UI):"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Mock (schema only)"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (default):"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Helps to understand the response data schema"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Recommended for all write operations (POST, PUT, DELETE)"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Environment for testing without affecting live/test data"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Test live endpoint"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":":"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Make sure to use only test properties."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Changes will affect your test property data"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires valid credentials"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Same API structure as production"},"children":[]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Request","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/request","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/request","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Request"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"about-try-it/request"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can click on any unresolved placeholders to add a value or edit an existing placeholder value."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The portal loads the default request body. Where the specification supports multiple request body examples (for example: Rooms API POST endpoint), you can choose a different request body from the drop-down list."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Some helpful pointers before running a request:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (when using live endpoint): Configure your authentication headers"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API Key or OAuth token as required. Use the "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Environments"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" tab."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Make sure to manage separate machine accounts for test vs. properties in production."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Ensure credentials match your selected environment."},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Parameters"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Fill in required parameters"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Path parameters (like "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"propertyId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Query parameters (like "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"language_code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Request body for "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"POST/PUT"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" operations"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Execute"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Click "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Send"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to send the request"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The request is sent to the selected environment"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When sending requests to the live endpoint, real HTTP request is made to the API"},"children":[]}]}]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Response","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/response","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/response","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Response"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"about-try-it/response"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Response"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Try it feature provides comprehensive response information to the extent supported by the Open API specification:"},"children":[]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Status code","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/status-code","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/status-code","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Status code"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":3,"id":"about-try-it/status-code"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Status code"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"2xx"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Success responses (200)"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"4xx"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Client errors (400 Bad Request, 401 Unauthorized, 404 Not Found)"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"5xx"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Server errors (500 Internal Server Error)"},"children":[]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Response body","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/response-body","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/response-body","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Response body"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":3,"id":"about-try-it/response-body"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Response body"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"JSON formatted response data"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If the returned response, by default, is unformatted, select the supported Response body format in the UI."},"children":[]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Response headers","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/response-headers","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/response-headers","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Response headers"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":3,"id":"about-try-it/response-headers"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Response headers"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Content-Type, Content-Length."},"children":[]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Environments","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/environments","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/environments","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Environments"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"about-try-it/environments"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Environments"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Environments"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" tab allows you to create variables specific to the environment. For example, you can add a variable to hold the value of the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"property-id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" placeholder. The portal inserts the respective value depending on the environment at the time of sending the request."},"children":[]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Variables","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/variables","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/variables","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Variables"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":3,"id":"about-try-it/variables"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Variables"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Most of the endpoints (especially POST/PUT/DELETE) require you to add a path or query parameter before sending the request. The Open API specification marks these parameters with placeholder tags. For example, {{"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"property_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"}}. You can use the "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Environments"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" tab to manage the values for these placeholders as variables."},"children":[]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Path parameters","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/path-parameters","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/path-parameters","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Path parameters"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":4,"id":"about-try-it/path-parameters"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Path parameters"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Required"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Must be provided to make the request"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Type validation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Ensures correct data types (integer, string, etc.)"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Example"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"property-id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/rooms-api/properties/{property-id}/units"},"children":[]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Query parameters","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/query-parameters","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/query-parameters","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Query parameters"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":4,"id":"about-try-it/query-parameters"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Query parameters"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Optional"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Usually have default values"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Example"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"debug_info"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with boolean values"},"children":[]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Request body","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/request-body","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/request-body","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Request body"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":4,"id":"about-try-it/request-body"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Request body"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Schema validation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Follows OpenAPI schema definitions"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Example data"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Prepopulated with sample values"},"children":[]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Best practices","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/best-practices","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/best-practices","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Best practices"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"about-try-it/best-practices"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Best practices"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This section provides some basic practice guidelines."},"children":[]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Authentication","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/authentication","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/authentication","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Authentication"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":3,"id":"about-try-it/authentication"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Always use separate machine accounts for test properties vs. properties in production."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When testing with production endpoint, make sure to use only test properties."},"children":[]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"For Read operations (GET)","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/for-read-operations-(get)","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/for-read-operations-(get)","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"For Read operations (GET)"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":3,"id":"about-try-it/for-read-operations-(get)"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For Read operations (GET)"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Safe to test in any environment"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Use valid IDs that exist in your system"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Check response structure for integration planning"},"children":[]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"For Write operations (POST, PUT)","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/for-write-operations-(post-put)","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/for-write-operations-(post-put)","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"For Write operations (POST, PUT)"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":3,"id":"about-try-it/for-write-operations-(post-put)"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For Write operations (POST, PUT)"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Always use Mock (schema only) environment first"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Verify request payload structure"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Check response for success confirmation"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Test error scenarios with invalid data"},"children":[]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"For Delete operations (DELETE)","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/for-delete-operations-(delete)","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/for-delete-operations-(delete)","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"For Delete operations (DELETE)"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":3,"id":"about-try-it/for-delete-operations-(delete)"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For Delete operations (DELETE)"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Preferable to use Mock (schema only) environment only"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Understand the operation is irreversible"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Have backup data when testing using test properties"},"children":[]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Troubleshooting","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/troubleshooting","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/troubleshooting","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Troubleshooting"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"about-try-it/troubleshooting"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Troubleshooting"},"children":[]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Common issues","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/common-issues","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/common-issues","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Common issues"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":3,"id":"about-try-it/common-issues"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Common issues"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"401 Unauthorized"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Check authentication credentials"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Verify API key is valid and not expired"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Ensure credentials match the selected environment"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"400 Bad Request"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Validate request payload against schema"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Check required fields are provided"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Verify data types match specification"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"404 Not Found"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Confirm the resource ID exists"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Check the endpoint URL is correct"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Verify you have access to the resource"},"children":[]}]}]}]}]}],"panels":[]}]}},{"type":"link","label":"Getting help","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/getting-help","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification/about-try-it/getting-help","content":{"contentType":"item","itemVariant":"markdown","meta":{"name":"Getting help"},"children":[{"nodeType":"container","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":3,"id":"about-try-it/getting-help"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Getting help"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If you encounter issues:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Check the response error message for details"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Verify your request matches the API specification"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Contact the Connectivity Team for support"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This documentation applies to all endpoints in the Rooms API. The Try it feature provides a consistent testing experience across all operations."},"children":[]}]}]}]}]}],"panels":[]}]}}],"content":{"contentType":"group","meta":{"name":"About Try it"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"About Try it","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Learn how to effectively use the Try it feature in the Rooms API documentation."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Use the "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Try it"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" feature to send sample requests to API endpoints directly from the developer portal. In the "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Mock (schema only)"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment, Try it returns schema-driven mock responses or pre-built example responses. In the "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Production"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" environment, it sends the request to the live API and returns dynamic responses from your selected test property."},"children":[]}]}]}]}],"panels":[]}]}}],"store":{"schemaStore":{"components/schemas/Bed":{"id":"components/schemas/Bed","kind":"json-schema","title":"Bed","data":{"required":["bed_count","bed_type_id"],"type":"object","properties":{"bed_type_id":{"type":"integer","format":"int32"},"bed_count":{"type":"integer","format":"int32"}}}},"components/schemas/BedConfiguration":{"id":"components/schemas/BedConfiguration","kind":"json-schema","title":"BedConfiguration","data":{"required":["beds","is_default_configuration"],"type":"object","properties":{"beds":{"type":"array","items":{"$ref":"#/components/schemas/Bed"}},"is_default_configuration":{"type":"boolean","description":"Exactly one default bed configuration is mandatory for each room provided"}},"description":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"For multi-room unit you must add exactly one bed configuration"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"For single-room unit you must add at least one bed configuration, others are optional"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Bed type ID provided must exist and be active in meta (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.bed_types[*].is_active"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":")"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Same bed type ID must be repeated within a single bed configuration"},"children":[]}]}]}]}},"components/schemas/Configuration":{"id":"components/schemas/Configuration","kind":"json-schema","title":"Configuration","data":{"required":["rooms","unit_type_id"],"type":"object","properties":{"unit_type_id":{"type":"integer","description":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Must exist and be active in meta (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_type[*].id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_type[*].is_active"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":") for unit creation/update"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Must be valid for property's category in meta (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_type[*].valid_property_categories"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":")"},"children":[]}]}]}],"format":"int32"},"rooms":{"type":"array","items":{"$ref":"#/components/schemas/Room"}}}}},"components/schemas/ExtraBedsConfigurationCreate":{"id":"components/schemas/ExtraBedsConfigurationCreate","kind":"json-schema","title":"ExtraBedsConfigurationCreate","data":{"type":"object","properties":{"extra_beds":{"maximum":100,"minimum":0,"type":"integer","description":"Number of extra beds you can provide","format":"int32","default":0},"cribs":{"maximum":100,"minimum":0,"type":"integer","description":"Number of cribs you can provide","format":"int32","default":0},"is_crib_and_extra_bed_allowed":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Both extra beds and cribs can be provided ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"true"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") or only one of the options ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"false"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")?"},"children":[]}]}]}],"default":false}},"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Extra bed & crib options"},"children":[]}]}]}]}},"components/schemas/OccupancyCreate":{"id":"components/schemas/OccupancyCreate","kind":"json-schema","title":"OccupancyCreate","data":{"type":"object","properties":{"max_guests":{"maximum":50,"minimum":1,"type":"integer","description":"Maximum number of guests","format":"int32","default":1},"max_adults":{"maximum":50,"minimum":1,"type":"integer","description":"Maximum number of adults","format":"int32","default":1},"max_children":{"maximum":49,"minimum":0,"type":"integer","description":"Maximum number of children (0-17 years old)","format":"int32","default":0}},"deprecated":true}},"components/schemas/OccupancyDetailsCreate":{"id":"components/schemas/OccupancyDetailsCreate","kind":"json-schema","title":"OccupancyDetailsCreate","data":{"type":"object","properties":{"max_guests":{"maximum":50,"minimum":1,"type":"integer","description":"Maximum number of guests","format":"int32","default":1},"max_adults":{"maximum":50,"minimum":1,"type":"integer","description":"Maximum number of adults","format":"int32","default":1},"max_children":{"maximum":49,"minimum":0,"type":"integer","description":"Maximum number of children (3-17 years old)","format":"int32","default":0},"max_infants":{"maximum":49,"minimum":0,"type":"integer","description":"Maximum number of infants (0-2 years old)","format":"int32","default":0},"max_infants_on_top":{"maximum":49,"minimum":0,"type":"integer","description":"Maximum number of infants (0-2 years old) on top of maximum number of guests","format":"int32","default":0}}}},"components/schemas/Room":{"id":"components/schemas/Room","kind":"json-schema","title":"Room","data":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"For multi-room units you must add one or more "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"BEDROOM_SUBROOM"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"LIVING_ROOM_SUBROOM"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", at least one of the rooms must have beds"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"For single-room units you must add exactly one "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GUEST_ROOM"},"children":[]}]}]}]}],"enum":["BEDROOM_SUBROOM","LIVING_ROOM_SUBROOM","GUEST_ROOM"]},"bed_configurations":{"type":"array","items":{"$ref":"#/components/schemas/BedConfiguration"}}}}},"components/schemas/Size":{"id":"components/schemas/Size","kind":"json-schema","title":"Size","data":{"required":["unit","value"],"type":"object","properties":{"value":{"type":"number","description":"Must be a value between 1 and 9999.99","format":"double"},"unit":{"type":"string","description":"SQM (square meters) or SQFT (square feet)","enum":["SQM","SQFT"]}}}},"components/schemas/UnitCreate":{"id":"components/schemas/UnitCreate","kind":"json-schema","title":"UnitCreate","data":{"required":["configuration","unit_name_id"],"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/Configuration"},"unit_name_id":{"type":"integer","description":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"The list of available unit names can be found in meta (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_names"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":")"},"children":[]}]}]}],"format":"int32"},"number_of_units":{"type":"integer","description":"Number of units must be between 0 and 32000","format":"int32","default":1},"smoking_policy":{"type":"string","default":"SMOKING_AND_NONSMOKING","enum":["SMOKING","NONSMOKING","SMOKING_AND_NONSMOKING"]},"size":{"$ref":"#/components/schemas/Size"},"partner_reference_name":{"type":"string","description":"Internal room name, visible only in API and Extranet"},"floor_numbers_located_on":{"type":"array","description":"One or more floors where the unit is located; 0 is a ground floor","items":{"type":"integer","description":"One or more floors where the unit is located; 0 is a ground floor","format":"int32"}},"occupancy":{"$ref":"#/components/schemas/OccupancyCreate"},"occupancy_details":{"$ref":"#/components/schemas/OccupancyDetailsCreate"},"extra_beds_configuration":{"$ref":"#/components/schemas/ExtraBedsConfigurationCreate"},"max_children_that_pay_children_rate":{"maximum":49,"minimum":0,"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This field will be deprecated on 29 June 2026 and sunset on 7 July 2026. Booking.com will ignore this field after the sunset date. For more details, see "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/connectivity/docs/deprecation-policy/deprecation-and-sunsetting#deprecating-legacy-max-payable-child-field"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Deprecating legacy max payable child field."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Maximum number of children eligible for the children rate (the rest are charged as adults), must be less than or equal to number of children. If not specified, defaults to "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"max_children"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"format":"int32","deprecated":true}},"description":"Unit creation schema; use meta endpoint for fetching relevant meta data"}},"components/schemas/ApiError":{"id":"components/schemas/ApiError","kind":"json-schema","title":"ApiError","data":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"details":{"type":"object"}}}},"components/schemas/ApiResponseUnit":{"id":"components/schemas/ApiResponseUnit","kind":"json-schema","title":"ApiResponseUnit","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Unit"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"meta":{"$ref":"#/components/schemas/ResponseMeta"}}}},"components/schemas/ExtraBedsConfiguration":{"id":"components/schemas/ExtraBedsConfiguration","kind":"json-schema","title":"ExtraBedsConfiguration","data":{"required":["cribs","extra_beds","is_crib_and_extra_bed_allowed"],"type":"object","properties":{"extra_beds":{"maximum":100,"minimum":0,"type":"integer","description":"Number of extra beds you can provide","format":"int32"},"cribs":{"maximum":100,"minimum":0,"type":"integer","description":"Number of cribs you can provide","format":"int32"},"is_crib_and_extra_bed_allowed":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Both extra beds and cribs can be provided ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"true"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") or only one of the options ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"false"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")?"},"children":[]}]}]}]}},"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Extra bed & crib options"},"children":[]}]}]}]}},"components/schemas/Occupancy":{"id":"components/schemas/Occupancy","kind":"json-schema","title":"Occupancy","data":{"required":["max_adults","max_children","max_guests"],"type":"object","properties":{"max_guests":{"maximum":50,"minimum":1,"type":"integer","description":"Maximum number of guests","format":"int32"},"max_adults":{"maximum":50,"minimum":1,"type":"integer","description":"Maximum number of adults","format":"int32"},"max_children":{"maximum":49,"minimum":0,"type":"integer","description":"Maximum number of children (0-17 years old)","format":"int32"}},"deprecated":true}},"components/schemas/OccupancyDetails":{"id":"components/schemas/OccupancyDetails","kind":"json-schema","title":"OccupancyDetails","data":{"required":["max_adults","max_children","max_guests","max_infants","max_infants_on_top"],"type":"object","properties":{"max_guests":{"maximum":50,"minimum":1,"type":"integer","description":"Maximum number of guests","format":"int32"},"max_adults":{"maximum":50,"minimum":1,"type":"integer","description":"Maximum number of adults","format":"int32"},"max_children":{"maximum":49,"minimum":0,"type":"integer","description":"Maximum number of children (3-17 years old)","format":"int32"},"max_infants":{"maximum":49,"minimum":0,"type":"integer","description":"Maximum number of infants (0-2 years old)","format":"int32"},"max_infants_on_top":{"maximum":49,"minimum":0,"type":"integer","description":"Maximum number of infants (0-2 years old) on top of maximum number of guests","format":"int32"}}}},"components/schemas/ResponseMeta":{"id":"components/schemas/ResponseMeta","kind":"json-schema","title":"ResponseMeta","data":{"type":"object","properties":{"ruid":{"type":"string"}}}},"components/schemas/Unit":{"id":"components/schemas/Unit","kind":"json-schema","title":"Unit","data":{"type":"object","properties":{"unit_id":{"type":"integer","format":"int64"},"configuration":{"$ref":"#/components/schemas/Configuration"},"unit_name_id":{"type":"integer","description":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"The list of available unit names can be found in meta (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_names"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":")"},"children":[]}]}]}],"format":"int32"},"number_of_units":{"type":"integer","description":"Number of units must be between 0 and 32000","format":"int32"},"smoking_policy":{"type":"string","description":"Room smoking policy","enum":["SMOKING","NONSMOKING","SMOKING_AND_NONSMOKING"]},"size":{"$ref":"#/components/schemas/Size"},"partner_reference_name":{"type":"string","description":"Internal room name, visible only in API and Extranet"},"floor_numbers_located_on":{"type":"array","description":"One or more floors where the unit is located; 0 is a ground floor","items":{"type":"integer","description":"One or more floors where the unit is located; 0 is a ground floor","format":"int32"}},"occupancy":{"$ref":"#/components/schemas/Occupancy"},"occupancy_details":{"$ref":"#/components/schemas/OccupancyDetails"},"extra_beds_configuration":{"$ref":"#/components/schemas/ExtraBedsConfiguration"},"max_children_that_pay_children_rate":{"maximum":49,"minimum":0,"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This field will be deprecated on 29 June 2026 and sunset on 7 July 2026. For more details, see "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/connectivity/docs/deprecation-policy/deprecation-and-sunsetting#deprecating-legacy-max-payable-child-field"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Deprecating legacy max payable child field."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Maximum number of children eligible for the children rate (the rest are charged as adults), must be less than or equal to number of children."},"children":[]}]}]}],"format":"int32","deprecated":true},"unit_name_fallback":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Contains unit name ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"EN_GB"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" locale) for any unit name ID, including those missing in meta (for debug purposes only; read only)"},"children":[]}]}]}]}},"description":"Unit schema; use meta endpoint for fetching relevant meta data"}},"components/schemas/UnitRequest":{"id":"components/schemas/UnitRequest","kind":"json-schema","title":"UnitRequest","data":{"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/Configuration"},"unit_name_id":{"type":"integer","description":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"The list of available unit names can be found in meta (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_names"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":")"},"children":[]}]}]}],"format":"int32"},"number_of_units":{"type":"integer","description":"Number of units must be between 0 and 32000","format":"int32"},"smoking_policy":{"type":"string","description":"Room smoking policy","enum":["SMOKING","NONSMOKING","SMOKING_AND_NONSMOKING"]},"size":{"$ref":"#/components/schemas/Size"},"partner_reference_name":{"type":"string","description":"Internal room name, visible only in API and Extranet"},"floor_numbers_located_on":{"type":"array","description":"One or more floors where the unit is located; 0 is a ground floor","items":{"type":"integer","description":"One or more floors where the unit is located; 0 is a ground floor","format":"int32"}},"occupancy":{"$ref":"#/components/schemas/Occupancy"},"occupancy_details":{"$ref":"#/components/schemas/OccupancyDetails"},"extra_beds_configuration":{"$ref":"#/components/schemas/ExtraBedsConfiguration"},"max_children_that_pay_children_rate":{"maximum":49,"minimum":0,"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This field will be deprecated on 29 June 2026 and sunset on 7 July 2026. For more details, see "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/connectivity/docs/deprecation-policy/deprecation-and-sunsetting#deprecating-legacy-max-payable-child-field"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Deprecating legacy max payable child field."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Maximum number of children eligible for the children rate (the rest are charged as adults), must be less than or equal to number of children."},"children":[]}]}]}],"format":"int32","deprecated":true},"unit_name_fallback":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Contains unit name ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"EN_GB"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" locale) for any unit name ID, including those missing in meta (for debug purposes only; read only)"},"children":[]}]}]}]}},"description":"Unit schema; use meta endpoint for fetching relevant meta data"}},"components/schemas/ApiResponseObject":{"id":"components/schemas/ApiResponseObject","kind":"json-schema","title":"ApiResponseObject","data":{"type":"object","properties":{"data":{"type":"object"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"meta":{"$ref":"#/components/schemas/ResponseMeta"}}}},"components/schemas/ApiResponseListUnit":{"id":"components/schemas/ApiResponseListUnit","kind":"json-schema","title":"ApiResponseListUnit","data":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Unit"}},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"meta":{"$ref":"#/components/schemas/ResponseMeta"}}}},"components/schemas/ApiResponseUnitMeta":{"id":"components/schemas/ApiResponseUnitMeta","kind":"json-schema","title":"ApiResponseUnitMeta","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnitMeta"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"meta":{"$ref":"#/components/schemas/ResponseMeta"}}}},"components/schemas/BedType":{"id":"components/schemas/BedType","kind":"json-schema","title":"BedType","data":{"type":"object","properties":{"bed_type_id":{"type":"integer","format":"int32"},"bed_type_name":{"type":"string"},"bed_type_description":{"type":"string"},"bed_type_description_imperial":{"type":"string"},"is_active":{"type":"boolean"}}}},"components/schemas/PropertyCategory":{"id":"components/schemas/PropertyCategory","kind":"json-schema","title":"PropertyCategory","data":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"name":{"type":"string"},"code_ota":{"type":"integer","format":"int32"},"code_booking_extended":{"type":"integer","format":"int32"}}}},"components/schemas/UnitMeta":{"id":"components/schemas/UnitMeta","kind":"json-schema","title":"UnitMeta","data":{"type":"object","properties":{"language_code":{"type":"string","enum":["EN_GB","EN_US","DE","NL","FR","ES","ES_AR","ES_MX","CA","IT","PT_PT","PT_BR","NO","FI","SV","DA","CS","HU","RO","JA","ZH_CN","ZH_TW","PL","EL","RU","TR","BG","AR","KA","KO","HE","LV","UK","ID","MS","TH","ET","HR","LT","SK","SR","SL","VI","TL","IS","HI","SQ"]},"unit_types":{"type":"array","items":{"$ref":"#/components/schemas/UnitType"}},"unit_names":{"type":"array","items":{"$ref":"#/components/schemas/UnitName"}},"bed_types":{"type":"array","items":{"$ref":"#/components/schemas/BedType"}},"property_categories":{"type":"array","items":{"$ref":"#/components/schemas/PropertyCategory"}}}}},"components/schemas/UnitName":{"id":"components/schemas/UnitName","kind":"json-schema","title":"UnitName","data":{"type":"object","properties":{"unit_name_id":{"type":"integer","format":"int32"},"unit_name":{"type":"string"}}}},"components/schemas/UnitType":{"id":"components/schemas/UnitType","kind":"json-schema","title":"UnitType","data":{"type":"object","properties":{"unit_type_id":{"type":"integer","format":"int32"},"unit_type_name":{"type":"string"},"is_multi_room":{"type":"boolean"},"is_active":{"type":"boolean"},"valid_property_categories":{"type":"array","items":{"type":"integer","format":"int32"}},"suggested_unit_names":{"type":"array","items":{"$ref":"#/components/schemas/UnitName"}}}}},"schema_510":{"kind":"json-schema","data":{"type":"integer","format":"int32"},"id":"schema_510"},"schema_511":{"kind":"json-schema","data":{"type":"string","default":"false"},"id":"schema_511"},"schema_512":{"kind":"json-schema","data":{"type":"integer","format":"int64"},"id":"schema_512"},"schema_513":{"kind":"json-schema","data":{"type":"string","enum":["EN_GB","EN_US","DE","NL","FR","ES","ES_AR","ES_MX","CA","IT","PT_PT","PT_BR","NO","FI","SV","DA","CS","HU","RO","JA","ZH_CN","ZH_TW","PL","EL","RU","TR","BG","AR","KA","KO","HE","LV","UK","ID","MS","TH","ET","HR","LT","SK","SR","SL","VI","TL","IS","HI","SQ"]},"id":"schema_513"},"schema_514":{"kind":"json-schema","data":{"type":"boolean","default":true},"id":"schema_514"}},"exampleStore":{"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MANY_ROOMS":{"value":{"configuration":{"unit_type_id":31,"rooms":[{"type":"BEDROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":6,"bed_count":1},{"bed_type_id":1,"bed_count":1}],"is_default_configuration":true}]},{"type":"BEDROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":1,"bed_count":3}],"is_default_configuration":true}]},{"type":"LIVING_ROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":5,"bed_count":1}],"is_default_configuration":true}]},{"type":"LIVING_ROOM_SUBROOM"}]},"unit_name_id":4180,"number_of_units":5,"smoking_policy":"SMOKING_AND_NONSMOKING","size":{"value":155,"unit":"SQM"},"partner_reference_name":"Example two-bedroom villa","floor_numbers_located_on":[2],"occupancy_details":{"max_guests":5,"max_adults":5,"max_children":4,"max_infants":4,"max_infants_on_top":0},"max_children_that_pay_children_rate":2,"extra_beds_configuration":{"extra_beds":1,"cribs":0,"is_crib_and_extra_bed_allowed":false}},"key":"MULTI_ROOM_UNIT_W_MANY_ROOMS","summary":"MULTI_ROOM_UNIT_W_MANY_ROOMS","description":"Create a Villa with 2 bedrooms and a living room with sofa","id":"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MANY_ROOMS"},"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_BEDROOM_ONLY":{"value":{"configuration":{"unit_type_id":1,"rooms":[{"type":"BEDROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":3,"bed_count":1}],"is_default_configuration":true}]},{"type":"LIVING_ROOM_SUBROOM"}]},"unit_name_id":865,"number_of_units":5,"smoking_policy":"SMOKING","size":{"value":155,"unit":"SQM"},"partner_reference_name":"Example single-bedroom apartment","floor_numbers_located_on":[2],"occupancy_details":{"max_guests":3,"max_adults":3,"max_children":2,"max_infants":0,"max_infants_on_top":2},"max_children_that_pay_children_rate":1,"extra_beds_configuration":{"extra_beds":1,"cribs":1,"is_crib_and_extra_bed_allowed":true}},"key":"MULTI_ROOM_UNIT_W_BEDROOM_ONLY","summary":"MULTI_ROOM_UNIT_W_BEDROOM_ONLY","description":"Create a one-bedroom Apartment with a living room","id":"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_BEDROOM_ONLY"},"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MINIMAL_REQUIRED_FIELDS":{"value":{"configuration":{"unit_type_id":5,"rooms":[{"type":"BEDROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":3,"bed_count":1}],"is_default_configuration":true}]}]},"unit_name_id":746},"key":"MULTI_ROOM_UNIT_W_MINIMAL_REQUIRED_FIELDS","summary":"MULTI_ROOM_UNIT_W_MINIMAL_REQUIRED_FIELDS","description":"Create a one-bedroom Suite with minimum required fields","id":"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNIT_W_MINIMAL_REQUIRED_FIELDS"},"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MULTIPLE_BED_CONFIGS":{"value":{"configuration":{"unit_type_id":9,"rooms":[{"type":"GUEST_ROOM","bed_configurations":[{"beds":[{"bed_type_id":3,"bed_count":1}],"is_default_configuration":true},{"beds":[{"bed_type_id":1,"bed_count":2}],"is_default_configuration":false}]}]},"unit_name_id":255,"number_of_units":20,"smoking_policy":"NONSMOKING","size":{"value":24,"unit":"SQM"},"partner_reference_name":"Example double with multiple bed configurations","floor_numbers_located_on":[1,2,3,4,5],"occupancy_details":{"max_guests":2,"max_adults":2,"max_children":1,"max_infants":1,"max_infants_on_top":0},"max_children_that_pay_children_rate":1,"extra_beds_configuration":{"extra_beds":0,"cribs":1,"is_crib_and_extra_bed_allowed":false}},"key":"SINGLE_ROOM_UNIT_W_MULTIPLE_BED_CONFIGS","summary":"SINGLE_ROOM_UNIT_W_MULTIPLE_BED_CONFIGS","description":"Create a Double with multiple bed configurations","id":"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MULTIPLE_BED_CONFIGS"},"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_SINGLE_BED_CONFIG":{"value":{"configuration":{"unit_type_id":12,"rooms":[{"type":"GUEST_ROOM","bed_configurations":[{"beds":[{"bed_type_id":3,"bed_count":1}],"is_default_configuration":true}]}]},"unit_name_id":1147,"number_of_units":20,"smoking_policy":"NONSMOKING","size":{"value":24,"unit":"SQM"},"partner_reference_name":"Example studio with a single bed configuration","occupancy_details":{"max_guests":2,"max_adults":2,"max_children":1,"max_infants":1,"max_infants_on_top":0},"max_children_that_pay_children_rate":1,"extra_beds_configuration":{"extra_beds":0,"cribs":1,"is_crib_and_extra_bed_allowed":false}},"key":"SINGLE_ROOM_UNIT_W_SINGLE_BED_CONFIG","summary":"SINGLE_ROOM_UNIT_W_SINGLE_BED_CONFIG","description":"Create a Studio with a single bed configuration","id":"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_SINGLE_BED_CONFIG"},"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MINIMUM_REQUIRED_FIELDS":{"value":{"configuration":{"unit_type_id":10,"rooms":[{"type":"GUEST_ROOM","bed_configurations":[{"beds":[{"bed_type_id":1,"bed_count":1}],"is_default_configuration":true}]}]},"unit_name_id":69},"key":"SINGLE_ROOM_UNIT_W_MINIMUM_REQUIRED_FIELDS","summary":"SINGLE_ROOM_UNIT_W_MINIMUM_REQUIRED_FIELDS","description":"Create a Single with minimum required fields","id":"paths/~1rooms-api~1properties~1{property-id}~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNIT_W_MINIMUM_REQUIRED_FIELDS"},"paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_ADD_BED":{"value":{"configuration":{"unit_type_id":1,"rooms":[{"type":"BEDROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":3,"bed_count":1},{"bed_type_id":1,"bed_count":1}],"is_default_configuration":true}]},{"type":"LIVING_ROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":5,"bed_count":1}],"is_default_configuration":true}]}]}},"key":"MULTI_ROOM_ADD_BED","summary":"MULTI_ROOM_ADD_BED","description":"Add additional single bed to bedroom for multi-room unit","id":"paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_ADD_BED"},"paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_REMOVE_BED":{"value":{"configuration":{"unit_type_id":1,"rooms":[{"type":"BEDROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":3,"bed_count":1},{"bed_type_id":1,"bed_count":1}],"is_default_configuration":true}]},{"type":"LIVING_ROOM_SUBROOM"}]}},"key":"MULTI_ROOM_REMOVE_BED","summary":"MULTI_ROOM_REMOVE_BED","description":"Remove beds from a living room for multi-room unit","id":"paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/MULTI_ROOM_REMOVE_BED"},"paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SINGLE_ROOM_BED_CONFIG":{"value":{"configuration":{"unit_type_id":9,"rooms":[{"type":"GUEST_ROOM","bed_configurations":[{"beds":[{"bed_type_id":3,"bed_count":1}],"is_default_configuration":true},{"beds":[{"bed_type_id":1,"bed_count":2}],"is_default_configuration":false}]}]}},"key":"SINGLE_ROOM_BED_CONFIG","summary":"SINGLE_ROOM_BED_CONFIG","description":"Add additional bed configuration for mono-room unit","id":"paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SINGLE_ROOM_BED_CONFIG"},"paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/OBJECT_TYPE_FIELDS":{"value":{"size":{"value":99,"unit":"SQM"},"occupancy_details":{"max_guests":5,"max_adults":5,"max_children":4,"max_infants":4,"max_infants_on_top":0},"extra_beds_configuration":{"extra_beds":2,"cribs":1,"is_crib_and_extra_bed_allowed":true}},"key":"OBJECT_TYPE_FIELDS","summary":"OBJECT_TYPE_FIELDS","description":"Update size, occupancy and extra beds configuration for any unit type","id":"paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/OBJECT_TYPE_FIELDS"},"paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS":{"value":{"unit_name_id":2273,"number_of_units":3,"smoking_policy":"SMOKING","partner_reference_name":"Example reference name"},"key":"SIMPLE_FIELDS","summary":"SIMPLE_FIELDS","description":"Update unit name, number of units, smoking policy and partner reference name for any unit type","id":"paths/~1rooms-api~1properties~1{property-id}~1units~1{unit-id}/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS"}},"securitySchemeStore":{},"servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","isMockServer":true,"description":"Mock (schema only)"},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}]},"options":{"feedback":{"hide":true,"settings":{"label":""}},"corsProxyUrl":"https://cors.redoc.ly","pagination":"section","hideSidebar":true,"mockServer":{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","position":"first","description":"Mock (schema only)","off":false},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/connectivity/docs/openapispecs/rooms-api/rooms-api-specification.json?download"},{"url":"/_bundle/connectivity/docs/openapispecs/rooms-api/rooms-api-specification.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Rooms API","description":"Contains Rooms API specification"}},"baseSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification","routesMapping":{}}