openapi: 3.2.0 info: title: Hostfully Rooms Bulk API license: name: Apache 2.0 url: https://www.hostfully.com/ version: v3.0.1 servers: - url: https://sandbox-api.hostfully.com security: - JWT-Authentication: [] - Agency-API-key: [] tags: - name: Rooms Bulk paths: /api/v3.3/rooms-bulk: put: tags: - Rooms Bulk summary: This operation adds new or updates existing property rooms. operationId: put_3 requestBody: content: application/json: schema: $ref: '#/components/schemas/RoomsBulkUpdatingApi3Dto' required: true responses: '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/RoomBulkApiResponseWrapper' components: schemas: RoomBulkApi3UpdatingDto: required: - hasPrivateBathroom - roomNumber - roomType type: object properties: roomType: type: string enum: - ART_STUDIO - BACKYARD - BALCONY - BEDROOM - BOWLING_ALLEY - CHILDRENS_PLAYROOM - COURTYARD - DARKROOM - DECK - DINING_ROOM - EVENT_ROOM - EXTERIOR - FRONT_YARD - FULL_BATHROOM - GAME_ROOM - GARAGE - GARDEN - GYM - HALF_BATHROOM - HOT_TUB - JP_ONLY_FLOOR_PLAN - KITCHEN - KITCHENETTE - LAUNDRY_ROOM - LIBRARY - LIVING_ROOM - MOVIE_THEATER - MUSIC_STUDIO - OFFICE - ONSEN - PATIO - PHOTOGRAPHY_STUDIO - POOL - PORCH - ROOFTOP - STUDIO - SUNROOM - TERRACE - THEME_ROOM - WINE_CELLAR - WOODSHOP - WORKSHOP - WORKSPACE - COMMON_SPACES roomNumber: type: integer format: int32 hasPrivateBathroom: type: boolean bedCounts: type: object properties: doubleBed: type: number toddlerBed: type: number crib: type: number couch: type: number sofaBed: type: number queenBed: type: number kingBed: type: number futonBed: type: number airMattress: type: number floorMattress: type: number singleBed: type: number waterBed: type: number bunkBed: type: number hammockBed: type: number PropertyRoomsApi3Dto: type: object properties: rooms: type: array items: $ref: '#/components/schemas/RoomApi3Dto' bedCount: type: integer format: int32 bedroomCount: type: integer format: int32 RoomApi3Dto: type: object properties: uid: type: string roomNumber: type: integer format: int32 bedCounts: type: object properties: doubleBed: type: number toddlerBed: type: number crib: type: number couch: type: number sofaBed: type: number queenBed: type: number kingBed: type: number futonBed: type: number airMattress: type: number floorMattress: type: number singleBed: type: number waterBed: type: number bunkBed: type: number hammockBed: type: number hasPrivateBathroom: type: boolean roomType: type: string enum: - ART_STUDIO - BACKYARD - BALCONY - BEDROOM - BOWLING_ALLEY - CHILDRENS_PLAYROOM - COURTYARD - DARKROOM - DECK - DINING_ROOM - EVENT_ROOM - EXTERIOR - FRONT_YARD - FULL_BATHROOM - GAME_ROOM - GARAGE - GARDEN - GYM - HALF_BATHROOM - HOT_TUB - JP_ONLY_FLOOR_PLAN - KITCHEN - KITCHENETTE - LAUNDRY_ROOM - LIBRARY - LIVING_ROOM - MOVIE_THEATER - MUSIC_STUDIO - OFFICE - ONSEN - PATIO - PHOTOGRAPHY_STUDIO - POOL - PORCH - ROOFTOP - STUDIO - SUNROOM - TERRACE - THEME_ROOM - WINE_CELLAR - WOODSHOP - WORKSHOP - WORKSPACE - COMMON_SPACES RoomsBulkUpdatingApi3Dto: required: - propertyUid type: object properties: propertyUid: type: string rooms: maxItems: 100 minItems: 0 type: array items: $ref: '#/components/schemas/RoomBulkApi3UpdatingDto' RoomBulkApiResponseWrapper: type: object properties: property: $ref: '#/components/schemas/PropertyRoomsApi3Dto' securitySchemes: JWT-Authentication: type: apiKey description: OAuth Access Token name: Authorization in: header Agency-API-key: type: apiKey description: API Key name: X-HOSTFULLY-APIKEY in: header externalDocs: description: Hostfully Documentation url: https://dev.hostfully.com/v3.0/reference x-readme: explorer-enabled: true proxy-enabled: true