天猫服务平台服务商代商家发起投诉单
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
workcard_id | Number | 必须 | 1111111 | 工单ID | |
question_code | String | 必须 | 071 | 问题code | |
remark | String | 必须 | 投诉描述 | 投诉描述 | |
public_opinion | Number | 可选 | 0 | 是否有消费者投诉风险0:无;1:有 | |
images | String | 可选 | 投诉图片url | 投诉图片url | |
complain_count | Number | 可选 | 1 | 投诉份数 | |
apply_compensation_amount | Number | 可选 | 100 | 申请赔付金额 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | result | |
|
1 2 3 4 5 6 7 8 9 10 11 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); TmallServicecenterAnomalyrecourseHomedecorationCreateRequest req = new TmallServicecenterAnomalyrecourseHomedecorationCreateRequest(); req.setWorkcardId(1111111L); req.setQuestionCode( "071" ); req.setRemark( "投诉描述" ); req.setPublicOpinion(0L); req.setImages( "投诉图片url" ); req.setComplainCount(1L); req.setApplyCompensationAmount(100L); TmallServicecenterAnomalyrecourseHomedecorationCreateResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < tmall_servicecenter_anomalyrecourse_homedecoration_create_response > < result > < success >true</ success > < error_msg >no permission</ error_msg > < error_code >1</ error_code > < value >11111</ value > </ result > </ tmall_servicecenter_anomalyrecourse_homedecoration_create_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 > |
错误码 | 错误描述 | 解决方案 |
---|