ChannelManager
The full documentation of the web service is available online or can be downloaded localy. You can contact us at support@yieldplanet.com.
The following operations are supported. For a formal definition, please review the Service Description.
-
CancelOrder
Cancels the existing reservation. -
CheckAvailability
Returns availability for the specified hotel and specified period. -
ConfirmOrders
Set specified order as confirmed to be excluded from 'GetOrders' method.- GetOrdersRequest.Credentials - valid hotel credentials
-
GetAPIVersion
Returns current API version. -
GetAddOns
Returns all available addons. -
GetModifiedRates
Returns rates that were modified in the specified period- GetModifiedRatesRequest.Credentials - valid hotel credentials
- GetModifiedRatesRequest.ModifiedDateFrom - the start date of the modification period
- GetModifiedRatesRequest.ModifiedDateTill - the end date of the modification period
-
GetMultipleRatesRequestState
Returns the state of the request entered by 'SetMultipleRates' method. Under constructing ... -
GetOrders
Returns reservations for the specified hotel.- GetOrdersRequest.Credentials - valid hotel credentials
- GetOrdersRequest.SubmittedSince, GetOrdersRequest.SubmittedTill - date range of the date when the customer submitted the reservation (OrderDate)
- GetOrdersRequest.StatusChangedSince, GetOrdersRequest.StatusChangedTill - date range of the last status change of the reservation (LastStatusChanged)
- GetOrdersRequest.ArrivalSince, GetOrdersRequest.ArrivalTill - date range of the customer arrival to the hotel (Arrival)
- GetOrdersResponse.Orders[n].ccType, ccNumber, ccExpireDate, ccCVV, these fields are only returned when using secure connection https://secure.yieldplanet.com/xmlServices/ChannelManager.asmx
-
GetPartners
Returns connected partners for the specified hotel. -
GetProducts
Gets all products owned by hotel -
GetProperties
Returns all available hotels for the specified user credentials. -
GetRateInfo
Returns rate and availability data- GetRateInfoRequest.Credentials - valid hotel credentials
- GetRateInfoRequest.RoomId - id of the room from GetRooms response
- GetRateInfoRequest.RatePlanId - id of the rate plan from GetRatePlans response
-
GetRatePlans
Returns all rate plans for the specified hotel. -
GetRooms
Returns all rooms for the specified hotel. -
GetSupplements
Returns all supplements for the specified hotel. -
InsertOrder
Inserts new hotel order.- InsertOrderRequest.Credentials - valid hotel credentials
- InsertOrderRequest.NewOrder.PartnerId - the same value as returned in CheckedAvailability, in AvailableRoom.PartnerId field
- InsertOrderRequest.NewOrder.Code - unique identifier of a reservation. Max length is 10 chars. If empty then it will automatically assigned. If a reservation with specified code already exists then it is overwritten
- InsertOrderRequest.NewOrder.Status - Submitted: not yet confirmed to the customer, Confirmed: confirmed to the customer, Canceled, Modified: self explanatory
- InsertOrderRequest.NewOrder.Rooms.RoomId - booked room identifier. You get current room identifiers by executing GetRooms method
- InsertOrderRequest.NewOrder.Rooms.RatePlanId - booked rate plan identifier. You get current rate plans identifiers by executing GetRatePlans method
Allotment of the room will be reduced if status is 'Confirmed', increased in case of status 'Canceled'. -
ManageHotel
Manages the hotel data.- ManageHotelRequest.Credentials - valid hotel credentials for Update or Delete operation. For Insert operation use another, admin credentials provided by support@yieldplanet.com
- ManageHotelRequest.Hotel.UserEmail - used only at Insert operation: the username of the hotel credentials. Should be a valid email address
- ManageHotelRequest.Hotel.UserPassword - used only at Insert operation: the password of the hotel credentials
- ManageHotelResponse.HotelId - after Insert operation, returns id of the hotel, that should be pass by ManageHotelRequest.Hotel.Id and by ManageHotelRequest.Credentials.HotelId for Update or Delete operation
- ManageHotelResponse.TOLHotelCode - the code of the hotel that is returned at the booking engine at http://ha.yieldplanet.com/xmlRes/ws.asmx
-
ManageHotelRatePlan
Manages the hotel rate plans.- ManageHotelRatePlanRequest.Credentials - valid hotel credentials
- ManageHotelRatePlanResponse.RatePlanId - after Insert operation, returns id of the room, that should be set to ManageHotelRatePlanRequest.RatePlan.Id for Update or Delete operation
-
ManageHotelRoom
Manages the hotel rooms.- ManageHotelRoomRequest.Credentials - valid hotel credentials
- ManageHotelRoomResponse.RoomId - after Insert operation, returns id of the room, that should be set to ManageHotelRoomRequest.Room.Id for Update or Delete operation
-
SetMultipleOccupancyRates
Sets rate, availability and restrictions for multiple hotels, rooms, rate plans and date periods.- SetRateRequest.Credentials - valid user credentials
- SetRateRequest.Rates - an array of rate units to be set
-
SetMultipleRates
Sets rate, availability and restrictions for multiple hotels, rooms, rate plans and date periods.- SetRateRequest.Credentials - valid user credentials
- SetRateRequest.Rates - an array of rate units to be set
-
SetOccupancyRates
Sets occupancy rates, availability and restrictions for specified room, rate plan and date period.- SetRateRequest.Credentials - valid hotel credentials
- SetRateRequest.RoomId - id of the room from GetRooms response
- SetRateRequest.RatePlanId - id of the rate plan from GetRatePlans response
- SetRateRequest.Price, Allotment, MinNightStay, ReleaseDays, CloseToArrival - All these values are null-able. Set to null to remain existing value, set to nonnull to set new value.
-
SetRate
Sets rate, availability and restrictions for specified room, rate plan and date period.- SetRateRequest.Credentials - valid hotel credentials
- SetRateRequest.RoomId - id of the room from GetRooms response
- SetRateRequest.RatePlanId - id of the rate plan from GetRatePlans response
- SetRateRequest.Price, Allotment, MinNightStay, ReleaseDays, CloseToArrival - All these values are null-able. Set to null to remain existing value, set to nonnull to set new value.