diff --git a/pms_api_rest/datamodels/pms_room.py b/pms_api_rest/datamodels/pms_room.py index 66903df39..987af4c58 100644 --- a/pms_api_rest/datamodels/pms_room.py +++ b/pms_api_rest/datamodels/pms_room.py @@ -18,3 +18,4 @@ class PmsRoomInfo(Datamodel): capacity = fields.Integer(required=False, allow_none=True) shortName = fields.String(required=False, allow_none=True) roomTypeClassId = fields.Integer(required=False, allow_none=True) + ubicationId = fields.Integer(required=False, allow_none=True) diff --git a/pms_api_rest/services/pms_room_service.py b/pms_api_rest/services/pms_room_service.py index 6a7c094ed..9b0d5d210 100644 --- a/pms_api_rest/services/pms_room_service.py +++ b/pms_api_rest/services/pms_room_service.py @@ -52,6 +52,7 @@ class PmsRoomService(Component): capacity=room.capacity, shortName=room.short_name, roomTypeClassId=room.room_type_id.class_id, + ubicationId=room.ubication_id, ) ) return result_rooms