查询营销方案
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
activity_id | String | 可选 | 123 | 活动id | |
activity_status | String | 可选 | ENABLED | 活动状态 | |
activity_type_id | Number | 可选 | 1 | 活动类型 | |
brand_id | String | 可选 | 123 | 品牌id(brandId和outerBrandId必传其一) | |
operator_id | String | 可选 | 123 | 操作人id | |
operator_name | String | 可选 | name | 操作人姓名 | |
out_brand_id | String | 可选 | 123 | 外部品牌id | |
out_shop_id | String | 可选 | 123 | 外部门店id | |
request_id | String | 可选 | 12323123 | 请求幂等id | |
shop_id | String | 可选 | 123 | 门店id |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | CommonResult | Object | 接口结果 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlscCrmMarketingActivitySearchRequest req = new AlibabaAlscCrmMarketingActivitySearchRequest(); req.setActivityId( "123" ); req.setActivityStatus( "ENABLED" ); req.setActivityTypeId(1L); req.setBrandId( "123" ); req.setOperatorId( "123" ); req.setOperatorName( "name" ); req.setOutBrandId( "123" ); req.setOutShopId( "123" ); req.setRequestId( "12323123" ); req.setShopId( "123" ); AlibabaAlscCrmMarketingActivitySearchResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | < alibaba_alsc_crm_marketing_activity_search_response > < result > < biz_success >true</ biz_success > < result > < activity_infos > < activity_info > < activity_customer >无</ activity_customer > < activity_desc >无</ activity_desc > < activity_id >123</ activity_id > < activity_name >活动</ activity_name > < activity_rule >[{"voucher":[{"voucherId":"12345","voucherNum":"1"}], "gmtStart":"2018-07-09 00:00:00","gmtEnd":"2018-07-09 00:00:00",shop:"123,456","isDaily":"Y"}]</ activity_rule > < activity_shops > < string >123</ string > < string >456</ string > </ activity_shops > < activity_type_id >1</ activity_type_id > < brand_id >1</ brand_id > < gmt_end >2018-07-09 00:00:00</ gmt_end > < gmt_start >2018-07-09 00:00:00</ gmt_start > < out_biz_id >1</ out_biz_id > < source_channel >1</ source_channel > < status >ENABLED</ status > </ activity_info > </ activity_infos > </ result > < result_code >1</ result_code > < result_desc >成功</ result_desc > < result_view >成功</ result_view > </ result > </ alibaba_alsc_crm_marketing_activity_search_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 > |
错误码 | 错误描述 | 解决方案 |
---|