Skip to content

MSS API client for .NET projects

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.txt
Notifications You must be signed in to change notification settings

bookingsuedtirol/mss-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mss-dotnet

MSS API wrapper for .NET projects

NuGet

Warning! Do not use this in production yet! Supports only v2.0!

Available services

  • getHotelList
  • getSpecialList
  • getRoomList
  • getPriceList
  • getRoomAvailability
  • getHotelPictures
  • prepareBooking
  • getBooking
  • createInquiry
  • getUserSources

Example

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;
    });
}

About

MSS API client for .NET projects

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.txt

Stars

Watchers

Forks

Packages

No packages published

Languages