向卖家发送千牛消息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_qianniu_message | QianniuMessage | 可选 | paramQianniuMessage | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | AliSceneResult | result | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlipayBaoxianSendQianniuMessageRequest req = new AlipayBaoxianSendQianniuMessageRequest(); AlipayBaoxianSendQianniuMessageRequest.QianniuMessage obj1 = new AlipayBaoxianSendQianniuMessageRequest.QianniuMessage(); obj1.setBizData( "{}" ); obj1.setBizId(3232324343L); obj1.setBroadcast( false ); obj1.setContentParam( "{}" ); obj1.setMobileBizData( "{}" ); obj1.setSubUserId(32323L); obj1.setTemplateId(1000149L); obj1.setTemplateKey( "342C034FE5FD45D7C6C2B49E8AB64283" ); obj1.setTitleParam( "{}" ); obj1.setUserId(3712855366L); req.setParamQianniuMessage(obj1); AlipayBaoxianSendQianniuMessageResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < alipay_baoxian_send_qianniu_message_response > < result > < error_code ></ error_code > < error_msg ></ error_msg > < model ></ model > < success ></ success > </ result > </ alipay_baoxian_send_qianniu_message_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 > |
错误码 | 错误描述 | 解决方案 |
---|