{"items":[{"type":"link","label":"Rooms API","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk","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-bulk.json","url":"/_bundle/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk.json?download"},{"kind":"download","label":"rooms-api-specification-bulk.yaml","url":"/_bundle/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk.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-bulk","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.3)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":"Contains Rooms API specification"}],"sectionId":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk"}],"sectionId":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk"}]}]}},{"type":"separator","label":"API Endpoints","content":null},{"type":"group","label":"rooms-api","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/rooms-api","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/rooms-api/getunits","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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_415","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_416","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-bulk","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_415"}],"query":[{"name":"debug_info","in":"query","required":false,"schemaId":"schema_416"}],"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-bulk","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":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"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":["*/*"],"mediaTypeContent":{"*/*":{"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-bulk/rooms-api/createunit","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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_415","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-bulk","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_415"}],"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-bulk","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":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"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":["*/*"],"mediaTypeContent":{"*/*":{"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-bulk/rooms-api/deleteunit","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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_415","required":true},{"name":"unit-id","in":"path","schemaId":"schema_417","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-bulk","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_415"},{"name":"unit-id","in":"path","required":true,"schemaId":"schema_417"}],"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-bulk","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":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"components/schemas/ApiResponseVoid"}},"schemaId":"components/schemas/ApiResponseVoid"}],"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/ApiResponseVoid","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"components/schemas/ApiResponseVoid"}}}],"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-bulk/rooms-api/updateunit","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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_415","required":true},{"name":"unit-id","in":"path","schemaId":"schema_417","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/Unit","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/Unit","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-bulk","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_415"},{"name":"unit-id","in":"path","required":true,"schemaId":"schema_417"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/Unit","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-bulk","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"schemaId":"components/schemas/Unit","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/Unit","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":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"components/schemas/ApiResponseVoid"}},"schemaId":"components/schemas/ApiResponseVoid"}],"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/ApiResponseVoid","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"components/schemas/ApiResponseVoid"}}}],"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-bulk/rooms-api/getdeletedunits","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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_415","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_416","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-bulk","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_415"}],"query":[{"name":"debug_info","in":"query","required":false,"schemaId":"schema_416"}],"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-bulk","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":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"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":["*/*"],"mediaTypeContent":{"*/*":{"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":"rooms-api-bulk","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/rooms-api-bulk","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/rooms-api-bulk","items":[{"label":"Create units","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/rooms-api-bulk/createunits","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/rooms-api-bulk/createunits","metadata":{"seo":{"title":"Create units","description":"Create one or more units"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createUnits","name":"Create units","isWebhook":false,"pointer":"/paths/~1rooms-api~1units/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create units","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Create one or more units"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Content-Type","in":"header","schemaId":"schema_418","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies the expected content type. Currently supports "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"application/json"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"required":true},{"name":"Accept-Version","in":"header","schemaId":"schema_419","description":"Specify the version number to get the API functionality specific to that version. Currently supports the value: 1.0"}],"pointer":"/paths/~1rooms-api~1units/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BulkUnitsCreateRequest","exampleIds":["paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNITS","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNITS","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MINIMAL_REQUIRED_FIELDS"]}},"schemaId":"components/schemas/BulkUnitsCreateRequest","exampleIds":["paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNITS","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNITS","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MINIMAL_REQUIRED_FIELDS"],"pointer":"/paths/~1rooms-api~1units/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/rooms-api/units","servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Content-Type","in":"header","required":true,"schemaId":"schema_418"},{"name":"Accept-Version","in":"header","required":false,"schemaId":"schema_419"}],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/BulkUnitsCreateRequest","exampleIds":["paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNITS","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNITS","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MINIMAL_REQUIRED_FIELDS"]}},"responseCodes":["200","400","500"],"pointer":"/rooms-api/units","href":"rooms-api-bulk/createunits","openApiOperationId":"createUnits","summary":"Create units"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"schemaId":"components/schemas/BulkUnitsCreateRequest","exampleIds":["paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNITS","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNITS","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MINIMAL_REQUIRED_FIELDS"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BulkUnitsCreateRequest","exampleIds":["paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNITS","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNITS","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES","paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MINIMAL_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":"Units created successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponse","exampleIds":["paths/~1rooms-api~1units/post/responses/200/content/application~1json/examples/SUCCESS"]}},"schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponse","exampleIds":["paths/~1rooms-api~1units/post/responses/200/content/application~1json/examples/SUCCESS"]},{"code":"400","description":"Validation error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponseError","exampleIds":["paths/~1rooms-api~1units/post/responses/400/content/application~1json/examples/VALIDATION_ERROR"]}},"schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponseError","exampleIds":["paths/~1rooms-api~1units/post/responses/400/content/application~1json/examples/VALIDATION_ERROR"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponseError","exampleIds":["paths/~1rooms-api~1units/post/responses/500/content/application~1json/examples/SYSTEM_ERROR"]}},"schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponseError","exampleIds":["paths/~1rooms-api~1units/post/responses/500/content/application~1json/examples/SYSTEM_ERROR"]}],"pointer":"/paths/~1rooms-api~1units/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponse","exampleIds":["paths/~1rooms-api~1units/post/responses/200/content/application~1json/examples/SUCCESS"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponse","exampleIds":["paths/~1rooms-api~1units/post/responses/200/content/application~1json/examples/SUCCESS"]}}},{"code":"400","schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponseError","exampleIds":["paths/~1rooms-api~1units/post/responses/400/content/application~1json/examples/VALIDATION_ERROR"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponseError","exampleIds":["paths/~1rooms-api~1units/post/responses/400/content/application~1json/examples/VALIDATION_ERROR"]}}},{"code":"500","schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponseError","exampleIds":["paths/~1rooms-api~1units/post/responses/500/content/application~1json/examples/SYSTEM_ERROR"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseBulkUnitsCreateResponseError","exampleIds":["paths/~1rooms-api~1units/post/responses/500/content/application~1json/examples/SYSTEM_ERROR"]}}}],"examples":[]}]}]}]},"httpPath":"/rooms-api/units"},{"label":"Delete units","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/rooms-api-bulk/deleteunits","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/rooms-api-bulk/deleteunits","metadata":{"seo":{"title":"Delete units","description":"Delete one or more existing units"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteUnits","name":"Delete units","isWebhook":false,"pointer":"/paths/~1rooms-api~1units/delete","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete units","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Delete one or more existing units"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Content-Type","in":"header","schemaId":"schema_418","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies the expected content type. Currently supports "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"application/json"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"required":true},{"name":"Accept-Version","in":"header","schemaId":"schema_419","description":"Specify the version number to get the API functionality specific to that version. Currently supports the value: 1.0"}],"pointer":"/paths/~1rooms-api~1units/delete/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BulkUnitsDeleteRequest","exampleIds":["paths/~1rooms-api~1units/delete/requestBody/content/application~1json/examples/DELETE_UNITS"]}},"schemaId":"components/schemas/BulkUnitsDeleteRequest","exampleIds":["paths/~1rooms-api~1units/delete/requestBody/content/application~1json/examples/DELETE_UNITS"],"pointer":"/paths/~1rooms-api~1units/delete/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/rooms-api/units","servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Content-Type","in":"header","required":true,"schemaId":"schema_418"},{"name":"Accept-Version","in":"header","required":false,"schemaId":"schema_419"}],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/BulkUnitsDeleteRequest","exampleIds":["paths/~1rooms-api~1units/delete/requestBody/content/application~1json/examples/DELETE_UNITS"]}},"responseCodes":["200","400","500"],"pointer":"/rooms-api/units","href":"rooms-api-bulk/deleteunits","openApiOperationId":"deleteUnits","summary":"Delete units"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"schemaId":"components/schemas/BulkUnitsDeleteRequest","exampleIds":["paths/~1rooms-api~1units/delete/requestBody/content/application~1json/examples/DELETE_UNITS"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BulkUnitsDeleteRequest","exampleIds":["paths/~1rooms-api~1units/delete/requestBody/content/application~1json/examples/DELETE_UNITS"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Units deleted successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/200/content/application~1json/examples/SUCCESS"]}},"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/200/content/application~1json/examples/SUCCESS"]},{"code":"400","description":"Delete error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/400/content/application~1json/examples/ERROR"]}},"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/400/content/application~1json/examples/ERROR"]},{"code":"500","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/500/content/application~1json/examples/SYSTEM_ERROR"]}},"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/500/content/application~1json/examples/SYSTEM_ERROR"]}],"pointer":"/paths/~1rooms-api~1units/delete/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/200/content/application~1json/examples/SUCCESS"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/200/content/application~1json/examples/SUCCESS"]}}},{"code":"400","schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/400/content/application~1json/examples/ERROR"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/400/content/application~1json/examples/ERROR"]}}},{"code":"500","schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/500/content/application~1json/examples/SYSTEM_ERROR"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/delete/responses/500/content/application~1json/examples/SYSTEM_ERROR"]}}}],"examples":[]}]}]}]},"httpPath":"/rooms-api/units"},{"label":"Update units","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/rooms-api-bulk/updateunits","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/rooms-api-bulk/updateunits","metadata":{"seo":{"title":"Update units","description":"Update one or more existing units"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateUnits","name":"Update units","isWebhook":false,"pointer":"/paths/~1rooms-api~1units/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update units","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update one or more existing units"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Content-Type","in":"header","schemaId":"schema_418","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies the expected content type. Currently supports "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"application/json"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"required":true},{"name":"Accept-Version","in":"header","schemaId":"schema_419","description":"Specify the version number to get the API functionality specific to that version. Currently supports the value: 1.0"}],"pointer":"/paths/~1rooms-api~1units/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BulkUnitsUpdateRequest","exampleIds":["paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/BED_CONFIGURATION","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/ADD_ROOM","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/REMOVE_ROOM","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/UPDATE_ROOM_BEDS","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS"]}},"schemaId":"components/schemas/BulkUnitsUpdateRequest","exampleIds":["paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/BED_CONFIGURATION","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/ADD_ROOM","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/REMOVE_ROOM","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/UPDATE_ROOM_BEDS","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS"],"pointer":"/paths/~1rooms-api~1units/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/rooms-api/units","servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Content-Type","in":"header","required":true,"schemaId":"schema_418"},{"name":"Accept-Version","in":"header","required":false,"schemaId":"schema_419"}],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/BulkUnitsUpdateRequest","exampleIds":["paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/BED_CONFIGURATION","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/ADD_ROOM","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/REMOVE_ROOM","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/UPDATE_ROOM_BEDS","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS"]}},"responseCodes":["200","400","500"],"pointer":"/rooms-api/units","href":"rooms-api-bulk/updateunits","openApiOperationId":"updateUnits","summary":"Update units"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk","description":"Mock (schema only)","isMockServer":true},{"url":"https://supply-xml.booking.com/","description":"Test using live endpoint"}],"schemaId":"components/schemas/BulkUnitsUpdateRequest","exampleIds":["paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/BED_CONFIGURATION","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/ADD_ROOM","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/REMOVE_ROOM","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/UPDATE_ROOM_BEDS","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BulkUnitsUpdateRequest","exampleIds":["paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/BED_CONFIGURATION","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/ADD_ROOM","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/REMOVE_ROOM","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/UPDATE_ROOM_BEDS","paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES","paths/~1rooms-api~1units/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":"Units updated successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/200/content/application~1json/examples/SUCCESS"]}},"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/200/content/application~1json/examples/SUCCESS"]},{"code":"400","description":"Validation error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/400/content/application~1json/examples/VALIDATION_ERROR"]}},"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/400/content/application~1json/examples/VALIDATION_ERROR"]},{"code":"500","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/500/content/application~1json/examples/SYSTEM_ERROR"]}},"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/500/content/application~1json/examples/SYSTEM_ERROR"]}],"pointer":"/paths/~1rooms-api~1units/patch/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/200/content/application~1json/examples/SUCCESS"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/200/content/application~1json/examples/SUCCESS"]}}},{"code":"400","schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/400/content/application~1json/examples/VALIDATION_ERROR"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/400/content/application~1json/examples/VALIDATION_ERROR"]}}},{"code":"500","schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/500/content/application~1json/examples/SYSTEM_ERROR"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiResponseVoid","exampleIds":["paths/~1rooms-api~1units/patch/responses/500/content/application~1json/examples/SYSTEM_ERROR"]}}}],"examples":[]}]}]}]},"httpPath":"/rooms-api/units"}],"content":{"contentType":"group","meta":{"name":"rooms-api-bulk"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"rooms-api-bulk","showPageActions":true},{"nodeType":"markdoc","content":"Create, update and delete multiple units"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/rooms-api/units","summary":"Create units","prefix":{"name":"post","color":"post"},"badges":[],"link":"/rooms-api-bulk/createunits","deprecated":false},{"title":"/rooms-api/units","summary":"Delete units","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/rooms-api-bulk/deleteunits","deprecated":false},{"title":"/rooms-api/units","summary":"Update units","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/rooms-api-bulk/updateunits","deprecated":false}]}]}]}]}},{"type":"group","label":"meta","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/meta","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/meta/getroommeta","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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_420","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_421","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-bulk","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_420"},{"name":"show_inactive","in":"query","required":false,"schemaId":"schema_421"}],"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-bulk","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":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"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":["*/*"],"mediaTypeContent":{"*/*":{"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-bulk/about-try-it","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/about-try-it","items":[{"type":"link","label":"Environment","link":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/about-try-it/environment","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/request","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/response","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/status-code","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/response-body","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/response-headers","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/environments","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/variables","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/path-parameters","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/query-parameters","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/request-body","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/best-practices","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/authentication","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/for-read-operations-(get)","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/for-write-operations-(post-put)","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/for-delete-operations-(delete)","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/troubleshooting","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/common-issues","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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-bulk/about-try-it/getting-help","routeSlug":"/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk/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/BedConfigurationRequest":{"id":"components/schemas/BedConfigurationRequest","kind":"json-schema","title":"BedConfigurationRequest","data":{"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":[]}]}]}],"properties":{"beds":{"type":"array","items":{"$ref":"#/components/schemas/BedRequest"},"minItems":1},"is_default_configuration":{"type":"boolean","description":"Exactly one default bed configuration is mandatory for each room provided"}},"required":["beds","is_default_configuration"]}},"components/schemas/BedRequest":{"id":"components/schemas/BedRequest","kind":"json-schema","title":"BedRequest","data":{"properties":{"bed_type_id":{"type":"integer","format":"int32"},"bed_count":{"type":"integer","format":"int32"}},"required":["bed_count","bed_type_id"]}},"components/schemas/BulkUnitsCreateRequest":{"id":"components/schemas/BulkUnitsCreateRequest","kind":"json-schema","title":"BulkUnitsCreateRequest","data":{"description":"Bulk unit create request","properties":{"units":{"type":"array","description":"List of units to create. All units must belong to the same property. Maximum 100 units per request.","items":{"$ref":"#/components/schemas/UnitCreateRequest"},"maxItems":100,"minItems":1}},"required":["units"]}},"components/schemas/ConfigurationRequest":{"id":"components/schemas/ConfigurationRequest","kind":"json-schema","title":"ConfigurationRequest","data":{"properties":{"unit_type_id":{"type":"integer","format":"int32","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":[]}]}]}]},"rooms":{"type":"array","items":{"$ref":"#/components/schemas/RoomRequest"},"minItems":1}},"required":["rooms","unit_type_id"]}},"components/schemas/ExtraBedsConfigurationCreateRequest":{"id":"components/schemas/ExtraBedsConfigurationCreateRequest","kind":"json-schema","title":"ExtraBedsConfigurationCreateRequest","data":{"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":[]}]}]}],"properties":{"extra_beds":{"type":"integer","format":"int32","default":0,"description":"Number of extra beds you can provide","maximum":100,"minimum":0},"cribs":{"type":"integer","format":"int32","default":0,"description":"Number of cribs you can provide","maximum":100,"minimum":0},"is_crib_and_extra_bed_allowed":{"type":"boolean","default":false,"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":[]}]}]}]}}}},"components/schemas/OccupancyCreateRequest":{"id":"components/schemas/OccupancyCreateRequest","kind":"json-schema","title":"OccupancyCreateRequest","data":{"deprecated":true,"properties":{"max_guests":{"type":"integer","format":"int32","default":1,"description":"Maximum number of guests","maximum":50,"minimum":1},"max_adults":{"type":"integer","format":"int32","default":1,"description":"Maximum number of adults","maximum":50,"minimum":1},"max_children":{"type":"integer","format":"int32","default":0,"description":"Maximum number of children (0-17 years old)","maximum":49,"minimum":0}}}},"components/schemas/OccupancyDetailsCreateRequest":{"id":"components/schemas/OccupancyDetailsCreateRequest","kind":"json-schema","title":"OccupancyDetailsCreateRequest","data":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Occupancy settings for the unit. Replaces the deprecated "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"occupancy"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" object."},"children":[]}]}]}],"properties":{"max_guests":{"type":"integer","format":"int32","default":1,"description":"Maximum number of guests","maximum":50,"minimum":1},"max_adults":{"type":"integer","format":"int32","default":1,"description":"Maximum number of adults","maximum":50,"minimum":1},"max_children":{"type":"integer","format":"int32","default":0,"description":"Maximum number of children excluding infants (3-17 years old)","maximum":49,"minimum":0},"max_infants":{"type":"integer","format":"int32","default":0,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Maximum number of infants (0-2 years old). Infants are counted toward "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"max_guests"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"maximum":49,"minimum":0},"max_infants_on_top":{"type":"integer","format":"int32","default":0,"description":"Maximum number of infants (0-2 years old) on top of maximum number of guests","maximum":49,"minimum":0}}}},"components/schemas/RoomRequest":{"id":"components/schemas/RoomRequest","kind":"json-schema","title":"RoomRequest","data":{"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/BedConfigurationRequest"}}},"required":["type"]}},"components/schemas/SizeRequest":{"id":"components/schemas/SizeRequest","kind":"json-schema","title":"SizeRequest","data":{"properties":{"value":{"type":"number","format":"double","description":"Must be a value between 1 and 9999.99"},"unit":{"type":"string","description":"SQM (square meters) or SQFT (square feet)","enum":["SQM","SQFT"]}},"required":["unit","value"]}},"components/schemas/UnitCreateRequest":{"id":"components/schemas/UnitCreateRequest","kind":"json-schema","title":"UnitCreateRequest","data":{"description":"Unit create schema","properties":{"property_id":{"type":"integer","format":"int32","description":"Property ID the unit belongs to. All units in a single request must belong to the same property."},"correlation_id":{"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":"Correlation id to map the created unit in the response (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.units[i].correlation_id"},"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":"Must be unique for all provided units in the request"},"children":[]}]}]}],"minLength":1},"configuration":{"$ref":"#/components/schemas/ConfigurationRequest"},"unit_name_id":{"type":"integer","format":"int32","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":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Set "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"debug_info"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" as "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"true"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" to retrieve the generated unit name (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_name_fallback"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":")"},"children":[]}]}]}]},"unit_name_source":{"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":"PROVIDED uses the "},"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":" as the unit name source and "},"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":" must be set when using PROVIDED"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GENERATED generates the "},"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":" and "},"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":" must not be set when using GENERATED"},"children":[]}]}]}],"enum":["PROVIDED","GENERATED"]},"category_id":{"type":"integer","format":"int32","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":"Category id for the unit"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Use meta to retrieve the supported categories (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_categories"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":")"},"children":[]}]}]}]},"number_of_units":{"type":"integer","format":"int32","default":1,"description":"Number of units must be between 0 and 32000"},"smoking_policy":{"type":"string","default":"SMOKING_AND_NONSMOKING","enum":["SMOKING","NONSMOKING","SMOKING_AND_NONSMOKING"]},"size":{"$ref":"#/components/schemas/SizeRequest"},"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","format":"int32","description":"One or more floors where the unit is located; 0 is a ground floor"}},"occupancy":{"$ref":"#/components/schemas/OccupancyCreateRequest"},"occupancy_details":{"$ref":"#/components/schemas/OccupancyDetailsCreateRequest"},"extra_beds_configuration":{"$ref":"#/components/schemas/ExtraBedsConfigurationCreateRequest"}},"required":["configuration","correlation_id","property_id"]}},"components/schemas/ApiError":{"id":"components/schemas/ApiError","kind":"json-schema","title":"ApiError","data":{"properties":{"message":{"type":"string"},"code":{"type":"integer","format":"int32","description":""},"details":{"type":"object","properties":{"fields":{"type":"array","description":"","items":{"type":"string"}}}},"description":{"type":"string"}}}},"components/schemas/ApiResponseBulkUnitsCreateResponse":{"id":"components/schemas/ApiResponseBulkUnitsCreateResponse","kind":"json-schema","title":"ApiResponseBulkUnitsCreateResponse","data":{"properties":{"ruid":{"type":"string","writeOnly":true},"data":{"$ref":"#/components/schemas/BulkUnitsCreateResponse"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"meta":{"$ref":"#/components/schemas/ResponseMeta"}}}},"components/schemas/Bed":{"id":"components/schemas/Bed","kind":"json-schema","title":"Bed","data":{"properties":{"bed_type_id":{"type":"integer","format":"int32"},"bed_count":{"type":"integer","format":"int32"}},"required":["bed_count","bed_type_id"]}},"components/schemas/BulkUnitsCreateResponse":{"id":"components/schemas/BulkUnitsCreateResponse","kind":"json-schema","title":"BulkUnitsCreateResponse","data":{"properties":{"units":{"type":"array","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"List of created units. Use "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"correlation_id"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to map each entry back to the corresponding item in the request."},"children":[]}]}]}],"items":{"$ref":"#/components/schemas/UnitCreateResponse"}}}}},"components/schemas/ResponseMeta":{"id":"components/schemas/ResponseMeta","kind":"json-schema","title":"ResponseMeta","data":{"properties":{"ruid":{"type":"string"}}}},"components/schemas/UnitCreateResponse":{"id":"components/schemas/UnitCreateResponse","kind":"json-schema","title":"UnitCreateResponse","data":{"properties":{"unit_id":{"type":"integer","format":"int64","description":"Id of the created unit"},"correlation_id":{"type":"string","description":"Correlation id provided in the create request to map the created unit back to the request"},"property_id":{"type":"integer","format":"int32","description":"Property ID the unit belongs to"},"configuration":{"$ref":"#/components/schemas/UnitCreateResponseConfiguration"},"unit_name_id":{"type":"integer","format":"int32","description":"Unit name ID assigned to this unit"},"unit_name_source":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Indicates whether the unit name was explicitly provided ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"PROVIDED"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") or auto-generated ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"GENERATED"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")"},"children":[]}]}]}],"enum":["PROVIDED","GENERATED"]},"category_id":{"type":"integer","format":"int32","description":"Category ID assigned to this unit"},"number_of_units":{"type":"integer","format":"int32","description":"Number of identical units of this type"},"smoking_policy":{"type":"string","description":"Smoking policy for this unit","enum":["SMOKING","NONSMOKING","SMOKING_AND_NONSMOKING"]},"size":{"$ref":"#/components/schemas/UnitCreateResponseSize"},"partner_reference_name":{"type":"string"},"floor_numbers_located_on":{"type":"array","items":{"type":"integer","format":"int32"}},"occupancy":{"$ref":"#/components/schemas/UnitCreateResponseOccupancy"},"occupancy_details":{"$ref":"#/components/schemas/UnitCreateResponseOccupancyDetails"},"extra_beds_configuration":{"$ref":"#/components/schemas/UnitCreateResponseExtraBedsConfiguration"}}}},"components/schemas/UnitCreateResponseBedConfiguration":{"id":"components/schemas/UnitCreateResponseBedConfiguration","kind":"json-schema","title":"UnitCreateResponseBedConfiguration","data":{"properties":{"beds":{"type":"array","items":{"$ref":"#/components/schemas/Bed"}},"is_default_configuration":{"type":"boolean"}}}},"components/schemas/UnitCreateResponseConfiguration":{"id":"components/schemas/UnitCreateResponseConfiguration","kind":"json-schema","title":"UnitCreateResponseConfiguration","data":{"properties":{"unit_type_id":{"type":"integer","format":"int32"},"rooms":{"type":"array","items":{"$ref":"#/components/schemas/UnitCreateResponseRoom"}}}}},"components/schemas/UnitCreateResponseExtraBedsConfiguration":{"id":"components/schemas/UnitCreateResponseExtraBedsConfiguration","kind":"json-schema","title":"UnitCreateResponseExtraBedsConfiguration","data":{"properties":{"extra_beds":{"type":"integer","format":"int32"},"cribs":{"type":"integer","format":"int32"},"is_crib_and_extra_bed_allowed":{"type":"boolean"}}}},"components/schemas/UnitCreateResponseOccupancy":{"id":"components/schemas/UnitCreateResponseOccupancy","kind":"json-schema","title":"UnitCreateResponseOccupancy","data":{"deprecated":true,"properties":{"max_guests":{"type":"integer","format":"int32"},"max_adults":{"type":"integer","format":"int32"},"max_children":{"type":"integer","format":"int32"}}}},"components/schemas/UnitCreateResponseOccupancyDetails":{"id":"components/schemas/UnitCreateResponseOccupancyDetails","kind":"json-schema","title":"UnitCreateResponseOccupancyDetails","data":{"properties":{"max_guests":{"type":"integer","format":"int32"},"max_adults":{"type":"integer","format":"int32"},"max_children":{"type":"integer","format":"int32"},"max_infants":{"type":"integer","format":"int32"},"max_infants_on_top":{"type":"integer","format":"int32"}}}},"components/schemas/UnitCreateResponseRoom":{"id":"components/schemas/UnitCreateResponseRoom","kind":"json-schema","title":"UnitCreateResponseRoom","data":{"properties":{"type":{"type":"string","enum":["BEDROOM_SUBROOM","LIVING_ROOM_SUBROOM","GUEST_ROOM"]},"bed_configurations":{"type":"array","items":{"$ref":"#/components/schemas/UnitCreateResponseBedConfiguration"}}}}},"components/schemas/UnitCreateResponseSize":{"id":"components/schemas/UnitCreateResponseSize","kind":"json-schema","title":"UnitCreateResponseSize","data":{"properties":{"value":{"type":"number","format":"double"},"unit":{"type":"string","enum":["SQM","SQFT"]}}}},"components/schemas/BedConfiguration":{"id":"components/schemas/BedConfiguration","kind":"json-schema","title":"BedConfiguration","data":{"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":[]}]}]}],"properties":{"beds":{"type":"array","items":{"$ref":"#/components/schemas/Bed"},"minItems":1},"is_default_configuration":{"type":"boolean","description":"Exactly one default bed configuration is mandatory for each room provided"}},"required":["beds","is_default_configuration"]}},"components/schemas/Configuration":{"id":"components/schemas/Configuration","kind":"json-schema","title":"Configuration","data":{"properties":{"unit_type_id":{"type":"integer","format":"int32","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":[]}]}]}]},"rooms":{"type":"array","items":{"$ref":"#/components/schemas/Room"},"minItems":1}},"required":["rooms","unit_type_id"]}},"components/schemas/ExtraBedsConfigurationCreate":{"id":"components/schemas/ExtraBedsConfigurationCreate","kind":"json-schema","title":"ExtraBedsConfigurationCreate","data":{"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":[]}]}]}],"properties":{"extra_beds":{"type":"integer","format":"int32","default":0,"description":"Number of extra beds you can provide","maximum":100,"minimum":0},"cribs":{"type":"integer","format":"int32","default":0,"description":"Number of cribs you can provide","maximum":100,"minimum":0},"is_crib_and_extra_bed_allowed":{"type":"boolean","default":false,"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":[]}]}]}]}}}},"components/schemas/OccupancyCreate":{"id":"components/schemas/OccupancyCreate","kind":"json-schema","title":"OccupancyCreate","data":{"deprecated":true,"properties":{"max_guests":{"type":"integer","format":"int32","default":1,"description":"Maximum number of guests","maximum":50,"minimum":1},"max_adults":{"type":"integer","format":"int32","default":1,"description":"Maximum number of adults","maximum":50,"minimum":1},"max_children":{"type":"integer","format":"int32","default":0,"description":"Maximum number of children (0-17 years old)","maximum":49,"minimum":0}}}},"components/schemas/OccupancyDetailsCreate":{"id":"components/schemas/OccupancyDetailsCreate","kind":"json-schema","title":"OccupancyDetailsCreate","data":{"properties":{"max_guests":{"type":"integer","format":"int32","default":1,"description":"Maximum number of guests","maximum":50,"minimum":1},"max_adults":{"type":"integer","format":"int32","default":1,"description":"Maximum number of adults","maximum":50,"minimum":1},"max_children":{"type":"integer","format":"int32","default":0,"description":"Maximum number of children excluding infants (3-17 years old)","maximum":49,"minimum":0},"max_infants":{"type":"integer","format":"int32","default":0,"description":"Maximum number of infants (0-2 years old)","maximum":49,"minimum":0},"max_infants_on_top":{"type":"integer","format":"int32","default":0,"description":"Maximum number of infants (0-2 years old) on top of maximum number of guests","maximum":49,"minimum":0}}}},"components/schemas/Room":{"id":"components/schemas/Room","kind":"json-schema","title":"Room","data":{"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"}}},"required":["type"]}},"components/schemas/Size":{"id":"components/schemas/Size","kind":"json-schema","title":"Size","data":{"properties":{"value":{"type":"number","format":"double","description":"Must be a value between 1 and 9999.99"},"unit":{"type":"string","description":"SQM (square meters) or SQFT (square feet)","enum":["SQM","SQFT"]}},"required":["unit","value"]}},"components/schemas/UnitCreate":{"id":"components/schemas/UnitCreate","kind":"json-schema","title":"UnitCreate","data":{"description":"Unit creation schema; use meta endpoint for fetching relevant meta data","properties":{"configuration":{"$ref":"#/components/schemas/Configuration"},"unit_name_id":{"type":"integer","format":"int32","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":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Set "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"debug_info"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" as "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"true"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" to retrieve the generated unit name (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_name_fallback"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":")"},"children":[]}]}]}]},"number_of_units":{"type":"integer","format":"int32","default":1,"description":"Number of units must be between 0 and 32000"},"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","format":"int32","description":"One or more floors where the unit is located; 0 is a ground floor"}},"occupancy":{"$ref":"#/components/schemas/OccupancyCreate"},"occupancy_details":{"$ref":"#/components/schemas/OccupancyDetailsCreate"},"extra_beds_configuration":{"$ref":"#/components/schemas/ExtraBedsConfigurationCreate"}},"required":["configuration"]}},"components/schemas/ApiResponseUnit":{"id":"components/schemas/ApiResponseUnit","kind":"json-schema","title":"ApiResponseUnit","data":{"properties":{"ruid":{"type":"string","writeOnly":true},"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":{"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":[]}]}]}],"properties":{"extra_beds":{"type":"integer","format":"int32","description":"Number of extra beds you can provide","maximum":100,"minimum":0},"cribs":{"type":"integer","format":"int32","description":"Number of cribs you can provide","maximum":100,"minimum":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":[]}]}]}]}},"required":["cribs","extra_beds","is_crib_and_extra_bed_allowed"]}},"components/schemas/Occupancy":{"id":"components/schemas/Occupancy","kind":"json-schema","title":"Occupancy","data":{"deprecated":true,"properties":{"max_guests":{"type":"integer","format":"int32","description":"Maximum number of guests","maximum":50,"minimum":1},"max_adults":{"type":"integer","format":"int32","description":"Maximum number of adults","maximum":50,"minimum":1},"max_children":{"type":"integer","format":"int32","description":"Maximum number of children (0-17 years old)","maximum":49,"minimum":0}},"required":["max_adults","max_children","max_guests"]}},"components/schemas/OccupancyDetails":{"id":"components/schemas/OccupancyDetails","kind":"json-schema","title":"OccupancyDetails","data":{"properties":{"max_guests":{"type":"integer","format":"int32","description":"Maximum number of guests","maximum":50,"minimum":1},"max_adults":{"type":"integer","format":"int32","description":"Maximum number of adults","maximum":50,"minimum":1},"max_children":{"type":"integer","format":"int32","description":"Maximum number of children excluding infants (3-17 years old)","maximum":49,"minimum":0},"max_infants":{"type":"integer","format":"int32","description":"Maximum number of infants (0-2 years old)","maximum":49,"minimum":0},"max_infants_on_top":{"type":"integer","format":"int32","description":"Maximum number of infants (0-2 years old) on top of maximum number of guests","maximum":49,"minimum":0}},"required":["max_adults","max_children","max_guests","max_infants","max_infants_on_top"]}},"components/schemas/Unit":{"id":"components/schemas/Unit","kind":"json-schema","title":"Unit","data":{"description":"Unit schema; use meta endpoint for fetching relevant meta data","properties":{"unit_id":{"type":"integer","format":"int64"},"configuration":{"$ref":"#/components/schemas/Configuration"},"unit_name_id":{"type":"integer","format":"int32","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":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Set "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"debug_info"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" as "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"true"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" to retrieve the generated unit name (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_name_fallback"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":")"},"children":[]}]}]}]},"number_of_units":{"type":"integer","format":"int32","description":"Number of units must be between 0 and 32000"},"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","format":"int32","description":"One or more floors where the unit is located; 0 is a ground floor"}},"occupancy":{"$ref":"#/components/schemas/Occupancy"},"occupancy_details":{"$ref":"#/components/schemas/OccupancyDetails"},"extra_beds_configuration":{"$ref":"#/components/schemas/ExtraBedsConfiguration"},"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":[]}]}]}]}}}},"components/schemas/BulkUnitsUpdateRequest":{"id":"components/schemas/BulkUnitsUpdateRequest","kind":"json-schema","title":"BulkUnitsUpdateRequest","data":{"description":"Bulk unit update request","properties":{"units":{"type":"array","description":"List of units to update. All units must belong to the same property. Maximum 100 units per request.","items":{"$ref":"#/components/schemas/UnitUpdateRequest"},"maxItems":100,"minItems":1}},"required":["units"]}},"components/schemas/ExtraBedsConfigurationUpdateRequest":{"id":"components/schemas/ExtraBedsConfigurationUpdateRequest","kind":"json-schema","title":"ExtraBedsConfigurationUpdateRequest","data":{"properties":{"extra_beds":{"type":"integer","format":"int32","description":"Number of extra beds you can provide","maximum":100,"minimum":0},"cribs":{"type":"integer","format":"int32","description":"Number of cribs you can provide","maximum":100,"minimum":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":[]}]}]}]}},"required":["cribs","extra_beds","is_crib_and_extra_bed_allowed"]}},"components/schemas/OccupancyDetailsUpdateRequest":{"id":"components/schemas/OccupancyDetailsUpdateRequest","kind":"json-schema","title":"OccupancyDetailsUpdateRequest","data":{"properties":{"max_guests":{"type":"integer","format":"int32","description":"Maximum number of guests","maximum":50,"minimum":1},"max_adults":{"type":"integer","format":"int32","description":"Maximum number of adults","maximum":50,"minimum":1},"max_children":{"type":"integer","format":"int32","description":"Maximum number of children excluding infants (3-17 years old)","maximum":49,"minimum":0},"max_infants":{"type":"integer","format":"int32","description":"Maximum number of infants (0-2 years old)","maximum":49,"minimum":0},"max_infants_on_top":{"type":"integer","format":"int32","description":"Maximum number of infants (0-2 years old) on top of maximum number of guests","maximum":49,"minimum":0}},"required":["max_adults","max_children","max_guests","max_infants","max_infants_on_top"]}},"components/schemas/OccupancyUpdateRequest":{"id":"components/schemas/OccupancyUpdateRequest","kind":"json-schema","title":"OccupancyUpdateRequest","data":{"deprecated":true,"properties":{"max_guests":{"type":"integer","format":"int32","description":"Maximum number of guests","maximum":50,"minimum":1},"max_adults":{"type":"integer","format":"int32","description":"Maximum number of adults","maximum":50,"minimum":1},"max_children":{"type":"integer","format":"int32","description":"Maximum number of children (0-17 years old)","maximum":49,"minimum":0}},"required":["max_adults","max_children","max_guests"]}},"components/schemas/UnitUpdateRequest":{"id":"components/schemas/UnitUpdateRequest","kind":"json-schema","title":"UnitUpdateRequest","data":{"description":"Unit update schema","properties":{"unit_id":{"type":"integer","format":"int64","description":"Id of the unit"},"property_id":{"type":"integer","format":"int32","description":"Property ID the unit belongs to. All units in a single request must belong to the same property."},"configuration":{"$ref":"#/components/schemas/ConfigurationRequest"},"unit_name_id":{"type":"integer","format":"int32","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":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Set "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"debug_info"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" as "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"true"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" to retrieve the generated unit name (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_name_fallback"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":")"},"children":[]}]}]}]},"unit_name_source":{"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":"PROVIDED uses the "},"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":" as the unit name source and "},"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":" must be set when using PROVIDED"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GENERATED generates the "},"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":" and "},"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":" must not be set when using GENERATED"},"children":[]}]}]}],"enum":["PROVIDED","GENERATED"]},"category_id":{"type":"integer","format":"int32","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":"Category id for the unit"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Use meta to retrieve the supported categories (see "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"$.unit_categories"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":")"},"children":[]}]}]}]},"number_of_units":{"type":"integer","format":"int32","description":"Number of units must be between 0 and 32000"},"smoking_policy":{"type":"string","description":"Room smoking policy","enum":["SMOKING","NONSMOKING","SMOKING_AND_NONSMOKING"]},"size":{"$ref":"#/components/schemas/SizeRequest"},"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","format":"int32","description":"One or more floors where the unit is located; 0 is a ground floor"}},"occupancy":{"$ref":"#/components/schemas/OccupancyUpdateRequest"},"occupancy_details":{"$ref":"#/components/schemas/OccupancyDetailsUpdateRequest"},"extra_beds_configuration":{"$ref":"#/components/schemas/ExtraBedsConfigurationUpdateRequest"}},"required":["property_id","unit_id"]}},"components/schemas/ApiResponseVoid":{"id":"components/schemas/ApiResponseVoid","kind":"json-schema","title":"ApiResponseVoid","data":{"properties":{"ruid":{"type":"string","writeOnly":true},"data":{"type":"null","description":""},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"meta":{"$ref":"#/components/schemas/ResponseMeta"}}}},"components/schemas/ApiResponseObject":{"id":"components/schemas/ApiResponseObject","kind":"json-schema","title":"ApiResponseObject","data":{"properties":{"ruid":{"type":"string","writeOnly":true},"data":{"type":"null","description":""},"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":{"properties":{"ruid":{"type":"string","writeOnly":true},"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":{"properties":{"ruid":{"type":"string","writeOnly":true},"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":{"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":{"properties":{"code":{"type":"integer","format":"int32"},"name":{"type":"string"},"code_ota":{"type":"integer","format":"int32"},"code_booking_extended":{"type":"integer","format":"int32"}}}},"components/schemas/UnitCategory":{"id":"components/schemas/UnitCategory","kind":"json-schema","title":"UnitCategory","data":{"properties":{"category_id":{"type":"integer","format":"int32"},"category_name":{"type":"string"}}}},"components/schemas/UnitMeta":{"id":"components/schemas/UnitMeta","kind":"json-schema","title":"UnitMeta","data":{"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"}},"unit_categories":{"type":"array","items":{"$ref":"#/components/schemas/UnitCategory"}}}}},"components/schemas/UnitName":{"id":"components/schemas/UnitName","kind":"json-schema","title":"UnitName","data":{"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":{"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"}}}}},"components/schemas/BulkUnitsDeleteRequest":{"id":"components/schemas/BulkUnitsDeleteRequest","kind":"json-schema","title":"BulkUnitsDeleteRequest","data":{"description":"Bulk unit delete request","properties":{"units":{"type":"array","description":"List of units to delete. All units must belong to the same property. Maximum 100 units per request.","items":{"$ref":"#/components/schemas/UnitDeleteRequest"},"maxItems":100,"minItems":1}},"required":["units"]}},"components/schemas/UnitDeleteRequest":{"id":"components/schemas/UnitDeleteRequest","kind":"json-schema","title":"UnitDeleteRequest","data":{"description":"Unit delete schema","properties":{"property_id":{"type":"integer","format":"int32","description":"Property ID the unit belongs to. All units in a single request must belong to the same property."},"unit_id":{"type":"integer","format":"int64","description":"Id of the unit to delete"}},"required":["property_id","unit_id"]}},"components/schemas/ApiResponseBulkUnitsCreateResponseError":{"id":"components/schemas/ApiResponseBulkUnitsCreateResponseError","kind":"json-schema","title":"ApiResponseBulkUnitsCreateResponseError","data":{"properties":{"ruid":{"type":"string","writeOnly":true},"data":{"type":"null","description":"Always null when the request fails"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"meta":{"$ref":"#/components/schemas/ResponseMeta"}}}},"components/schemas/ApiResponseVoidError":{"id":"components/schemas/ApiResponseVoidError","kind":"json-schema","title":"ApiResponseVoidError","data":{"properties":{"ruid":{"type":"string","writeOnly":true},"data":{"type":"null","description":""},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}},"meta":{"$ref":"#/components/schemas/ResponseMeta"}}}},"schema_415":{"kind":"json-schema","data":{"type":"integer","format":"int32"},"id":"schema_415"},"schema_416":{"kind":"json-schema","data":{"type":"string","default":"false"},"id":"schema_416"},"schema_417":{"kind":"json-schema","data":{"type":"integer","format":"int64"},"id":"schema_417"},"schema_418":{"kind":"json-schema","data":{"type":"string","enum":["application/json"]},"id":"schema_418"},"schema_419":{"kind":"json-schema","data":{"type":"string","enum":["1.0"]},"id":"schema_419"},"schema_420":{"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_420"},"schema_421":{"kind":"json-schema","data":{"type":"boolean","default":true},"id":"schema_421"}},"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},"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},"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},"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},"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"},"paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNITS":{"value":{"units":[{"property_id":123456,"correlation_id":"corr-01","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}]}]},"unit_name_id":4180,"number_of_units":5,"smoking_policy":"SMOKING_AND_NONSMOKING","size":{"value":155,"unit":"SQM"},"partner_reference_name":"Two-bedroom villa with living room","floor_numbers_located_on":[2],"occupancy_details":{"max_guests":5,"max_adults":5,"max_children":4,"max_infants":4,"max_infants_on_top":0},"extra_beds_configuration":{"extra_beds":1,"cribs":0,"is_crib_and_extra_bed_allowed":false}},{"property_id":123456,"correlation_id":"corr-02","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":3,"smoking_policy":"NONSMOKING","size":{"value":75,"unit":"SQM"},"partner_reference_name":"One-bedroom apartment","occupancy_details":{"max_guests":3,"max_adults":3,"max_children":2,"max_infants":0,"max_infants_on_top":2},"extra_beds_configuration":{"extra_beds":1,"cribs":1,"is_crib_and_extra_bed_allowed":true}}]},"key":"MULTI_ROOM_UNITS","summary":"MULTI_ROOM_UNITS","description":"Create two multi-room units with all fields","id":"paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MULTI_ROOM_UNITS"},"paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNITS":{"value":{"units":[{"property_id":123456,"correlation_id":"corr-01","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"},{"property_id":123456,"correlation_id":"corr-02","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}]},"key":"SINGLE_ROOM_UNITS","summary":"SINGLE_ROOM_UNITS","description":"Create two single-room units with minimal fields","id":"paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/SINGLE_ROOM_UNITS"},"paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES":{"value":{"units":[{"property_id":123456,"correlation_id":"corr-01","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},{"property_id":123456,"correlation_id":"corr-02","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":"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},"extra_beds_configuration":{"extra_beds":0,"cribs":1,"is_crib_and_extra_bed_allowed":false}}]},"key":"MIXED_UNIT_TYPES","summary":"MIXED_UNIT_TYPES","description":"Create a multi-room and a single-room unit in one request","id":"paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES"},"paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MINIMAL_REQUIRED_FIELDS":{"value":{"units":[{"property_id":123456,"correlation_id":"corr-01","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":"MINIMAL_REQUIRED_FIELDS","summary":"MINIMAL_REQUIRED_FIELDS","description":"Create a single unit with only required fields","id":"paths/~1rooms-api~1units/post/requestBody/content/application~1json/examples/MINIMAL_REQUIRED_FIELDS"},"paths/~1rooms-api~1units/post/responses/200/content/application~1json/examples/SUCCESS":{"value":{"data":{"units":[{"unit_id":100000001,"correlation_id":"corr-01","property_id":123456,"unit_name_id":4180,"number_of_units":5,"smoking_policy":"SMOKING_AND_NONSMOKING","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":"LIVING_ROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":5,"bed_count":1}],"is_default_configuration":true}]}]},"size":{"value":155,"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":1,"cribs":0,"is_crib_and_extra_bed_allowed":false}},{"unit_id":100000002,"correlation_id":"corr-02","property_id":123456,"unit_name_id":865,"number_of_units":3,"smoking_policy":"NONSMOKING","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"}]},"size":{"value":75,"unit":"SQM"},"occupancy_details":{"max_guests":3,"max_adults":3,"max_children":2,"max_infants":0,"max_infants_on_top":2},"extra_beds_configuration":{"extra_beds":1,"cribs":1,"is_crib_and_extra_bed_allowed":true}}]},"errors":[],"warnings":[],"meta":{"ruid":"test-ruid"}},"key":"SUCCESS","summary":"SUCCESS","description":"Successful creation of two units","id":"paths/~1rooms-api~1units/post/responses/200/content/application~1json/examples/SUCCESS"},"paths/~1rooms-api~1units/post/responses/400/content/application~1json/examples/VALIDATION_ERROR":{"value":{"data":null,"errors":[{"message":"Invalid value","code":320,"description":"Error description","details":{"fields":["$.units[0].configuration"]}},{"message":"Invalid value","code":320,"description":"Error description","details":{"fields":["$.units[1].correlation_id"]}}],"warnings":[],"meta":{"ruid":"test-ruid"}},"key":"VALIDATION_ERROR","summary":"VALIDATION_ERROR","description":"Validation errors for multiple units","id":"paths/~1rooms-api~1units/post/responses/400/content/application~1json/examples/VALIDATION_ERROR"},"paths/~1rooms-api~1units/post/responses/500/content/application~1json/examples/SYSTEM_ERROR":{"value":{"data":null,"errors":[{"message":"System error","code":448,"description":"Unknown error, please contact Booking.com for support"}],"warnings":[],"meta":{"ruid":"test-ruid"}},"key":"SYSTEM_ERROR","summary":"SYSTEM_ERROR","description":"","id":"paths/~1rooms-api~1units/post/responses/500/content/application~1json/examples/SYSTEM_ERROR"},"paths/~1rooms-api~1units/delete/requestBody/content/application~1json/examples/DELETE_UNITS":{"value":{"units":[{"property_id":123456,"unit_id":111111111},{"property_id":123456,"unit_id":222222222},{"property_id":123456,"unit_id":333333333}]},"key":"DELETE_UNITS","summary":"DELETE_UNITS","description":"Delete multiple units from a property","id":"paths/~1rooms-api~1units/delete/requestBody/content/application~1json/examples/DELETE_UNITS"},"paths/~1rooms-api~1units/delete/responses/200/content/application~1json/examples/SUCCESS":{"value":{"errors":[],"warnings":[],"meta":{"ruid":"test-ruid"}},"key":"SUCCESS","summary":"SUCCESS","description":"Successful deletion of multiple units","id":"paths/~1rooms-api~1units/delete/responses/200/content/application~1json/examples/SUCCESS"},"paths/~1rooms-api~1units/delete/responses/400/content/application~1json/examples/ERROR":{"value":{"data":null,"errors":[{"message":"Unable to process","code":450,"description":"Error description","details":{"fields":["$.units[0].unit_id"]}},{"message":"Unable to process","code":450,"description":"Error description","details":{"fields":["$.units[2].unit_id"]}}],"warnings":[],"meta":{"ruid":"test-ruid"}},"key":"ERROR","summary":"ERROR","description":"Errors deleting multiple units","id":"paths/~1rooms-api~1units/delete/responses/400/content/application~1json/examples/ERROR"},"paths/~1rooms-api~1units/delete/responses/500/content/application~1json/examples/SYSTEM_ERROR":{"value":{"data":null,"errors":[{"message":"System error","code":448,"description":"Unknown error, please contact Booking.com for support"}],"warnings":[],"meta":{"ruid":"test-ruid"}},"key":"SYSTEM_ERROR","summary":"SYSTEM_ERROR","description":"","id":"paths/~1rooms-api~1units/delete/responses/500/content/application~1json/examples/SYSTEM_ERROR"},"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/BED_CONFIGURATION":{"value":{"units":[{"property_id":123456,"unit_id":111111111,"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}]}]}},{"property_id":123456,"unit_id":222222222,"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":"BED_CONFIGURATION","summary":"BED_CONFIGURATION","description":"Update bed configurations for two units","id":"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/BED_CONFIGURATION"},"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/ADD_ROOM":{"value":{"units":[{"property_id":123456,"unit_id":111111111,"configuration":{"unit_type_id":1,"rooms":[{"type":"BEDROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":3,"bed_count":1}],"is_default_configuration":true}]},{"type":"BEDROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":1,"bed_count":2}],"is_default_configuration":true}]},{"type":"LIVING_ROOM_SUBROOM"}]}}]},"key":"ADD_ROOM","summary":"ADD_ROOM","description":"Add a second bedroom to a multi-room unit","id":"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/ADD_ROOM"},"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/REMOVE_ROOM":{"value":{"units":[{"property_id":123456,"unit_id":111111111,"configuration":{"unit_type_id":1,"rooms":[{"type":"BEDROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":3,"bed_count":1}],"is_default_configuration":true}]}]}}]},"key":"REMOVE_ROOM","summary":"REMOVE_ROOM","description":"Remove a living room from a multi-room unit","id":"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/REMOVE_ROOM"},"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/UPDATE_ROOM_BEDS":{"value":{"units":[{"property_id":123456,"unit_id":111111111,"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":"UPDATE_ROOM_BEDS","summary":"UPDATE_ROOM_BEDS","description":"Add bed to bedroom and remove beds from living room for a multi-room unit","id":"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/UPDATE_ROOM_BEDS"},"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES":{"value":{"units":[{"property_id":123456,"unit_id":111111111,"configuration":{"unit_type_id":1,"rooms":[{"type":"BEDROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":3,"bed_count":1}],"is_default_configuration":true}]},{"type":"BEDROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":1,"bed_count":2}],"is_default_configuration":true}]},{"type":"LIVING_ROOM_SUBROOM","bed_configurations":[{"beds":[{"bed_type_id":5,"bed_count":1}],"is_default_configuration":true}]}]},"occupancy_details":{"max_guests":5,"max_adults":5,"max_children":4,"max_infants":4,"max_infants_on_top":0}},{"property_id":123456,"unit_id":222222222,"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}]}]},"number_of_units":10,"smoking_policy":"NONSMOKING","partner_reference_name":"Updated double room"}]},"key":"MIXED_UNIT_TYPES","summary":"MIXED_UNIT_TYPES","description":"Update a multi-room and a single-room unit in one request","id":"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/MIXED_UNIT_TYPES"},"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS":{"value":{"units":[{"property_id":123456,"unit_id":111111111,"unit_name_id":2273,"number_of_units":10,"smoking_policy":"NONSMOKING","partner_reference_name":"Updated reference name"},{"property_id":123456,"unit_id":222222222,"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":"SIMPLE_FIELDS","summary":"SIMPLE_FIELDS","description":"Update simple fields for two units","id":"paths/~1rooms-api~1units/patch/requestBody/content/application~1json/examples/SIMPLE_FIELDS"},"paths/~1rooms-api~1units/patch/responses/200/content/application~1json/examples/SUCCESS":{"value":{"errors":[],"warnings":[],"meta":{"ruid":"test-ruid"}},"key":"SUCCESS","summary":"SUCCESS","description":"Successful update of two units","id":"paths/~1rooms-api~1units/patch/responses/200/content/application~1json/examples/SUCCESS"},"paths/~1rooms-api~1units/patch/responses/400/content/application~1json/examples/VALIDATION_ERROR":{"value":{"data":null,"errors":[{"message":"Invalid value","code":320,"description":"Error description","details":{"fields":["$.units[0].configuration.unit_type_id"]}},{"message":"Invalid value","code":320,"description":"Error description","details":{"fields":["$.units[1].configuration.rooms[0].bed_configurations[0].beds[0].bed_type_id"]}}],"warnings":[],"meta":{"ruid":"test-ruid"}},"key":"VALIDATION_ERROR","summary":"VALIDATION_ERROR","description":"Validation errors for multiple units","id":"paths/~1rooms-api~1units/patch/responses/400/content/application~1json/examples/VALIDATION_ERROR"},"paths/~1rooms-api~1units/patch/responses/500/content/application~1json/examples/SYSTEM_ERROR":{"value":{"data":null,"errors":[{"message":"System error","code":448,"description":"Unknown error, please contact Booking.com for support"}],"warnings":[],"meta":{"ruid":"test-ruid"}},"key":"SYSTEM_ERROR","summary":"SYSTEM_ERROR","description":"","id":"paths/~1rooms-api~1units/patch/responses/500/content/application~1json/examples/SYSTEM_ERROR"}},"securitySchemeStore":{},"servers":[{"url":"/_mock/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk","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-bulk","position":"first","description":"Mock (schema only)","off":false},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk.json?download"},{"url":"/_bundle/connectivity/docs/openapispecs/rooms-api/rooms-api-specification-bulk.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-bulk","routesMapping":{}}