阿里健康外投订单明细拉取
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
behavior_query_dto | BehaviorQueryDTO | 必须 | 请求入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 返回结果 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlihealthYtWtOrderDataPullRequest req = new AlibabaAlihealthYtWtOrderDataPullRequest(); AlibabaAlihealthYtWtOrderDataPullRequest.BehaviorQueryDTO obj1 = new AlibabaAlihealthYtWtOrderDataPullRequest.BehaviorQueryDTO(); obj1.setScrollId("Hoi0/XwuV6N3DbqMPbZLvA=="); obj1.setStartTime("2000-01-01 06:00:00.999"); obj1.setEndTime("2000-01-01 07:00:00.999"); obj1.setSellerId(123L); obj1.setAlgoOrderFlag(0L); req.setBehaviorQueryDto(obj1); AlibabaAlihealthYtWtOrderDataPullResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<alibaba_alihealth_yt_wt_order_data_pull_response> <result> <success>true</success> <model> <scroll_id>Hoi0/XwuV6N3DbqMPbZLvA==</scroll_id> <order_items> <order_item> <user_id>xxx</user_id> <main_order_id>111</main_order_id> <sub_order_id>111</sub_order_id> <auction_id>111</auction_id> <auction_name>商品名</auction_name> <pay_fee>100</pay_fee> <order_status>1</order_status> <is_ad_order>1</is_ad_order> <is_pass_back_order>1</is_pass_back_order> <user_action_time>2000-01-01 00:00:00</user_action_time> <order_trade_time>2000-01-01 00:00:00</order_trade_time> <order_refund_time>2000-01-01 00:00:00</order_refund_time> <refund_fee>100</refund_fee> <account_id>111</account_id> <account_name>账号名</account_name> <ad_id>111</ad_id> <ad_name>xxx</ad_name> <ad_creative_id>111</ad_creative_id> <date>2000-01-01 00:00:00</date> <mid1>0</mid1> <mid2>0</mid2> <mid3>0</mid3> <project_id>0</project_id> <promotion_id>0</promotion_id> <brand_id>0</brand_id> <brand_name>品牌</brand_name> <auction_price>100</auction_price> <buy_amount>1</buy_amount> <is_attr_by_others>0</is_attr_by_others> <cid>xxx</cid> <rid>xxx</rid> <order_create_time>2000-01-01 00:00:00</order_create_time> <source>1</source> <seller_id>32</seller_id> <is_algo_order>0</is_algo_order> <actual_fee>100</actual_fee> <step_trade_status>1</step_trade_status> <shop_name>xxx</shop_name> <attr_mode>1</attr_mode> <item_promotion_price>123</item_promotion_price> <gift_fee>100</gift_fee> <is_gift_order>1</is_gift_order> </order_item> </order_items> </model> <msg_info>null</msg_info> <msg_code>null</msg_code> </result> </alibaba_alihealth_yt_wt_order_data_pull_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|---|---|
isv.missing-date-parameter | 日期不能为空 | 根据文档提示填写日期参数 |
isv.invalid-date-parameter | 日期格式错误 | 根据文档提示填写正确的日期格式 |
isv.invalid-scrollid-parameter | scroll_id非法 | 请勿任意填写该参数 |
isv.system-busy | 系统繁忙 | 请联系技术支持 |
isv.service-unavailable | 服务不可用 | 请联系技术支持 |
isv.visit-busy | 访问频繁 | 降低访问频次 |