جزییات رزرو
این موجودیت حاوی اطلاعات کامل از رزرو درخواستی شما می باشد. زمانی که شما درخواست رزرو خود را ارسال کردید یک رزرو در سامانه ثبت شده که جزییات کامل این رزرو به شرح ذیل می باشد.
کلید | نوع داده | توضیحات |
---|---|---|
property_id | Integer | شناسه اقامتگاه رزرو شده |
check_in | DateTime | زمان ورود با فرمت yyyy-mm-dd [hh:mm] |
check_out | DateTime | زمان خروج با فرمت yyyy-mm-dd [hh:mm] |
booker_first_name | String | اسم کوچک درخواست کننده رزرو |
booker_last_name | String | نام خانوادگی درخواست کننده رزرو |
booker_phone | String | شماره تماس درخواست کننده رزرو |
booker_email | String | ایمیل درخواست کننده رزرو |
state | State | نحوه ارسال درخواست به اقامتگاه |
status | Status | وضعیت رزرو |
mention | طرف بررسی کننده | |
confirmation_code | String | کد پیگیری در سامانه |
property_confirmation_code | String | کد پیگیری اقامتگاه |
agency_confirmation_code | String | کد پیگیری آژانس درخواست کننده |
agent | String | شخص ثالث مرتبط با رزرو |
discount | Integer | میزان تخفیف رزرو |
total_price | Integer | کل مبلغ براساس برد اقامتگاه |
total_sales_price | Integer | مبلغ قابل پرداخت آژانس |
total_daily_price | Integer | مبلغ پیشنهادی سامانه برای نمایش به مهمان |
total_cancellation_fee | Integer | هزینه کنسلی انجام شده |
total_modification_fee | Integer | هزینه تغییرات انجام شده |
price_details | Price Details | جزییات نرخی |
description | String | توضیحات مهمان یا آژانس درخواست کننده |
create_date | Timestamp | زمان ایجاد رزرو |
expire_date | Timestamp | مهلت پاسخگویی به استعلام |
cancel_date | Timestamp | زمان کنسل شدن رزرو |
definite_date | Timestamp | زمان تایید اقامتگاه |
rooms | [Reserve Room] | اتاق های درخواستی |
services | [ReserveService] | سرویس های درخواستی |
promotions | [ReservePromotion] | طرح های تشویقی اعمال شده روی رزرو |
rules | [PropertyRule] | قوانین اقامتگاه در هنگام رزرو |
نمونه Json
{ "property_id": 1, "check_in": "2020-09-03", "check_out": "2020-09-04", "booker_first_name": "mamad", "booker_last_name": "tets", "booker_phone": "09379332830", "booker_email": null, "vehicle": null, "vehicle_number": null, "state": "online", "status": "modify_booking", "mention": null, "confirmation_code": "1000090347387410", "property_confirmation_code": "gpHedhbw69", "agency_confirmation_code": null, "agent": null, "discount": 2080000, "total_price": 11400008, "total_sales_price": 8320000, "total_daily_price": 8480000, "total_cancellation_fee": 0, "total_modification_fee": 0, "price_details": { "details": [ { "name": "total_sales_price", "amount": 8320000 } ], "total_fee": 8320000, "final_amount": 8320000 }, "sell_mode": null, "description": null, "create_date": "2020-09-03 15:54:26", "expire_date": null, "cancel_date": null, "definite_date": null, "rooms": [ { "reserve_room_code": "1599132266433", "room_type_id": 1, "rate_plan_id": 1, "count": 1, "adult_count": 2, "guest_first_name": "mamad", "guest_last_name": "tets", "guest_phone": "09379332830", "guest_email": null, "guest_national_code": null, "guest_passport_number": null, "guest_country_id": 222, "guest_city_id": null, "total_cancellation_fee": null, "total_modification_fee": null, "total_price": 6200008, "total_daily_price": 5800000, "total_sales_price": 5700000, "children": [], "guests": [], "prices": [ { "day": "2020-09-03", "inventory": 18, "rack_rate": 6200008, "daily_rate": 5800000, "grs_rate": 5700000, "baby_cot_rack_rate": 1200000, "baby_cot_daily_rate": 950000, "baby_cot_grs_rate": 925000, "extend_bed_rack_rate": 1200000, "extend_bed_daily_rate": 950000, "extend_bed_grs_rate": 925000, "reservation_state": "online", "min_stay": null, "max_stay": null, "close_to_arrival": false, "close_to_departure": false, "closed": false } ], "room_type": { "id": 1, "name": "دوخوابه مستقیم", "type": "twin", "capacity": 2, "extra_capacity": 1, "single_bed_count": 0, "double_bed_count": 1, "sofa_bed_count": 0, "out_of_service": 0, "facilities": [], "rate_plans": [], "description": null }, "rate_plan": { "id": 1, "property_id": 1, "agency_id": null, "country_id": null, "name": "اقامت با صبحانه", "breakfast_rate": null, "half_board_rate": null, "full_board_rate": null, "food_board_type": null, "cancelable": 0, "sleeps": null, "min_stay": null, "max_stay": null, "facilities": [] } }, { "reserve_room_code": "1599132266143", "room_type_id": 2, "rate_plan_id": 1, "count": 1, "adult_count": 2, "guest_first_name": "mamad", "guest_last_name": "tets", "guest_phone": "09379332830", "guest_email": null, "guest_national_code": null, "guest_passport_number": null, "guest_country_id": 222, "guest_city_id": null, "total_cancellation_fee": null, "total_modification_fee": null, "total_price": 5200000, "total_daily_price": 4800000, "total_sales_price": 4700000, "children": [], "guests": [], "prices": [ { "day": "2020-09-03", "inventory": 15, "rack_rate": 5200000, "daily_rate": 4800000, "grs_rate": 4700000, "baby_cot_rack_rate": 1200000, "baby_cot_daily_rate": 950000, "baby_cot_grs_rate": 925000, "extend_bed_rack_rate": 1200000, "extend_bed_daily_rate": 950000, "extend_bed_grs_rate": 925000, "reservation_state": "online", "min_stay": null, "max_stay": null, "close_to_arrival": false, "close_to_departure": false, "closed": false } ], "room_type": { "id": 2, "name": "دوخوابه آنلاین", "type": "twin", "capacity": 2, "extra_capacity": 1, "single_bed_count": 2, "double_bed_count": 0, "sofa_bed_count": 0, "out_of_service": 0, "facilities": [], "rate_plans": [], "description": null }, "rate_plan": { "id": 1, "property_id": 1, "agency_id": null, "country_id": null, "name": "اقامت با صبحانه", "breakfast_rate": null, "half_board_rate": null, "full_board_rate": null, "food_board_type": null, "cancelable": 0, "sleeps": null, "min_stay": null, "max_stay": null, "facilities": [] } } ], "services": [], "promotions": [ { "id": 1, "name": "تخفیف پلکانی", "caption": "تخفیف پلکانی", "start_date": "2020-09-01", "end_date": "2020-10-02", "type": "per_night", "city_id": null, "property_group_id": null, "property_id": 1, "room_type_id": null, "rate_plan_id": null, "data": { "per_night": [ { "night_number": "1", "grs_rate": { "type": "percent", "value": "10" }, "daily_rate": { "type": "percent", "value": "10" } }, { "night_number": "2", "grs_rate": { "type": "percent", "value": "20" }, "daily_rate": { "type": "percent", "value": "20" } }, { "night_number": "3", "grs_rate": { "type": "percent", "value": "30" }, "daily_rate": { "type": "percent", "value": "30" } }, { "night_number": "4", "grs_rate": { "type": "percent", "value": "40" }, "daily_rate": { "type": "percent", "value": "40" } }, { "night_number": "5", "grs_rate": { "type": "percent", "value": "50" }, "daily_rate": { "type": "percent", "value": "50" } } ] }, "conditions": [], "description": null, "disabled": 0, "created_at": 1598956553, "updated_at": null, "deleted_at": null }, { "id": 2, "name": "test", "caption": "test", "start_date": "2020-09-01", "end_date": "2020-09-13", "type": "per_night", "city_id": null, "property_group_id": null, "property_id": null, "room_type_id": null, "rate_plan_id": null, "data": { "per_night": [ { "night_number": 1, "grs_rate": { "type": "percent", "value": 10 }, "daily_rate": { "type": "percent", "value": 10 } } ] }, "conditions": [ { "name": "check_in", "value": [ "2020-09-01", "2020-09-13" ] } ], "description": "test promotions", "disabled": 0, "created_at": 1598956572, "updated_at": null, "deleted_at": null } ], "rules": [] }