post https://api.pay2mobiles.com/api-service/hotel/roomInfo
Log in to see full request history
Responses
xxxxxxxxxx
11curl --location 'http://localhost:8099/api-service/hotel/roomInfo' \
--header 'api_key: 2xxxxxxxxxx6' \
--header 'tokenId: 14278d7f-87eb-488b-97be-659deb643bfc' \
--header 'Content-Type: application/json' \
--data '{
"endUserIp": "223.190.84.195",
"traceId": "328d2290-04d3-4c5d-97f4-d94e09224ed9",
"resultIndex": "1",
"hotelCode": "2876"
}'
xxxxxxxxxx
288}
{
"GetHotelRoomResult": {
"ResponseStatus": 1,
"Error": {
"ErrorCode": 0,
"ErrorMessage": ""
},
"TraceId": "86fa7f02-ff4d-4c0a-9cc1-71399a0a1d2b",
"IsUnderCancellationAllowed": true,
"IsPolicyPerStay": false,
"HotelRoomsDetails": [
{
"AvailabilityType": "Confirm",
"ChildCount": 0,
"RequireAllPaxDetails": false,
"RoomId": 0,
"RoomStatus": 0,
"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_",
"RatePlan": 13,
"RatePlanName": "Room Only",
"InfoSource": "OpenCombination",