post https://api.pay2mobiles.com/api-service/hotel/roomBlock
Log in to see full request history
Responses
xxxxxxxxxx
46curl --location 'http://localhost:8099/api-service/hotel/roomBlock' \
--header 'tokenId: 14278d7f-87eb-488b-97be-659deb643bfc' \
--header 'api_key: 2xxxxxxxxxxx6' \
--header 'Content-Type: application/json' \
--data '{
"resultIndex": "1",
"hotelCode": "2876",
"hotelName": "Sheraton Test",
"guestNationality": "IN",
"noOfRooms": "1",
"clientReferenceNo": "0",
"isVoucherBooking": "true",
"hotelRoomsDetails": [
{
"roomIndex": "1",
"roomTypeCode": "46081_abc046081^T12.6000^MT0^OR0^RN0^BB1^M0_1|NonPackage",
"roomDescription": "RoomInformation: test room",
"roomTypeName": "Superior-DoubleBed",
"ratePlanCode": "46081_abc046081^T12.6000^MT0^OR0^RN0^BB1^M0_1_",
"bedTypeCode": null,
"smokingPreference": 0,
"supplements": null,
"price": {
"currencyCode": "INR",
"roomPrice": 12.60,
"tax": 0.0,
"extraGuestCharge": 0,
"childCharge": 0,
"otherCharges": 100.00,
xxxxxxxxxx
161}
{
"BlockRoomResult": {
"TraceId": "86fa7f02-ff4d-4c0a-9cc1-71399a0a1d2b",
"ResponseStatus": 1,
"Error": {
"ErrorCode": 0,
"ErrorMessage": ""
},
"IsCancellationPolicyChanged": false,
"IsHotelPolicyChanged": true,
"IsPriceChanged": false,
"IsPackageFare": false,
"IsDepartureDetailsMandatory": false,
"IsPackageDetailsMandatory": false,
"AvailabilityType": "Confirm",
"GSTAllowed": false,
"HotelNorms": "india - land of mystries \"//\" \" /// \" |<ul><li>Weekend policy is applied.</li></ul><strong>City tax and Resort fee are to be paid directly at hotel if applicable. Most hotels do not allow unmarried / unrelated couples to check-in. This is at full discretion of the hotel management. No refund would be applicable in case the hotel denies check-in under such circumstances.</strong>",
"HotelName": "Sheraton Test",
"AddressLine1": "test hotel, 3432432, IN, Delhi, ZipCode: 232132323",
"AddressLine2": "\n Phone No: 32648878798\n Fax : 32432432423",
"StarRating": 4,
"HotelPolicyDetail": "india - land of mystries \"//\" \" /// \" |<ul><li>Weekend policy is applied.</li></ul><strong>City tax and Resort fee are to be paid directly at hotel if applicable. Most hotels do not allow unmarried / unrelated couples to check-in. This is at full discretion of the hotel management. No refund would be applicable in case the hotel denies check-in under such circumstances.</strong>",
"Latitude": "0",
"Longitude": "0",
"BookingAllowedForRoamer": false,