Skip to content

[FIX] 16.0-pms_api_rest: action cancel and confirm to folio & cancelledReason field to reservation#231

Merged
DarioLodeiros merged 1 commit into16.0-mig-pmsfrom
16.0-pms_folio_cancel_confirm
Jun 11, 2025
Merged

[FIX] 16.0-pms_api_rest: action cancel and confirm to folio & cancelledReason field to reservation#231
DarioLodeiros merged 1 commit into16.0-mig-pmsfrom
16.0-pms_folio_cancel_confirm

Conversation

@braisab
Copy link

@braisab braisab commented Jun 11, 2025

This pull request introduces enhancements to the PMS Reservation API by adding support for handling cancellation reasons and updating reservation states. The key changes include extending the data model, updating the folio service to handle reservation confirmations and cancellations, and enhancing the reservation retrieval logic to include cancellation reasons.

Enhancements to PMS Reservation API:

  • Data Model Update:

    • Added a new field cancelledReason to the PmsReservationInfo data model to store the reason for reservation cancellations.
  • Reservation Retrieval Improvements:

    • Modified the get_reservation method to include the cancelledReason field in the response, ensuring that cancellation reasons are surfaced when available. (pms_api_rest/services/pms_reservation_service.py,
  • Folio Service Enhancements:

    • Updated the update_folio method to handle reservation cancellations (action_cancel) and confirmations (action_confirm) based on the pms_folio_info input.

@DarioLodeiros DarioLodeiros merged commit 85bdb94 into 16.0-mig-pms Jun 11, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants