flight-bot-b2m

متد Get Refund Policy List

این متد برای دریافت قوانین کنسلی پرواز استفاده می‌گردد.

کاربرد این متد صرفا جهت اطلاع از قوانین و میزان جریمه‌های کنسلی پرواز که در سیستم تعریف شده می‌باشد.

مقدار null در هر فیلدی به معنی همه‌ی موارد می‌باشد.


API Endpoint

POST https://{SupplierWebsiteUrl}/api/B2M/Bot/Flight/Charter/Refund/Policy/GetList/V1

Request Parameters


Sample Request

{
    "UserName": "your username",
    "Password": "your MD5 of password"
}

Response Parameters


Sample Response

{
    "policyList": [
        {
            "airline": null,
            "bookingCode": null,
            "origin": null,
            "destination": null,
            "flightFromDate": "2025-01-11",
            "flightToDate": "2035-01-11",
            "penalty1_RemainingDaysUntilFlight": 3,
            "penalty1_PenaltyPercentage": 10,
            "penalty2_RemainingDaysUntilFlight": 2,
            "penalty2_PenaltyPercentage": 30,
            "penalty3_RemainingDaysUntilFlight": 1,
            "penalty3_PenaltyPercentage": 50,
            "nearFlight_RemainingMinutesUntilFlight": 1800,
            "nearFlight_PenaltyPercentage": 90,
            "noShow_PenaltyPercentage": 100,
            "penaltyBasedOnTimeElapsedSinceBooking_MinutesElapsedSinceBooking": 5,
            "penaltyBasedOnTimeElapsedSinceBooking_RemainingHoursUntilFlight": 10,
            "penaltyBasedOnTimeElapsedSinceBooking_PenaltyPercentage": 0
        }
    ]
}