BookingAuthenticateWcfServiceBooking Method |
Namespace: Tse.EasyBook.Server.WcfContracts.WebClient
public OrderWeb Booking( BookingCriteria criteria )
Exception | Condition |
---|---|
FaultException | AuthorizationFault The provided username and password is not authorized to call this service method Fault may contain the following values:ErrorCode.Error: An unspecified error happened in the server ErrorCode.BookingInvalidArrivalDepartureDate: The provided arrival or departure date is invalid ErrorCode.BookingRentalObjectNotVacant: The rental object can not be booked because it is not vacant in the provided period ErrorCode.InvalidRentalObjectNo: The provided rental object number is invalid ErrorCode.InvalidCurrencyIsoCode: The provided currency ISO code is invalid ErrorCode.InvalidCountryIsoCode: The provided country ISO code is invalid ErrorCode.InvalidArticle: The article "ArticleNo" cannot be added to the order ErrorCode.RentalAccessoryNotAvailable: The requested number of items are not available for rental accessory: {0} ErrorCode.BookingAdultsZero: The number of adults must be greater than zero ErrorCode.BookingPetsExceededMax: The number of pets provided is higher than the maximum allowed number of pets for the rental object ErrorCode.BookingPersonsExceededMax: The number of persons provided is higher than the maximum allowed number of persons for the rental object ErrorCode.InvalidCustomerPerson: The Customer person contaning details about the customer is either null or missing nescessary information ErrorCode.InvalidCustomerCompany: The Customer company contaning details about the customer is either null or missing nescessary information ErrorCode.InvalidPhoneNumber: A phonenumber failed validation. It may only contain digits or white spaces. Atleast 1 digit is required ErrorCode.InvalidEanNumber: The provided EAN number is invalid ErrorCode.InvalidBankInfo: The bank info could not be validated ErrorCode.BookingInvalidMediaCode: The provided media code ID is either invalid or does not exist ErrorCode.InvalidChangeFromCompanyToPerson: An existing company customer cannot be changed to a person customer ErrorCode.InvalidChangeFromPersonToCompany: An existing customer of type person cannot be changed to a company customer |