IBookingAuthenticateRestWcfServiceBookingJson Method |
Uri for this REST service method:
https://appl.easybook.net/booking/json/{partnerCode}/{consumerId}/booking
Http method: POST
Response body format: Json
Performs a booking on a specific rental object for a specific date interval.
All prices and additional purchased articles will be recalculated and a finished
OrderWeb is returned if successful.
Namespace:
Tse.EasyBook.Server.WcfContracts.WebClient
Assembly:
Tse.EasyBook.Server.WcfContracts (in Tse.EasyBook.Server.WcfContracts.dll) Version: 1.0.0.0 (1.0.0.0)
SyntaxOrderWeb BookingJson(
string partnerCode,
string consumerId,
BookingCriteria crit
)
Parameters
- partnerCode
- Type: SystemString
A path parameter containing the partner code a.k.a. the login or user name. Example: /LHUSE - consumerId
- Type: SystemString
A path parameter always assigned the integer number 1.Example: /1 - crit
- Type: Tse.EasyBook.Server.DataContractsBookingCriteria
The booking criteria object serialized to json. This json data constitutes the payload part of the POST
Return Value
Type:
OrderWebAn
OrderWeb instance if the booking was successfully recorded.
See Also