GET RoomPrice/{hotelCode}/{roomCode}/{startDate}/{nightCount}/{userGuid}

Search for list of rooms of a specific type in the specific date range and returns list of price and capacity

جستوجو برای لیست اتاق های موجود از یک نوع اتاق خاص در یک بازه تاریخی و باز گرداندن لیست قیمت و ظرفیت

Request Information

URI Parameters

NameDescriptionTypeAdditional information
hotelCode

Code of the desired hotel

کد هتل مد نظر

integer

Required

roomCode

Code of the desired room type

کد نوع اتاق مد نظر

integer

Required

startDate

Persian date in following format : yyyymmdd

تاریخ شمسی با فرمت: yyyymmdd

string

Required

nightCount

Counts of nights to stay on

تعداد شب های اقامت

integer

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-29T19:10:56.8385025+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-29T19:10:56.8385025+03:30</QueryableDate>
    <RemainingCapacity>5</RemainingCapacity>
    <RoomCode>2</RoomCode>
    <StayingNights>1</StayingNights>
  </HotelRoomPriceVm>
</ArrayOfHotelRoomPriceVm>