感谢您的反馈!
查询代理商导入的销售订单数据
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_agent_import_order_query_request | AgentImportOrderQueryRequest | 可选 | 请求参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | DataResult | 返回对象封装 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaGscDmsAgentImportdataSaleorderGetRequest req = new AlibabaGscDmsAgentImportdataSaleorderGetRequest(); AlibabaGscDmsAgentImportdataSaleorderGetRequest.AgentImportOrderQueryRequest obj1 = new AlibabaGscDmsAgentImportdataSaleorderGetRequest.AgentImportOrderQueryRequest(); obj1.setAddressCity("杭州市"); obj1.setAddressProvince("浙江省"); obj1.setAgentGmtEndTime(StringUtils.parseDateTime("2020-03-20 00:00:00")); obj1.setAgentGmtStartTime(StringUtils.parseDateTime("2021-03-20 00:00:00")); obj1.setAgentOrderId("123456"); obj1.setCategory("TIANMAOJINGLINGCHENGPIN"); obj1.setCustomerCode("BP000929"); obj1.setGmtEndTime(StringUtils.parseDateTime("2020-03-20 00:00:00")); obj1.setGmtStartTime(StringUtils.parseDateTime("2021-03-20 00:00:00")); obj1.setImportSource("SYS_AUTO"); obj1.setImportStatusList("00_IMPORT_ERR,01_WAIT_CONFIRM"); obj1.setImportType("ORDER_WITH_SN"); obj1.setItemProduct4Id("12"); obj1.setOperator("79456"); obj1.setOutCustomerCode("BP000929"); obj1.setPageNo(1L); obj1.setPageSize(10L); obj1.setRequestId("1234567ytrew"); obj1.setSn("1234567uhjgfdw34"); obj1.setStatusList("WAIT_DELIVER,DELIVER_SU"); obj1.setTaskId(12L); obj1.setTenant("ailab"); req.setParamAgentImportOrderQueryRequest(obj1); AlibabaGscDmsAgentImportdataSaleorderGetResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<alibaba_gsc_dms_agent_importdata_saleorder_get_response> <result> <code>foo</code> <data> <import_type>ORDER_WITH_SN</import_type> <order_with_sn_d_t_o_list> <agent_import_order_with_sn_dto> <address_city></address_city> <address_detail></address_detail> <address_province></address_province> <address_town></address_town> <agent_gmt_create></agent_gmt_create> <agent_item_code></agent_item_code> <agent_item_name></agent_item_name> <agent_order_id></agent_order_id> <buyer_code></buyer_code> <buyer_name></buyer_name> <customer_code></customer_code> <customer_name></customer_name> <gmt_create></gmt_create> <gmt_modified></gmt_modified> <id></id> <import_err_msg></import_err_msg> <import_source></import_source> <import_status></import_status> <item_amount> <cent></cent> <currency_code></currency_code> </item_amount> <item_price> <cent></cent> <currency_code></currency_code> </item_price> <item_product4_id></item_product4_id> <item_product4_name></item_product4_name> <item_product6_id></item_product6_id> <item_product6_name></item_product6_name> <sn></sn> <status></status> <task_id></task_id> <mac></mac> <ctei></ctei> </agent_import_order_with_sn_dto> </order_with_sn_d_t_o_list> <order_without_sn_d_t_o_list> <agent_import_order_without_sn_dto> <address_city></address_city> <address_detail></address_detail> <address_province></address_province> <address_town></address_town> <agent_gmt_create></agent_gmt_create> <agent_item_code></agent_item_code> <agent_item_name></agent_item_name> <agent_order_id></agent_order_id> <buyer_code></buyer_code> <buyer_name></buyer_name> <customer_code></customer_code> <customer_name></customer_name> <gmt_create></gmt_create> <gmt_modified></gmt_modified> <id></id> <import_err_msg></import_err_msg> <import_source></import_source> <import_status></import_status> <item_amount> <cent></cent> <currency_code></currency_code> </item_amount> <item_price> <cent></cent> <currency_code></currency_code> </item_price> <item_product4_id></item_product4_id> <item_product4_name></item_product4_name> <item_product6_id></item_product6_id> <item_product6_name></item_product6_name> <item_quantity></item_quantity> <status></status> <task_id></task_id> </agent_import_order_without_sn_dto> </order_without_sn_d_t_o_list> <order_with_sn_total>0</order_with_sn_total> <order_without_sn_total>0</order_without_sn_total> </data> <msg>foo</msg> <success>false</success> <total>100</total> <trace_id>1·23456ytr</trace_id> </result> </alibaba_gsc_dms_agent_importdata_saleorder_get_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|