星爸爸明星周边销量信息同步接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
star_sales_info_list | StarSalesInfoDTO | 可选 | 明星周边销量信息数据集合 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | ActionResult | 接口同步结果返回 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaPurMediaStarSalesinfoRequest req = new AlibabaPurMediaStarSalesinfoRequest(); AlibabaPurMediaStarSalesinfoRequest.StarSalesInfoDTO obj1 = new AlibabaPurMediaStarSalesinfoRequest.StarSalesInfoDTO(); obj1.setPeripheralSales( "{ \"type\":\"推荐\", \"peripheral_sales\":\"10000\" }" ); obj1.setPlatform( "wb" ); obj1.setSource( "yhzx" ); obj1.setStarId( "128068" ); obj1.setStarName( "易烊千玺" ); obj1.setExtendInfo( "扩展字段" ); req.setStarSalesInfoList(obj1); AlibabaPurMediaStarSalesinfoResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 | < alibaba_pur_media_star_salesinfo_response > < result > < error_code >true</ error_code > < error_msg >数据不能为空</ error_msg > < success >1</ success > </ result > </ alibaba_pur_media_star_salesinfo_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 > |
错误码 | 错误描述 | 解决方案 |
---|