POST api/hotel/rts/order/submit
订单提交
Request Information
URI Parameters
None.
Body Parameters
HotelBookingRequestName | Description | Type | Additional information |
---|---|---|---|
LanguageCode | string |
None. |
|
BookingCode | string |
None. |
|
TravelerNationality | string |
None. |
|
CustomerList | Collection of CustomerInfo |
None. |
|
BookingHotelList | Collection of BookingHotelInfo |
None. |
|
PriceBookingInfo | Collection of PriceBookingInfo |
None. |
|
RoomAndGuestList | Collection of RoomAndGuestInfo |
None. |
|
Currency | string |
None. |
|
TotalAmountBeforeTax | decimal number |
None. |
|
Source | string |
None. |
|
UserName | string |
None. |
|
Cid | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "LanguageCode": "sample string 1", "BookingCode": "sample string 2", "TravelerNationality": "sample string 3", "CustomerList": [ { "No": 1, "Name": "sample string 2", "LastName": "sample string 3", "FirstName": "sample string 4", "Gender": "sample string 5", "Age": "sample string 6", "Country": "sample string 7", "Birthday": "sample string 8", "JuminNo": "sample string 9", "LeadYn": true, "PassportNo": "sample string 11", "PassportExpiry": "sample string 12" }, { "No": 1, "Name": "sample string 2", "LastName": "sample string 3", "FirstName": "sample string 4", "Gender": "sample string 5", "Age": "sample string 6", "Country": "sample string 7", "Birthday": "sample string 8", "JuminNo": "sample string 9", "LeadYn": true, "PassportNo": "sample string 11", "PassportExpiry": "sample string 12" } ], "BookingHotelList": [ { "ItemTypeCode": "sample string 1", "ItemCode": "sample string 2", "ItemNo": 3, "AgentBookingReference": "sample string 4", "AppliedFromDate": "sample string 5", "AppliedToDate": "sample string 6", "RoomTypeCode": "sample string 7", "RatePlanID": "sample string 8", "FreeBreakfastTypeName": "sample string 9" }, { "ItemTypeCode": "sample string 1", "ItemCode": "sample string 2", "ItemNo": 3, "AgentBookingReference": "sample string 4", "AppliedFromDate": "sample string 5", "AppliedToDate": "sample string 6", "RoomTypeCode": "sample string 7", "RatePlanID": "sample string 8", "FreeBreakfastTypeName": "sample string 9" } ], "PriceBookingInfo": [ { "AddBookingCode": "sample string 1", "AddTableItemCnt": "sample string 2", "AddEurailBookingId": "sample string 3", "AddTotalPrice": "sample string 4", "AddCardPaymentAmount": "sample string 5", "AddResaStatusCode": "sample string 6", "AddSupplierStatusCode": "sample string 7", "SellerMarkup": "sample string 8" }, { "AddBookingCode": "sample string 1", "AddTableItemCnt": "sample string 2", "AddEurailBookingId": "sample string 3", "AddTotalPrice": "sample string 4", "AddCardPaymentAmount": "sample string 5", "AddResaStatusCode": "sample string 6", "AddSupplierStatusCode": "sample string 7", "SellerMarkup": "sample string 8" } ], "RoomAndGuestList": [ { "RoomNo": 1, "BedTypeCode": "sample string 2", "GuestList": [ { "GuestNo": 1, "AgeTypeCode": "sample string 2", "ProductId": "sample string 3" }, { "GuestNo": 1, "AgeTypeCode": "sample string 2", "ProductId": "sample string 3" } ] }, { "RoomNo": 1, "BedTypeCode": "sample string 2", "GuestList": [ { "GuestNo": 1, "AgeTypeCode": "sample string 2", "ProductId": "sample string 3" }, { "GuestNo": 1, "AgeTypeCode": "sample string 2", "ProductId": "sample string 3" } ] } ], "Currency": "sample string 4", "TotalAmountBeforeTax": 5.0, "Source": "sample string 6", "UserName": "sample string 7", "Cid": "sample string 8" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
订单提交
ReturnResultOfHotelBookingResponseName | Description | Type | Additional information |
---|---|---|---|
data |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "LanguageCode": "sample string 1", "BookingCode": "sample string 2", "BookingName": "sample string 3", "BookingStatusCode": "sample string 4", "BookingStatusName": "sample string 5", "FullCancelReasonCode": "sample string 6", "FullCancelReasonName": "sample string 7", "NormalRemarks": "sample string 8", "SalesRemarks": "sample string 9", "BookingTime": "sample string 10", "DepartureDate": "sample string 11", "CancelDeadLine": "sample string 12", "LastWriteTime": "sample string 13", "CustomerList": [ { "No": 1, "Name": "sample string 2", "LastName": "sample string 3", "FirstName": "sample string 4", "Gender": "sample string 5", "Age": "sample string 6", "Country": "sample string 7", "Birthday": "sample string 8", "JuminNo": "sample string 9", "LeadYn": true, "PassportNo": "sample string 11", "PassportExpiry": "sample string 12" }, { "No": 1, "Name": "sample string 2", "LastName": "sample string 3", "FirstName": "sample string 4", "Gender": "sample string 5", "Age": "sample string 6", "Country": "sample string 7", "Birthday": "sample string 8", "JuminNo": "sample string 9", "LeadYn": true, "PassportNo": "sample string 11", "PassportExpiry": "sample string 12" } ], "BookingItemList": [ { "ItemNo": "sample string 1", "ItemTypeCode": "sample string 2", "NormalReceiveYn": "sample string 3", "BookingReference": "sample string 4", "ItemReference": "sample string 5", "CountryCode": "sample string 6", "CountryName": "sample string 7", "CityCode": "sample string 8", "CityName": "sample string 9", "ItemCode": "sample string 10", "ItemName": "sample string 11", "CheckInDate": "sample string 12", "CheckOutDate": "sample string 13", "Duration": "sample string 14", "CancelDeadLine": "sample string 15", "FreeBreakfastCode": "sample string 16", "FreeBreakfastName": "sample string 17", "SellingCurrencyCode": "sample string 18", "SellingCurrencyRate": "sample string 19", "ClientCurrencyCode": "sample string 20", "ClientPartnerAmount": "sample string 21", "ClientSellingAmount": "sample string 22", "ItemStatusCode": "sample string 23", "ItemStatusName": "sample string 24", "ItemConfirmationNo": "sample string 25", "ItemConfirmedTime": "sample string 26", "ItemCancelReasonCode": "sample string 27", "ItemCancelReasonName": "sample string 28", "RoomTypeCode": "sample string 29", "RoomTypeName": "sample string 30", "LastWriteTime": "sample string 31", "BookingDate": "sample string 32", "RoomAndGuestList": [ { "RoomNo": "sample string 1", "BedTypeCode": "sample string 2", "BedTypeName": "sample string 3", "GuestList": [ { "GuestNo": "sample string 1", "GuestName": "sample string 2", "BookMailCount": "sample string 3", "CancelMailCount": "sample string 4", "ModifyMailCount": "sample string 5", "VoucherMailCount": "sample string 6", "VoucherRemarks": "sample string 7", "SpecialRemarks": "sample string 8", "TravelerNationlity": "sample string 9", "CancelNotice": "sample string 10" }, { "GuestNo": "sample string 1", "GuestName": "sample string 2", "BookMailCount": "sample string 3", "CancelMailCount": "sample string 4", "ModifyMailCount": "sample string 5", "VoucherMailCount": "sample string 6", "VoucherRemarks": "sample string 7", "SpecialRemarks": "sample string 8", "TravelerNationlity": "sample string 9", "CancelNotice": "sample string 10" } ] }, { "RoomNo": "sample string 1", "BedTypeCode": "sample string 2", "BedTypeName": "sample string 3", "GuestList": [ { "GuestNo": "sample string 1", "GuestName": "sample string 2", "BookMailCount": "sample string 3", "CancelMailCount": "sample string 4", "ModifyMailCount": "sample string 5", "VoucherMailCount": "sample string 6", "VoucherRemarks": "sample string 7", "SpecialRemarks": "sample string 8", "TravelerNationlity": "sample string 9", "CancelNotice": "sample string 10" }, { "GuestNo": "sample string 1", "GuestName": "sample string 2", "BookMailCount": "sample string 3", "CancelMailCount": "sample string 4", "ModifyMailCount": "sample string 5", "VoucherMailCount": "sample string 6", "VoucherRemarks": "sample string 7", "SpecialRemarks": "sample string 8", "TravelerNationlity": "sample string 9", "CancelNotice": "sample string 10" } ] } ] }, { "ItemNo": "sample string 1", "ItemTypeCode": "sample string 2", "NormalReceiveYn": "sample string 3", "BookingReference": "sample string 4", "ItemReference": "sample string 5", "CountryCode": "sample string 6", "CountryName": "sample string 7", "CityCode": "sample string 8", "CityName": "sample string 9", "ItemCode": "sample string 10", "ItemName": "sample string 11", "CheckInDate": "sample string 12", "CheckOutDate": "sample string 13", "Duration": "sample string 14", "CancelDeadLine": "sample string 15", "FreeBreakfastCode": "sample string 16", "FreeBreakfastName": "sample string 17", "SellingCurrencyCode": "sample string 18", "SellingCurrencyRate": "sample string 19", "ClientCurrencyCode": "sample string 20", "ClientPartnerAmount": "sample string 21", "ClientSellingAmount": "sample string 22", "ItemStatusCode": "sample string 23", "ItemStatusName": "sample string 24", "ItemConfirmationNo": "sample string 25", "ItemConfirmedTime": "sample string 26", "ItemCancelReasonCode": "sample string 27", "ItemCancelReasonName": "sample string 28", "RoomTypeCode": "sample string 29", "RoomTypeName": "sample string 30", "LastWriteTime": "sample string 31", "BookingDate": "sample string 32", "RoomAndGuestList": [ { "RoomNo": "sample string 1", "BedTypeCode": "sample string 2", "BedTypeName": "sample string 3", "GuestList": [ { "GuestNo": "sample string 1", "GuestName": "sample string 2", "BookMailCount": "sample string 3", "CancelMailCount": "sample string 4", "ModifyMailCount": "sample string 5", "VoucherMailCount": "sample string 6", "VoucherRemarks": "sample string 7", "SpecialRemarks": "sample string 8", "TravelerNationlity": "sample string 9", "CancelNotice": "sample string 10" }, { "GuestNo": "sample string 1", "GuestName": "sample string 2", "BookMailCount": "sample string 3", "CancelMailCount": "sample string 4", "ModifyMailCount": "sample string 5", "VoucherMailCount": "sample string 6", "VoucherRemarks": "sample string 7", "SpecialRemarks": "sample string 8", "TravelerNationlity": "sample string 9", "CancelNotice": "sample string 10" } ] }, { "RoomNo": "sample string 1", "BedTypeCode": "sample string 2", "BedTypeName": "sample string 3", "GuestList": [ { "GuestNo": "sample string 1", "GuestName": "sample string 2", "BookMailCount": "sample string 3", "CancelMailCount": "sample string 4", "ModifyMailCount": "sample string 5", "VoucherMailCount": "sample string 6", "VoucherRemarks": "sample string 7", "SpecialRemarks": "sample string 8", "TravelerNationlity": "sample string 9", "CancelNotice": "sample string 10" }, { "GuestNo": "sample string 1", "GuestName": "sample string 2", "BookMailCount": "sample string 3", "CancelMailCount": "sample string 4", "ModifyMailCount": "sample string 5", "VoucherMailCount": "sample string 6", "VoucherRemarks": "sample string 7", "SpecialRemarks": "sample string 8", "TravelerNationlity": "sample string 9", "CancelNotice": "sample string 10" } ] } ] } ], "BookingResult": { "BookingCode": "sample string 1", "NormalReceivedYn": "sample string 2" }, "Msg": "sample string 14", "Status": 15 }, "code": 1, "message": "sample string 2" }