开启闲鱼币交易抵扣
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
coin_deduction_open_request | CoinDeductionOpenRequest | 必须 | 闲鱼币抵扣开启请求 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
suc | Boolean | true | 是否成功 |
model | Boolean | true | 结果数据 |
msg_info | String | - | 错误信息 |
msg_code | String | - | 错误码 |
1 2 3 4 5 6 7 8 9 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaIdleCoinCoindeductionOpenRequest req = new AlibabaIdleCoinCoindeductionOpenRequest(); AlibabaIdleCoinCoindeductionOpenRequest.CoinDeductionOpenRequest obj1 = new AlibabaIdleCoinCoindeductionOpenRequest.CoinDeductionOpenRequest(); obj1.setChannel( "\"fishApp\"" ); obj1.setItemIdList( "" 12131 "" ); obj1.setDeductionRatio( "\"30\"" ); req.setCoinDeductionOpenRequest(obj1); AlibabaIdleCoinCoindeductionOpenResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 | < alibaba_idle_coin_coindeduction_open_response > < suc >true</ suc > < model >true</ model > < msg_info >-</ msg_info > < msg_code >-</ msg_code > </ alibaba_idle_coin_coindeduction_open_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 > |
错误码 | 错误描述 | 解决方案 |
---|