init
This commit is contained in:
@@ -0,0 +1,596 @@
|
||||
[
|
||||
{
|
||||
"apiLink": "GetReportingLinePlayerInfo",
|
||||
"resultIndex": 9,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "playerId==11010001",
|
||||
"fileIndex": 0
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==11010002",
|
||||
"fileIndex": 1
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==11010003",
|
||||
"fileIndex": 2
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==11010004",
|
||||
"fileIndex": 3
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==11010005",
|
||||
"fileIndex": 4
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==11010006",
|
||||
"fileIndex": 5
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==11010007",
|
||||
"fileIndex": 6
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==11010008",
|
||||
"fileIndex": 7
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==11010009",
|
||||
"fileIndex": 8
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==22020001",
|
||||
"fileIndex": 10
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==22020002",
|
||||
"fileIndex": 11
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==22020003",
|
||||
"fileIndex": 12
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==22020004",
|
||||
"fileIndex": 13
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==22020005",
|
||||
"fileIndex": 14
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==22020006",
|
||||
"fileIndex": 15
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==22020007",
|
||||
"fileIndex": 16
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==22020008",
|
||||
"fileIndex": 17
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==22020009",
|
||||
"fileIndex": 18
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==33030001",
|
||||
"fileIndex": 19
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==33030002",
|
||||
"fileIndex": 20
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==33030003",
|
||||
"fileIndex": 21
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==33030004",
|
||||
"fileIndex": 22
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==33030005",
|
||||
"fileIndex": 23
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==33030006",
|
||||
"fileIndex": 24
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==33030007",
|
||||
"fileIndex": 25
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==33030008",
|
||||
"fileIndex": 26
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==33030009",
|
||||
"fileIndex": 27
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==1212121",
|
||||
"fileIndex": 28
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==12357817",
|
||||
"fileIndex": 29
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==11335577",
|
||||
"fileIndex": 30
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/http/get_player_profile_api_res1.json",
|
||||
"/mockup/http/get_player_profile_api_res2.json",
|
||||
"/mockup/http/get_player_profile_api_res3.json",
|
||||
"/mockup/http/get_player_profile_api_res4.json",
|
||||
"/mockup/http/get_player_profile_api_res5.json",
|
||||
"/mockup/http/get_player_profile_api_res6.json",
|
||||
"/mockup/http/get_player_profile_api_res7.json",
|
||||
"/mockup/http/get_player_profile_api_res8.json",
|
||||
"/mockup/http/get_player_profile_api_res9.json",
|
||||
"/mockup/http/get_player_profile_api_res10.json",
|
||||
"/mockup/http/get_player_profile_api_res11.json",
|
||||
"/mockup/http/get_player_profile_api_res12.json",
|
||||
"/mockup/http/get_player_profile_api_res13.json",
|
||||
"/mockup/http/get_player_profile_api_res14.json",
|
||||
"/mockup/http/get_player_profile_api_res15.json",
|
||||
"/mockup/http/get_player_profile_api_res16.json",
|
||||
"/mockup/http/get_player_profile_api_res17.json",
|
||||
"/mockup/http/get_player_profile_api_res18.json",
|
||||
"/mockup/http/get_player_profile_api_res19.json",
|
||||
"/mockup/http/get_player_profile_api_res20.json",
|
||||
"/mockup/http/get_player_profile_api_res21.json",
|
||||
"/mockup/http/get_player_profile_api_res22.json",
|
||||
"/mockup/http/get_player_profile_api_res23.json",
|
||||
"/mockup/http/get_player_profile_api_res24.json",
|
||||
"/mockup/http/get_player_profile_api_res25.json",
|
||||
"/mockup/http/get_player_profile_api_res26.json",
|
||||
"/mockup/http/get_player_profile_api_res27.json",
|
||||
"/mockup/http/get_player_profile_api_res28.json",
|
||||
"/mockup/http/get_player_profile_api_res29.json",
|
||||
"/mockup/http/get_player_profile_api_res30.json",
|
||||
"/mockup/http/get_player_profile_api_res31.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetLoginUserInfo",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "userId==90001",
|
||||
"fileIndex": 1
|
||||
},
|
||||
{
|
||||
"condiction": "userId==90002",
|
||||
"fileIndex": 2
|
||||
},
|
||||
{
|
||||
"condiction": "userId==90003",
|
||||
"fileIndex": 5
|
||||
},
|
||||
{
|
||||
"condiction": "userId==90004",
|
||||
"fileIndex": 6
|
||||
},
|
||||
{
|
||||
"condiction": "userId==90005",
|
||||
"fileIndex": 7
|
||||
},
|
||||
{
|
||||
"condiction": "userId==90006",
|
||||
"fileIndex": 8
|
||||
},
|
||||
{
|
||||
"condiction": "userId==90007",
|
||||
"fileIndex": 9
|
||||
},
|
||||
{
|
||||
"condiction": "userId==90008",
|
||||
"fileIndex": 10
|
||||
},
|
||||
{
|
||||
"condiction": "userId==90009",
|
||||
"fileIndex": 11
|
||||
},
|
||||
{
|
||||
"condiction": "userId==80001",
|
||||
"fileIndex": 3
|
||||
},
|
||||
{
|
||||
"condiction": "userId==80002",
|
||||
"fileIndex": 4
|
||||
},
|
||||
{
|
||||
"condiction": "userId==80003",
|
||||
"fileIndex": 12
|
||||
},
|
||||
{
|
||||
"condiction": "userId==80004",
|
||||
"fileIndex": 13
|
||||
},
|
||||
{
|
||||
"condiction": "userId==80005",
|
||||
"fileIndex": 14
|
||||
},
|
||||
{
|
||||
"condiction": "userId==80008",
|
||||
"fileIndex": 16
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/http/get_user_info_api_res1.json",
|
||||
"/mockup/http/get_user_info_api_res2.json",
|
||||
"/mockup/http/get_user_info_api_res3.json",
|
||||
"/mockup/http/get_user_info_api_res4.json",
|
||||
"/mockup/http/get_user_info_api_res5.json",
|
||||
"/mockup/http/get_user_info_api_res6.json",
|
||||
"/mockup/http/get_user_info_api_res7.json",
|
||||
"/mockup/http/get_user_info_api_res8.json",
|
||||
"/mockup/http/get_user_info_api_res9.json",
|
||||
"/mockup/http/get_user_info_api_res10.json",
|
||||
"/mockup/http/get_user_info_api_res11.json",
|
||||
"/mockup/http/get_user_info_api_res12.json",
|
||||
"/mockup/http/get_user_info_api_res13.json",
|
||||
"/mockup/http/get_user_info_api_res14.json",
|
||||
"/mockup/http/get_user_info_api_res15.json",
|
||||
"/mockup/http/get_user_info_api_res16.json",
|
||||
"/mockup/http/get_user_info_api_res17.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetRoomBookingQualificationStatus",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "playerId==11010001 || playerId==11010005 || playerId==11010008 || playerId==11010009 || playerId==22020001 || playerId==22020005 || playerId==22020008 || playerId==22020009 || playerId==33030001 || playerId==33030005 || playerId==33030008 || playerId==33030009 || playerId==1212121",
|
||||
"fileIndex": 0
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==11010002 || playerId==11010006 || playerId==22020002 || playerId==22020006 || playerId==33030002 || playerId==33030006",
|
||||
"fileIndex": 1
|
||||
},
|
||||
{
|
||||
"condiction": "playerId==11010003 || playerId==11010007 || playerId==22020003 || playerId==22020007 || playerId==33030003 || playerId==33030007",
|
||||
"fileIndex": 2
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/http/check_player_tpd_all_pass.json",
|
||||
"/mockup/http/check_player_tpd_not_all_pass.json",
|
||||
"/mockup/http/check_player_tpd_partly_pass.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetNonMGMRoomBookingRecord",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "playerId==11010005",
|
||||
"fileIndex": 1
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/http/non_mgm_booking_no_record.json",
|
||||
"/mockup/http/non_mgm_booking_with_record.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetDashboardData",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "UserId==80001",
|
||||
"fileIndex": 0
|
||||
},
|
||||
{
|
||||
"condiction": "UserId==80002",
|
||||
"fileIndex": 1
|
||||
},
|
||||
{
|
||||
"condiction": "UserId==80003",
|
||||
"fileIndex": 2
|
||||
},
|
||||
{
|
||||
"condiction": "UserId==80004",
|
||||
"fileIndex": 3
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/app/getTodoDashboard_1.json",
|
||||
"/mockup/app/getTodoDashboard_2.json",
|
||||
"/mockup/app/getTodoDashboard_3.json",
|
||||
"/mockup/app/getTodoDashboard_4.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetTodolistDetails",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "PlayerId==11010001",
|
||||
"fileIndex": 0
|
||||
},
|
||||
{
|
||||
"condiction": "PlayerId==11010002",
|
||||
"fileIndex": 1
|
||||
},
|
||||
{
|
||||
"condiction": "PlayerId==11010003",
|
||||
"fileIndex": 2
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/app/getTodoDetail_1.json",
|
||||
"/mockup/app/getTodoDetail_2.json",
|
||||
"/mockup/app/getTodoDetail_3.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetTodolist",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "TodoCategory == Arrival && TodoSegment == MASS",
|
||||
"fileIndex": 8
|
||||
},
|
||||
{
|
||||
"condiction": "TodoCategory == Others",
|
||||
"fileIndex": 2
|
||||
},
|
||||
{
|
||||
"condiction": "TodoCategory == Arrival && TodoSegment == IM",
|
||||
"fileIndex": 3
|
||||
},
|
||||
{
|
||||
"condiction": "TodoCategory == Departure && TodoSegment == IM",
|
||||
"fileIndex": 4
|
||||
},
|
||||
{
|
||||
"condiction": "TodoCategory == Inhouse && TodoSegment == MASS",
|
||||
"fileIndex": 5
|
||||
},
|
||||
{
|
||||
"condiction": "TodoCategory == Inhouse && TodoSegment == IM",
|
||||
"fileIndex": 6
|
||||
},
|
||||
{
|
||||
"condiction": "TodoCategory == Departure && TodoSegment == MASS",
|
||||
"fileIndex": 7
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/app/getTodoList_1.json",
|
||||
"/mockup/app/getTodoList_2.json",
|
||||
"/mockup/app/getTodoList_3.json",
|
||||
"/mockup/app/getTodoList_4.json",
|
||||
"/mockup/app/getTodoList_5.json",
|
||||
"/mockup/app/getTodoList_6.json",
|
||||
"/mockup/app/getTodoList_7.json",
|
||||
"/mockup/app/getTodoList_8.json",
|
||||
"/mockup/app/getTodoList_9.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetTripPrice",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "true",
|
||||
"fileIndex": 0
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/limo/get_trip_price_list.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetLocation",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "Location == %",
|
||||
"fileIndex": 0
|
||||
},
|
||||
{
|
||||
"condiction": "Location == ??",
|
||||
"fileIndex": 1
|
||||
},
|
||||
{
|
||||
"condiction": "Location == __EMPTY__",
|
||||
"fileIndex": 2
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/limo/get_location_1.json",
|
||||
"/mockup/limo/get_location_2.json",
|
||||
"/mockup/limo/get_location_empty.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetCarType",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "true",
|
||||
"fileIndex": 0
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/limo/get_car_type_list.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetGreetType",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "true",
|
||||
"fileIndex": 0
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/limo/get_greet_type_list.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetBooking",
|
||||
"resultIndex": 0,
|
||||
"resultFiles": [
|
||||
"/mockup/limo/get_booking_list.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "RequestSimpleLimoBookingQualificationStatus",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "PlayerId ==11010001 || PlayerId ==22020001 || PlayerId ==33030001 ",
|
||||
"fileIndex": 1
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/limo/check_simple_limo_booking_qualification_status_1.json",
|
||||
"/mockup/limo/check_simple_limo_booking_qualification_status_2.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "RequestLimoOverrider",
|
||||
"resultIndex": 0,
|
||||
"resultFiles": [
|
||||
"/mockup/limo/get_overrider.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "RequestEmployeeInfo",
|
||||
"resultIndex": 0,
|
||||
"resultFiles": [
|
||||
"/mockup/limo/get_employee_info.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "CreateBooking",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "playerID == 11010009 || playerID == 22020009 || playerID == 33030009 ",
|
||||
"fileIndex": 1
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/limo/create_booking_1.json",
|
||||
"/mockup/limo/create_booking_2.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "UpdateBooking",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "playerID == 11010009 || playerID == 22020009 || playerID == 33030009 ",
|
||||
"fileIndex": 1
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/limo/update_booking_1.json",
|
||||
"/mockup/limo/update_booking_2.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "UpdateBookingStatus",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "itemObject == {\"ID\":\"11010009\",\"BookingStatus\":\"Cancel\"} || itemObject == {\"ID\":\"22020009\",\"BookingStatus\":\"Cancel\"} || itemObject == {\"ID\":\"33030009\",\"BookingStatus\":\"Cancel\"}",
|
||||
"fileIndex": 1
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/limo/cancel_booking_1.json",
|
||||
"/mockup/limo/cancel_booking_2.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "RequestPlayerLimoBooker",
|
||||
"resultIndex": 0,
|
||||
"resultFiles": [
|
||||
"/mockup/limo/get_player_limo_booker.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetTotalAmount",
|
||||
"resultIndex": 0,
|
||||
"resultFiles": [
|
||||
"/mockup/limo/get_total_amount.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "GetFlightDetails",
|
||||
"resultIndex": 0,
|
||||
"resultFiles": [
|
||||
"/mockup/limo/get_flight_details.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "RequestRoomBookingApprovalRouting",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "playerId==11010005",
|
||||
"fileIndex": 1
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/approval/getApprover.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "RequestWaitlistData",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "playerId==11010005",
|
||||
"fileIndex": 1
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/approval/getApprovalData.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "RequestRoomCalendar",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [
|
||||
{
|
||||
"condiction": "Property == 001 && RoomType == GR,MS,GDX && StartDate == 2026-07-21 && EndDate == 2026-09-06",
|
||||
"fileIndex": 0
|
||||
},
|
||||
{
|
||||
"condiction": "Property == MC && RoomType == CR && StartDate == 2026-07-21 && EndDate == 2026-09-06",
|
||||
"fileIndex": 1
|
||||
},
|
||||
{
|
||||
"condiction": "Property == MO,AS && RoomType == TE,ACSR,ACGR && StartDate == 2026-07-21 && EndDate == 2026-09-06",
|
||||
"fileIndex": 2
|
||||
}
|
||||
],
|
||||
"resultFiles": [
|
||||
"/mockup/http/request_room_calendar_001_gr_ms_gdx.json",
|
||||
"/mockup/http/request_room_calendar_mc_cr.json",
|
||||
"/mockup/http/request_room_calendar_mo_as_te_acsr_acgr.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"apiLink": "RequestPlayerInfo",
|
||||
"resultIndex": 0,
|
||||
"mockupRules": [],
|
||||
"resultFiles": [
|
||||
"/mockup/limo/get_player_info.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user