开放本地生活的权益发放给外部使用,常见场景如:凭证
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
req | DecisionSendTicketTopReq | 必须 | 请求参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | BaseResponse | 响应结果 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlscRightDecisionsendRequest req = new AlibabaAlscRightDecisionsendRequest(); AlibabaAlscRightDecisionsendRequest.DecisionSendTicketTopReq obj1 = new AlibabaAlscRightDecisionsendRequest.DecisionSendTicketTopReq(); obj1.setRightActList( "{ " actCode ": " xxx ", " rightId ": 123 },{ " actCode ": " yyy ", " rightId ": 456 }" ); obj1.setSceneCode( "mTawvU4GJV3fCwIW30QIiw ==" ); obj1.setActCodes( "" uxqbd0w1wZ/q8MKKBXDTSB0b3QEoleSUBuGGu5eW "," uxqbd0w1wZ/q8MKKBXDTSB0b3QEoleSUBuGGu5eW "" ); obj1.setRequestId( "uuid" ); obj1.setBizCode( "ISV-XXX" ); obj1.setAlipayId( "2088111111111111" ); req.setReq(obj1); AlibabaAlscRightDecisionsendResponse 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 | < alibaba_alsc_right_decisionsend_response > < result > < trace_id >0bba816316284896650043363e24dc</ trace_id > < result_obj > < right_ticket_list > < right_send_ticket_d_t_o > < right_name >xx电子凭证</ right_name > < out_biz_instance_id >43545234673489</ out_biz_instance_id > < right_instance_id >7000246010032578xx</ right_instance_id > </ right_send_ticket_d_t_o > </ right_ticket_list > < status >SUCCESS,FAIL,SENDING,NO_DECISION_ITEM</ status > </ result_obj > < can_retry >true</ can_retry > < success >true</ success > < result_code >无</ result_code > < result_msg >无</ result_msg > </ result > </ alibaba_alsc_right_decisionsend_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 > |
错误码 | 错误描述 | 解决方案 |
---|