diff --git a/pms_api_rest/datamodels/pms_calendar.py b/pms_api_rest/datamodels/pms_calendar.py index c5166653c94..d539f2448b0 100644 --- a/pms_api_rest/datamodels/pms_calendar.py +++ b/pms_api_rest/datamodels/pms_calendar.py @@ -52,6 +52,7 @@ class PmsCalendarInfo(Datamodel): splitted = fields.Boolean(required=False, allow_none=True) partnerId = fields.Integer(required=False, allow_none=True) partnerName = fields.String(required=False, allow_none=True) + folioId = fields.Integer(required=False, allow_none=True) reservationId = fields.Integer(required=False, allow_none=True) reservationName = fields.String(required=False, allow_none=True) reservationType = fields.String(required=False, allow_none=True) diff --git a/pms_api_rest/services/pms_calendar_service.py b/pms_api_rest/services/pms_calendar_service.py index 5b536a02286..5dcf7966947 100644 --- a/pms_api_rest/services/pms_calendar_service.py +++ b/pms_api_rest/services/pms_calendar_service.py @@ -66,6 +66,7 @@ def get_calendar(self, calendar_search_param): splitted=line.reservation_id.splitted, partnerId=line.reservation_id.partner_id.id or None, partnerName=line.reservation_id.partner_name or None, + folioId=line.reservation_id.folio_id, reservationId=line.reservation_id, reservationName=line.reservation_id.name, reservationType=line.reservation_id.reservation_type,