天猫精灵内容生态的权益查询
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param0 | PurchaseForOuterDTO | 必须 | 入参对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
ret_value | PurchaseSendPlanDTO [] | {} | 出参对象 |
|
|||
ret_code | Number | 1 | 错误码 |
ret_msg | String | 系统错误 | 错误信息 |
1 2 3 4 5 6 7 8 9 10 11 12 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAiContentBusinessSendPlanQueryRequest req = new AlibabaAiContentBusinessSendPlanQueryRequest(); AlibabaAiContentBusinessSendPlanQueryRequest.PurchaseForOuterDTO obj1 = new AlibabaAiContentBusinessSendPlanQueryRequest.PurchaseForOuterDTO(); obj1.setIsvUserInfoMap( "{}" ); AlibabaAiContentBusinessSendPlanQueryRequest.PurchaseCircleInfoForOuterDTO obj2 = new AlibabaAiContentBusinessSendPlanQueryRequest.PurchaseCircleInfoForOuterDTO(); obj2.setCircleContent( "ass" ); obj2.setCircleId(1L); obj1.setCircleInfo(obj2); obj1.setIsvId(1L); req.setParam0(obj1); AlibabaAiContentBusinessSendPlanQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | < alibaba_ai_content_business_send_plan_query_response > < ret_value > < purchase_send_plan_d_t_o > < name >月卡</ name > < start_time >2021-09-03 00:00:00</ start_time > < end_time >2021-09-05 00:00:00</ end_time > < receive_rule >{"countLimit":1}</ receive_rule > < purchase_item_info >[{"consumeInventory":1,"id":1,"itemConsumeInventory":8,"itemTotalInventory":10,"name":"爱奇艺月卡","weight":2},{"id":2,"name":"优酷月卡","weight":3}]</ purchase_item_info > < id >1</ id > </ purchase_send_plan_d_t_o > </ ret_value > < ret_code >1</ ret_code > < ret_msg >系统错误</ ret_msg > </ alibaba_ai_content_business_send_plan_query_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 > |
错误码 | 错误描述 | 解决方案 |
---|