GET RoomPrice/{startDate}/{endDate}/{userGuid}

Fetch rooms prices of all hotels in a range of dates

دریافت قیمت گذاری اتاق ها از همه هتل ها در بازه تاریخی مشخص شده

Request Information

URI Parameters

NameDescriptionTypeAdditional information
startDate

The search start date in persian calendar system with yyyymmdd format

تاریخ شروع جست و جو در سیستم تقویم شمسی به فرمت yyyymmdd

string

Required

endDate

The search end date in persian calendar system with yyyymmdd format
Note: the end date does not identify the leaving/departure date of guests, and only identify the end of the search, so as an example to staying for 1 night in certain date such as 1397/01/01, if you do not need extra data for certain scenario, you only need to search for 13970101 to 13970101

تاریخ پایان جست و جو در سیستم تقویم شمسی به فرمت yyyymmdd
توجه: تاریخ پایان، زمان خروج مهمان ها را مشخص نمی کند،و فقط پایان جست و جو را مشخص می نماید، لزا به عنوان مثال اگر بخواهیم برای اقامت یک شب در تاریخی مشخص مانند 1397/01/01 جستجویی انجام دهیم، و اگر نیاز به دیتا های اضافه برای سناریویی خاص نداشته باشیم، تنها لازم است از تاریخ 13970101 تا 13970101 را جستوجو نماییم.

string

Required

userGuid

GUID of the User

شناسه GUID کاربر

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of HotelRoomPriceVm
NameDescriptionTypeAdditional information
HotelCode

Code of the Hotel whose own the Room

کد هتلی که دارنده ی این اتاق ها می باشد

integer

None.

RoomCode

Code of the Room whose owned by the Hotel

کد نوع اتاقی که هتل آن را در بر گرفته است

integer

None.

Date

The Persian Date that the pricing is valid (related to) in following format: yyyymmdd

تاریخ شمسی روزی که این قیمت گذاری در آن معتبر است (باآن در ارتباط است) با فرمت: yyyymmdd

string

None.

GregorianDate

The Gregorian Date that the pricing is valid (related to) in following format: yyyymmdd

تاریخ میلادی روزی که این قیمت گذاری در آن معتبر است (باآن در ارتباط است) با فرمت: yyyymmdd

string

None.

CalendarDate

The Date in the user desired calendar system that the pricing is valid (related to) in following format: yyyymmdd

تاریخ روزی که این قیمت گذاری در آن معتبر است (باآن در ارتباط است) در تقویم مورد نظر کاربر با فرمت: yyyymmdd

string

None.

RemainingCapacity

The remaining capacity of the room, within the hotel

ظرفیت باقی مانده اتاق در این هتل

integer

None.

PriceBoard

Hotel Board Price which indicate the price that hotel sales this room if you buy it right in there Without intermediary

قیمت برد داخل هتل که مشخص کننده قیمتی است که هتل این اتاق را به صورت حضوری و بدون واسط به فروش می رساند

decimal number

None.

PriceOnline

Price of the room which is sold directly on the alaedin website

قیمت اتاق که به صورت مستقیم داخل وب سایت علاالدین به فروش می رسد

decimal number

None.

Price

Price of the room in the specified date (For Persian passengers)

قیمت اتاق در تاریخ مشخص شده (برای مسافران ایرانی)‫

decimal number

None.

CityCode

The city Code of the related Hotel

کد شهر هتل مرتبط

integer

None.

CanReserveOnTheFly

Ability to reserve On The Fly
(This service provided for the times when the hotel room do not have any capacity and we can't use automatic reserve. In such times service receiver can use "OnTheFlyReserve" service and should call "OnTheFlyStatusCheck" every few seconds while holding the user waiting, so if the reserve were successful or failed, service receiver can notify the user.)

قابلیت رزرو شناوری
(این سرویس برای مواقعی فراهم گشته شده که اتاق های هتل هیچ ظرفیتی ندارند و ما نمی توانیم از رزرو اتوماتیک استفاده کنیم. در چنین مواقعی دریافت کننده سرویس می تواند از سرویس "reserve status = 3" استفاده نماید و سپس مادامی که کاربر را منتظر نگه می دارد، باید با صدا زدن "OnTheFlyStatusCheck" در هر چند ثانیه از موفقیت یا عدم موفقیت رزرو آگاه گشته، و سپس سرویس گیرنده می تواند کاربر را آگاه سازد.)‫

boolean

None.

PriceExtraBed

Price for a single extra bed.

قیمت تخت اضافه

decimal number

None.

PriceHalfCharge

قیمت نیم سارژ

decimal number

None.

HasEntrance

*NEW* This Field Has Been Added Recently
indicates if this room is available booking for the current date

‫*جدید*‫ این فیلد به تازگی افزوده شده است
نشان می دهد آیا این اتاق برای تاریخ فعلی در دسترس است

boolean

None.

StayingNights

*NEW* This Field Has Been Added Recently
indicates the fixed number of nights, that the customer need to book, for this room. Otherwise even the current date can't be booked

‫*جدید*‫ این فیلد به تازگی افزوده شده است
تعداد مشخصی از شبهای که باید برای این اتاق رزرو شود. در غیر این صورت حتی تاریخ فعلی نیز قابل رزرو نیست

integer

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<ArrayOfHotelRoomPriceVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models.Hotel">
  <HotelRoomPriceVm>
    <CanReserveOnTheFly>true</CanReserveOnTheFly>
    <CityCode>1</CityCode>
    <HasEntrance>true</HasEntrance>
    <HotelCode>1</HotelCode>
    <Price>1</Price>
    <PriceBoard>1</PriceBoard>
    <PriceExtraBed>1</PriceExtraBed>
    <PriceHalfCharge>1</PriceHalfCharge>
    <PriceOnline>1</PriceOnline>
    <QueryableCalendar>sample string 4</QueryableCalendar>
    <QueryableDate>2024-03-29T08:38:17.7382521+03:30</QueryableDate>
    <RemainingCapacity>5</RemainingCapacity>
    <RoomCode>2</RoomCode>
    <StayingNights>1</StayingNights>
  </HotelRoomPriceVm>
  <HotelRoomPriceVm>
    <CanReserveOnTheFly>true</CanReserveOnTheFly>
    <CityCode>1</CityCode>
    <HasEntrance>true</HasEntrance>
    <HotelCode>1</HotelCode>
    <Price>1</Price>
    <PriceBoard>1</PriceBoard>
    <PriceExtraBed>1</PriceExtraBed>
    <PriceHalfCharge>1</PriceHalfCharge>
    <PriceOnline>1</PriceOnline>
    <QueryableCalendar>sample string 4</QueryableCalendar>
    <QueryableDate>2024-03-29T08:38:17.7382521+03:30</QueryableDate>
    <RemainingCapacity>5</RemainingCapacity>
    <RoomCode>2</RoomCode>
    <StayingNights>1</StayingNights>
  </HotelRoomPriceVm>
</ArrayOfHotelRoomPriceVm>