Parameter | Type | Optional | Valid Values |
UpdateMandatoryFees | Integer | Yes | 0,1,2 |
0 — Default (Existing Behaviour)Mandatory fees are updated in line with the existing updatebooking functionality. i.e. Applicable Mandatory fees are recalculated based on the updated booking details. So any existing mandatory fees might be removed, new ones might be added, or the cost of existing mandatory fees might be updated. This is as good as not passing the new parameter in the request.
1 — Recalculate Fees, Preserve Existing CostsMandatory fees are deleted and re-added based on the updated booking parameters (e.g. new vehicle category, dates, location). However, if a fee already existed on the booking prior to the update, its original cost is preserved — even if the fee's cost has since changed in the system.
Fee1 | Fee2 | Fee3 | Fee4 | |
Before Update | Yes | Yes | Yes | No |
Changes in Setup and Booking details | Cost changed in the system. Still Applicable. | Still Applicable | Not Applicable | Now Applicable |
After Update with UpdateMandatoryFees=1 | Yes, with older cost | Yes | No | Yes |
2 — Do Not Modify Mandatory FeesMandatory fees on the booking are left completely unchanged, regardless of the booking parameter updates. The original fees and their original costs are preserved as-is.
Fee1 | Fee2 | Fee3 | Fee4 | |
Before Update | Yes | Yes | Yes | No |
Changes in Setup and Booking Details | Cost changed in the system. Still Applicable. | Still Applicable | Not Applicable | Now Applicable |
After Update with UpdateMandatoryFees=2 | Yes, with older cost. | Yes | Yes | No |
UpdateMandatoryFees is not provided, the API defaults to value 0 (existing behaviour), ensuring backwards compatibility.updatebooking call.