Hotel
The following operations are supported. For a formal definition, please review the Service Description.
-
FindHotel
Description: Hotels list appropriate with the name of the sent hotel returns as dataset..
Parameters Sent
token = Key number given upon login to system
hotelName = Let the ones whose country name starting with this parameter come.
location = Belirtilen location ın altındaki uyan oteller listelenir
errorMsg =Used to control whether any fault will return or not.This is both returning and sent parameter.
-
GetAvailableAccomInfo
Description: In the specified date interval,accomodation information of the created package of the hotel
(room, board, adult, child) and accomodation values return as Dataset.
The first table in the Dataset gives available accomodation information,the second table gives
room,board,adult,and child information.
Parameters Sent
token: Key number given upon login to system
hotelCode: Hotel code
cin1: Check In Date
cin2: Check In Date 2
packType: If 'O', gets only hotel packages accommodation info, if 'H', gets all except only hotel packages accommodation info.
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
-
GetAvailableDatesForHotel
Description: In the specified date interval,nights of the created package of the hotel
Parameters Sent
token: Key number given upon login to system
hotelCode: Hotel code
cin1: Check In Date
cin2: Check In Date 2
packType: If 'O', gets only hotel packages accommodation info, if 'H', gets all except only hotel packages accommodation info.
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
-
GetAvailableNightsForHotel
Description: In the specified date interval,nights of the created package of the hotel
Parameters Sent
token: Key number given upon login to system
hotelCode: Hotel code
cin1: Check In Date
cin2: Check In Date 2
packType: If 'O', gets only hotel packages accommodation info, if 'H', gets all except only hotel packages accommodation info.
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
- GetHotelAllotAccomRestriction
-
GetHotelAllotList
Description: Gets hotel allotment list as DataSet
Parameters Sent
token: Key number given upon login to system
Hotel: Hotel code. if blank come all
fromDate: From Date
toDate: To Date
stopControl: if sent true: round of if there is a stop sale
freeSaleControl: if sent true: dont display the records which have free sales
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
-
GetHotelAllotListXML
Description: Gets hotel allotment list as ReturnXml struct
Parameters Sent
token: Key number given upon login to system
Hotel: Hotel code. if blank come all
fromDate: From Date
toDate: To Date
stopControl: if sent true: round of if there is a stop sale
releaseControl: if sent true: dont display the records which have release
hideNotConfirmed: if sent true: dont display the records which have not confirmed
-
GetHotelAllotment
Description: Gets hotel allotment as integer
Parameters Sent
token: Key number given upon login to system
Hotel: Hotel code
room: Room code(Room space in price list coming from getPriceSerchForB2C webservice) or might be
code space in GetRoooms method.
cinDate: Check In Date
night: overnight staying
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Hotel allotment information returns as integer.
-
GetHotelArrCityListV2
Description: Get hotel city list
Parameters Sent
token: Key number given upon login to system
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Return Parameter is Xml
Fields return dataset:
-
GetHotelAvailableCheckInDatesV2
Description: Get hotel checkin date list
Parameters Sent
token: Key number given upon login to system
hotelCode: Hotel code
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Return Parameter is Xml
Fields return dataset:
-
GetHotelAvailableNightsV2
Description: Get hotel night list
Parameters Sent
token: Key number given upon login to system
hotelCode: Hotel code
checkIn1: CheckIn1 Date
checkIn2: CheckIn2 Date
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Return Parameter is Xml
Fields return dataset:
-
GetHotelCountryListV2
Description: Get hotel country list
Parameters Sent
token: Key number given upon login to system
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Return Parameter is Xml
Fields return dataset:
-
GetHotelLocationListV2
Description: Get hotel location list
Parameters Sent
token: Key number given upon login to system
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Return Parameter is Xml
Fields return dataset:
- GetHotelOccupancies
-
GetHotelPrices
Description: It sends period prices of given hotel
Parameters Sent
token: Key number given upon login to system
hotelCode: Hotel code
beginDate: Price Begin Date (if send 01.01.0001,begindate is today)
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Return Parameter is Dateset
Fields return dataset:
BegDate:Period Begin Date,EndDate:Perid End Date,
Board:Board Code,Room:Room Code,
HotelName:Hotel Name,RoomName:Room Name,BoardName:Board Name
PP_Price:Per person price,ExtBed1:1.Extra Bed Price,ExtBed2:2.Extra Bed Price,
Sng_Price:Single Price,Dbl_Price:Double Price,Trp_Price:Triple Price,Quad_Price:Quad Price
ChdG1Age1,ChdG1Age2:1.Age Group Range,ChdG2Age1,ChdG2Age2:2.Age Group Range,
ChdG3Age1,ChdG3Age2:3.Age Group Range,ChdG4Age1,ChdG4Age2:4.Age Group Range,
Night:shows number of nights of the price,
MinNight:Minumum Night,MaxNight:Maximum Night,NetCur:Currency,
ChdG1_1,ChdG1_2,ChdG1_3:1., 2. and 3. children's prices connected to 1. Age group,
ChdG2_1,ChdG2_2,ChdG2_3:1., 2. and 3. children's prices connected to 2. Age group,
ChdG3_1,ChdG3_2,ChdG3_3:1., 2. and 3. children's prices connected to 3. Age group,
ChdG4_1,ChdG4_2,ChdG4_3:1., 2. and 3. children's prices connected to 4. Age group,
FootNote:Dip Note -
GetHotelPricesV2
Description: It sends checkin prices of given checkin
Parameters Sent
token: Key number given upon login to system
checkin: checkin date
night: Night
hotLocation: Hotel Location
hotCategory: Hotel Category code
hotel: Hotel code
adult: Adult number or -1
child: Child number or -1
infant: Infant number or -1
board: Board code
room: Room code
boardGrp: Board group code
roomGrp: Room Group code
cur: Currency code
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Return Parameter is Dateset
Fields return dataset:
-
GetHotelPricesXML
Description: It sends period prices of given hotel
Parameters Sent
token: Key number given upon login to system
hotelCode: Hotel code
beginDate: Price Begin Date (if send 01.01.0001,begindate is today)
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Return Parameter is Xml
Fields return dataset:
BegDate:Period Begin Date,EndDate:Perid End Date,
Board:Board Code,Room:Room Code,
HotelName:Hotel Name,RoomName:Room Name,BoardName:Board Name
PP_Price:Per person price,ExtBed1:1.Extra Bed Price,ExtBed2:2.Extra Bed Price,
Sng_Price:Single Price,Dbl_Price:Double Price,Trp_Price:Triple Price,Quad_Price:Quad Price
ChdG1Age1,ChdG1Age2:1.Age Group Range,ChdG2Age1,ChdG2Age2:2.Age Group Range,
ChdG3Age1,ChdG3Age2:3.Age Group Range,ChdG4Age1,ChdG4Age2:4.Age Group Range,
Night:shows number of nights of the price,
MinNight:Minumum Night,MaxNight:Maximum Night,NetCur:Currency,
ChdG1_1,ChdG1_2,ChdG1_3:1., 2. and 3. children's prices connected to 1. Age group,
ChdG2_1,ChdG2_2,ChdG2_3:1., 2. and 3. children's prices connected to 2. Age group,
ChdG3_1,ChdG3_2,ChdG3_3:1., 2. and 3. children's prices connected to 3. Age group,
ChdG4_1,ChdG4_2,ChdG4_3:1., 2. and 3. children's prices connected to 4. Age group,
FootNote:Dip Note - GetHotelStopSale
- GetHotelTextCategory
- GetLocationOccupancies
-
GetMarketHotels
Description: Gets hotel list in Markets by given criteria
Parameters Sent
token: Key number given upon login to system (string)
holPack: Lists hotels that has given holiday package (string)
country: Lists hotels from country by Country Code (int)
depCity: Lists hotels that can be departured from given departure city
city: Lists hotels from city
town: Lists hotels from town
hotelLocation: Lists hotels from hotel location
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter (string)
Returning Parameters
Hotel information with minimum prices return as Dataset. -
GetMarketHotelwithMinPrice
Description: Hotel list returns with minumum price in this method. Information like room,adult,checkin except hotel code and name are brought to specify what kind of features the hotel have with minimum price.
Parameters Sent
token: Key number given upon login to system (string)
hotelCodeList: Hotel codes must be in quotations. They're separated by comma.Available hotels are listed.
If left blank, all the hotels are listed.
hotelName: Hotels including hotelName string are listed.If they're sent blank, all of them are listed
country: Country ID(value returning from GetCountry method in Common.asmx AS recID or value returning
from GetArrCity method as Country)
city: City ID (value returning from GetArrCity method in common.asmx as RecID or value returning from
GetDepCity method as RecID. Generally,value returning from arrcity method is used )
town: Region ID (value returning from GetTown method as RecID in common.asmx )
hotelLocation: Hotel Location (value returning from GetHotelLocation method as RecID in common.asmx )
dayRange: Day interval: For example,if 90 is entered,hotels come having price in 90 days
packType: If 'O', searchs only onlyhotel packages' minimum price, if 'H', searchs all minimum prices except onlyhotel packages
night: overnight staying
getMinInstalmentPrice: If sets 'true', it gets hotel minimum price for insallments
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter (string)
Returning Parameters
Hotel information with minimum prices return as Dataset. - GetPriceSearchByHotelLocation
-
HotelAllotmentData
Description: Gets hotel allotment information as dataset
Parameters Sent
token: Key number given upon login to system
Hotel: Hotel code
room: Room code(Room space in price list coming from getPriceSerchForB2C webservice) or might be code
space in GetRoooms method.
cinDate: Check In Date
night: for how many days the control will be made
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Hotel allotment information returns as Dataset.
-
StopSaleControl
Description: Gets stopsale information as string value.
Parameters Sent
token: Key number given upon login to system
Hotelcode: Hotel code
room: Room code(Room space in price list coming from getPriceSerchForB2C webservice) or might be code
space in GetRoooms method.
accom: Accom code(Accom space in price list coming from getPriceSerchForB2C webservice )
board: Board code(Board space in price list coming from getPriceSerchForB2C webservice) or might be
code space in GetBoards method.
cinDate: Check In Date
coutDate: Check Out Date
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters
Returns string.If returning value is Ok, reservasition is permitted. Request might be permitted as request.
If it is no, it isn't permitted