UD商品查询
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
dpa_item_top_query_dto | DpaItemTopQueryDTO | 必须 | 查询参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | DpaProductTopDTO [] | 1 | 商品信息 |
|
|||
total | Number | 1 | 总条数 |
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); UnideskRtaAssetsDpaProductGetRequest req = new UnideskRtaAssetsDpaProductGetRequest(); UnideskRtaAssetsDpaProductGetRequest.DpaItemTopQueryDTO obj1 = new UnideskRtaAssetsDpaProductGetRequest.DpaItemTopQueryDTO(); obj1.setAdvertiserId(1L); obj1.setKeyword( "1" ); req.setDpaItemTopQueryDto(obj1); UnideskRtaAssetsDpaProductGetResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 | < unidesk_rta_assets_dpa_product_get_response > < result > < dpa_product_top_d_t_o > < item_id >1</ item_id > < name >名称</ name > < status >1</ status > </ dpa_product_top_d_t_o > </ result > < total >1</ total > </ unidesk_rta_assets_dpa_product_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|