感谢您的反馈!
查询代理商导入的库存数据
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_agent_import_store_query_request | AgentImportStoreQueryRequest | 可选 | 请求参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | DataResult | 返回对象封装 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaGscDmsAgentImportdataStoreGetRequest req = new AlibabaGscDmsAgentImportdataStoreGetRequest(); AlibabaGscDmsAgentImportdataStoreGetRequest.AgentImportStoreQueryRequest obj1 = new AlibabaGscDmsAgentImportdataStoreGetRequest.AgentImportStoreQueryRequest(); obj1.setAgentItemName("CCL"); obj1.setCategory("TIANMAOJINGLINGCHENGPIN"); obj1.setCustomerCode("beiyuetest"); obj1.setGmtEndTime(StringUtils.parseDateTime("2020-03-01 00:00:00")); obj1.setGmtStartTime(StringUtils.parseDateTime("2021-03-01 00:00:00")); obj1.setImportSource("SYS_AUTO"); obj1.setImportStatusList("00_IMPORT_ERR"); obj1.setImportType("ORDER_WITH_SN"); obj1.setItemProduct4Id("12"); obj1.setOperator("79456"); obj1.setOutCustomerCode("beiyuetest_out"); obj1.setPageNo(1L); obj1.setPageSize(10L); obj1.setRelateOrderId("1234567ytre323"); obj1.setRequestId("1234567ytre323"); obj1.setSn("12345rerfdwq"); obj1.setStatusList("SALE_OUT"); obj1.setTaskId(12L); obj1.setTenant("ailab"); obj1.setWarehouse("测试仓库"); req.setParamAgentImportStoreQueryRequest(obj1); AlibabaGscDmsAgentImportdataStoreGetResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<alibaba_gsc_dms_agent_importdata_store_get_response> <result> <code>foo</code> <data> <import_type>ORDER_WITH_SN</import_type> <store_with_sn_d_t_o_list> <agent_import_store_with_sn_dto> <agent_item_code></agent_item_code> <agent_item_name></agent_item_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_product4_id></item_product4_id> <item_product4_name></item_product4_name> <item_product6_id></item_product6_id> <item_product6_name></item_product6_name> <relate_gmt_create></relate_gmt_create> <relate_order_id></relate_order_id> <sn></sn> <status></status> <task_id></task_id> <warehouse></warehouse> <mac></mac> <ctei></ctei> </agent_import_store_with_sn_dto> </store_with_sn_d_t_o_list> <store_without_sn_d_t_o_list> <agent_import_store_without_sn_dto> <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_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> <relate_gmt_create></relate_gmt_create> <status></status> <task_id></task_id> <warehouse></warehouse> </agent_import_store_without_sn_dto> </store_without_sn_d_t_o_list> <store_with_sn_total></store_with_sn_total> <store_without_sn_total></store_without_sn_total> </data> <msg>foo</msg> <success>false</success> <total>100</total> <trace_id>1234567uytr</trace_id> </result> </alibaba_gsc_dms_agent_importdata_store_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>
错误码 | 错误描述 | 解决方案 |
---|