本地生活用户增长互动任务平台查询任务
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
mission_query | MissionQuery | 必须 | 任务查询入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | BaseResponse | 返回结果 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlscGrowthInteractiveTaskQuerytaskRequest req = new AlibabaAlscGrowthInteractiveTaskQuerytaskRequest(); AlibabaAlscGrowthInteractiveTaskQuerytaskRequest.MissionQuery obj1 = new AlibabaAlscGrowthInteractiveTaskQuerytaskRequest.MissionQuery(); obj1.setBizScence( "WATER_SORT" ); AlibabaAlscGrowthInteractiveTaskQuerytaskRequest.DeviceInfo obj2 = new AlibabaAlscGrowthInteractiveTaskQuerytaskRequest.DeviceInfo(); obj2.setDeviceId( "WV610052d617e770f2021049cb58cf5c9" ); obj2.setIp( "11.23.33.33" ); obj2.setMac( "111111" ); obj2.setPlatform( "iphone" ); obj2.setPlatformVersion( "10.3.20.8500" ); obj2.setProdVersion( "10.13.35" ); obj2.setProduct( "eleme" ); obj2.setSchemaPlatform( "abc" ); obj2.setTtid( "201200@eleme_iphone_10.13.35" ); obj2.setUserAgent( "MTOPSDK/1.9.3.48 (iOS;15.0.2;Apple;iPhone14,2) Rajax/1 Apple/iPhone14,2 iOS/15.0.2 Eleme/10.13.35 ID/D52BD4B7-7C38-46F0-9809-29B4A8559B8D; IsJailbroken/0 ASI/7E63E81E-1C81-4008-852D-F3C61E65B15F Mozilla/5.0 (iPhone; CPU iPhone OS 15_0_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 AliApp(ELMC/10.13.35) UT4Aplus/ltracker-0.2.30.33 WindVane/8.7.2 1170x2532 RenderWay/H5 AppName/elmc DeviceId/D52BD4B7-7C38-46F0-9809-29B4A8559B8D AppExtraInfo/%7B%22miniWua%22%3A%22iCQTz%2F4TG2mOKGfhdw2ns8uuYSoRR%2FiyMiAWCx22QpPW2TcyFcA4E3ti5zLq5tfwFw0BSkYdG%2FAfM5eqFcMHOr1Bq9Qin1YmWkMZLQ5fxARw%2FVf9LKVLCrH7AjL0S4XVqX9uSpRhOTmQZ1KMoS%2BswK90wZ%2FQ4okn0srOdIC9zUqyn1A%3D%3D%22%2C%22umidToken%22%3A%221%2BxL7wVLOlxQbTWEtA5PkfDuUakzLDl4%22%2C%22ttid%22%3A%22201200%40eleme_iphone_10.13.35%22%2C%22deviceUUID%22%3A%22D52BD4B7-7C38-46F0-9809-29B4A8559B8D%22%2C%22utdid%22%3A%22YcbbRiXPO%2FYDAAYvZ9bpLFjz%22%7D Rajax/1 Apple/iPhone14,2 iOS/15.0.2 Eleme/10.13.35 ID/D52BD4B7-7C38-46F0-9809-29B4A8559B8D; IsJailbroken/0 ASI/7E63E81E-1C81-4008-852D-F3C61E65B15F Mozilla/5.0 (iPhone; CPU iPhone OS 15_0_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 AliApp(ELMC/10.13.35) UT4Aplus/ltracker-0.2.30.33 WindVane/8.7.2 1170x2532 PHA/2.0.0 Winding(WV_22) WK (PHATemplate) SvipMtopReq/true" ); obj1.setDeviceInfo(obj2); obj1.setIgnoreRecvTaskAladdin( false ); obj1.setIsSelfSort( false ); List<AlibabaAlscGrowthInteractiveTaskQuerytaskRequest.LocationInfo> list4 = new ArrayList<AlibabaAlscGrowthInteractiveTaskQuerytaskRequest.LocationInfo>(); AlibabaAlscGrowthInteractiveTaskQuerytaskRequest.LocationInfo obj5 = new AlibabaAlscGrowthInteractiveTaskQuerytaskRequest.LocationInfo(); list4.add(obj5); obj5.setCity( "123" ); obj5.setDistrict( "345" ); obj5.setLat( "30.70498847961426" ); obj5.setLng( "111.3203811645508" ); obj5.setLocationType( "realTime" ); obj5.setPoiId( "poiId" ); obj5.setPoiName( "poiName" ); obj5.setProvince( "456" ); obj1.setLocationInfos(list4); obj1.setMissionCollectionId(69L); obj1.setMissionId(6850002L); obj1.setMissionIds( new Long[] { 6850002 }; ); obj1.setMissionXIds( "R0ZrY2ExWGk1UDRtRE0wZUxwYjdFVG9aZEhWT2RyakRSeFR5dU9EQVZHdXpBWVBCbnloV1R6UnBpbE16MW9IVw" ); obj1.setQueryReceivedFlag( false ); obj1.setRequestDataEnums( "REMIND" ); obj1.setShowRemind( false ); obj1.setShowSublistAlone( false ); AlibabaAlscGrowthInteractiveTaskQuerytaskRequest.UserInfo obj6 = new AlibabaAlscGrowthInteractiveTaskQuerytaskRequest.UserInfo(); obj6.setSite(25L); obj6.setUserId( "AAEz5d-EAAeGwJWdwSAbPRXo" ); obj1.setUserInfo(obj6); req.setMissionQuery(obj1); AlibabaAlscGrowthInteractiveTaskQuerytaskResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | < alibaba_alsc_growth_interactive_task_querytask_response > < result > < code >SUCCESS</ code > < data > < remind_info > < show >true</ show > </ remind_info > < m_list > < mission_d_t_o > < ext > < ext_value >{}</ ext_value > < ext_type >COMMON_EXT</ ext_type > </ ext > < mission_x_id >ZGVxZEptd0VoenV3cHlGNUF6cHUvOHoxRHBWaVV1cUR6dzNDcDlFczVjZz0</ mission_x_id > < mission_def_id >8454001</ mission_def_id > < receive_status >TORECEIVE</ receive_status > < next_stage_count >1</ next_stage_count > < sub_title >测试</ sub_title > < action_config > < action_type >ORDER</ action_type > < action_value >{}</ action_value > </ action_config > < mission_stage_d_t_o_s > < mission_stage_d_t_o > < stage_count >1</ stage_count > < rewards > < rewards > < ext >{}</ ext > < icon >https://img.alicdn.com/imgextra/i2/O1CN011eyHBc20aDmFKrhSS_!!6000000006865-2-tps-244-244.png</ icon > < name >吃货豆</ name > < type >CHD</ type > < value >1</ value > </ rewards > </ rewards > < reward_status >TODO</ reward_status > < source_action > < stage_count >1</ stage_count > < action_type >REWARD</ action_type > < action_subtype >REWARD_UPP</ action_subtype > < action_sub_sub_type >REWARD_SEND_AUTO</ action_sub_sub_type > < id >60500</ id > < action_param >{}</ action_param > < stage_sum >10</ stage_sum > </ source_action > < ext_info >1</ ext_info > < status >RUNNING</ status > < source_action_id >60500</ source_action_id > </ mission_stage_d_t_o > </ mission_stage_d_t_o_s > < show_title >品牌任务测试-1494(父)</ show_title > < name >品牌任务测试(父)</ name > < mission_collection_id >486</ mission_collection_id > < receive_type >RECEIVE</ receive_type > < cycle_config > < cycle_type >DAY</ cycle_type > < loop_task >0</ loop_task > < cycle_ext >2</ cycle_ext > </ cycle_config > < status >RUNNING</ status > < stage > < count >1</ count > < sum >10.00</ sum > </ stage > < pre_stage > < count >1</ count > < sum >10.00</ sum > </ pre_stage > < id >123</ id > </ mission_d_t_o > </ m_list > < collection_dto > < relation_configs > < relation_config_d_t_o > < father_id >8270002</ father_id > < mission_relation >父死子随</ mission_relation > < mission_relation_type >FATHER_CHILD</ mission_relation_type > < relation_name >父子关系</ relation_name > < sub_mission_receive_count >1</ sub_mission_receive_count > < sub_mission_show_count >1</ sub_mission_show_count > </ relation_config_d_t_o > </ relation_configs > </ collection_dto > </ data > < message >成功</ message > </ result > </ alibaba_alsc_growth_interactive_task_querytask_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|