MSS API wrapper for .NET projects
Warning! Do not use this in production yet! Supports only v2.0!
- getHotelList
- getSpecialList
- getRoomList
- getPriceList
- getRoomAvailability
- getHotelPictures
- prepareBooking
- getBooking
- createInquiry
- getUserSources
var settings = new MssClientSettings("username", "password", "source");
using (var client = new MssClient(settings))
{
var response = await client.SendRequest(request =>
{
request.Header.Method = HeaderMethods.GetHotelList;
request.Request.Search = new Search
{
Ids = new string[] { "9000" },
Lang = Languages.German,
};
request.Request.Options = new Options
{
HotelDetails = (int) (HotelDetails.BasicInfo | PaymentOptionsForOnlineBooking.Themes),
};
return request;
});
}