银泰权益发放
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
coupon_send_req | CouponSendReq | 可选 | 请求 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | CouponSendResult | 返回结果 | |
|
|||
is_success | Boolean | true | 是否成功 |
biz_err_code | String | 100001 | 错误码 |
biz_err_message | String | 无效AppKey | 错误信息 |
1 2 3 4 5 6 7 8 9 10 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaMosCarnivalOpenRightsSendRequest req = new AlibabaMosCarnivalOpenRightsSendRequest(); AlibabaMosCarnivalOpenRightsSendRequest.CouponSendReq obj1 = new AlibabaMosCarnivalOpenRightsSendRequest.CouponSendReq(); obj1.setIdempotent( "TEST_2022120100004135" ); obj1.setSnapshotId(1006001532L); obj1.setEncryptPhone( "HIGAD+)_" ); obj1.setCount(1L); req.setCouponSendReq(obj1); AlibabaMosCarnivalOpenRightsSendResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 | < alibaba_mos_carnival_open_rights_send_response > < data > < coupons > < open_coupon_dto > < code >80576328653281357987563</ code > </ open_coupon_dto > </ coupons > </ data > < is_success >true</ is_success > < biz_err_code >100001</ biz_err_code > < biz_err_message >无效AppKey</ biz_err_message > </ alibaba_mos_carnival_open_rights_send_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 > |
错误码 | 错误描述 | 解决方案 |
---|