UD业务事件回传
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
event_service_request | EventServiceRequest | 可选 | 事件请求相关的信息 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
id | String | 1234567890 | traceid |
status | Number | 0 | 0为成功 |
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); AlibabaUdEventUploadRequest req = new AlibabaUdEventUploadRequest(); AlibabaUdEventUploadRequest.EventServiceRequest obj1 = new AlibabaUdEventUploadRequest.EventServiceRequest(); obj1.setPubRequestId( "0babd50600001273635da90c05e4fc54" ); obj1.setEventType(12L); obj1.setTbGmvTotalPrice( "123.0" ); obj1.setTbAuctionId(682757872889L); obj1.setTbEventTimestamp(1672221789L); obj1.setTbTradeParentId(1779808514810777486L); obj1.setTbSellerId(2208312033390L); obj1.setTbStatus(0L); obj1.setTbAlipayTotalPrice( "123.00" ); obj1.setTbTradeId(1779808514810777486L); obj1.setChannelId(105L); obj1.setTrackId( "trackid" ); req.setEventServiceRequest(obj1); AlibabaUdEventUploadResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 | < alibaba_ud_event_upload_response > < id >1234567890</ id > < status >0</ status > </ alibaba_ud_event_upload_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 > |
错误码 | 错误描述 | 解决方案 |
---|