指定用户排名发奖接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
rank_reward_request | RankRewardRequest | 必须 | 指定排名用户发奖 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
biz_error_msg | String | SUCCESS | 错误信息 |
trace_id | String | 2136014817363904785403457e5504 | traceId |
can_retry | Boolean | false | 是否可重试 |
biz_error_code | String | SUCCESS | 错误码 |
data | SnsRewardRankUserDTO | 返回数据 | |
|
|||
biz_success | Boolean | true | 调用是否成功 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlscGrowthInteractiveSnsRankRewardRequest req = new AlibabaAlscGrowthInteractiveSnsRankRewardRequest(); AlibabaAlscGrowthInteractiveSnsRankRewardRequest.RankRewardRequest obj1 = new AlibabaAlscGrowthInteractiveSnsRankRewardRequest.RankRewardRequest(); obj1.setBizScene("DDZ_EVEVRYONE"); obj1.setActId("20250108141313456102090632"); obj1.setCopyId("20250108150940360326277625"); obj1.setRankNo(1L); obj1.setRequestId("124324323"); obj1.setOpenId("AAFh0z9sAOAaPm8T4L3O22tX"); obj1.setRankBizId("20250107_1"); req.setRankRewardRequest(obj1); AlibabaAlscGrowthInteractiveSnsRankRewardResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<alibaba_alsc_growth_interactive_sns_rank_reward_response> <biz_error_msg>SUCCESS</biz_error_msg> <trace_id>2136014817363904785403457e5504</trace_id> <can_retry>false</can_retry> <biz_error_code>SUCCESS</biz_error_code> <data> <send_right_infos> <send_right_infos> <valid_time_value>""</valid_time_value> <valid_type>""</valid_type> <out_biz_instance_id>""</out_biz_instance_id> <out_template_id>462</out_template_id> <act_code>e34byhsqilzkn20j</act_code> <right_name>""</right_name> <discount_info> <fixed_price_yuan>""</fixed_price_yuan> <amount>1</amount> <benefit_type>VIRTUAL_INTEGRAL</benefit_type> <reduction_yuan>0.01</reduction_yuan> <threshold_yuan>""</threshold_yuan> <threshold>""</threshold> <reduction>1</reduction> <fixed_price>""</fixed_price> </discount_info> <oright_send_record_info> <record_id>2</record_id> <template_provider_id>2</template_provider_id> <template_id>2</template_id> <out_benefit_id>""</out_benefit_id> <status>""</status> <result_code>""</result_code> <result_msg>""</result_msg> <operate_type>""</operate_type> <product_code>""</product_code> <out_template_id>""</out_template_id> <prize_id>""</prize_id> <template_name>""</template_name> <gmt_create>""</gmt_create> </oright_send_record_info> <material_info> <title>""</title> <description>""</description> <pic>""</pic> <button_text>""</button_text> <jump_url>""</jump_url> <alipay_resource_id>""</alipay_resource_id> </material_info> <scene_code>4CA660AU9Q5</scene_code> <right_instance_id_str>2501094269844133575</right_instance_id_str> <right_id>2403062009314568586</right_id> <sub_type>INTEGRAL_PROPERTY</sub_type> <user_limit_info> <venue_id>""</venue_id> </user_limit_info> <start_time>""</start_time> <end_time>""</end_time> <valid_time_unit>""</valid_time_unit> </send_right_infos> </send_right_infos> <has_prize>true</has_prize> </data> <biz_success>true</biz_success> </alibaba_alsc_growth_interactive_sns_rank_reward_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|