接口名称
antchain.caasplatform.general.divide.batchquery
请求参数
名称 | 是否必选 | 类型 | 取值约束 | 示例值 | 描述 |
service_id | 是 | STRING | - | cme20230724104931af3a4d | 合约实例id |
order_id | 是 | STRING | - | ea596f28-4ece-406d-a9e1-86fa83cc505f | 订单编号 |
返回数据
名称 | 类型 | 示例值 | 描述 |
req_msg_id | STRING | b20167e21a8d4cc2b5f1022d24f43815 | 请求唯一ID,用于链路跟踪和问题排查 |
result_code | STRING | OK | 结果码,一般OK表示调用成功 |
result_msg | STRING | Denied by check auth from IAM | 异常信息的文本描述 |
tx_hash | STRING | c73c751472a9f9fbceef29665101377ba7e170b649b83db33b4634d4484ac626 | 存证交易Hash |
block_number | LONG | 6220309 | 区块高度 |
code | LONG | 0 | 错误码 |
result | STRING | {"amount":"666856.320","payType":"银行汇款","payTime":"xx","createTime":"xx","orderId":"xxx","from":"张三","to":"李四","ruleId":"xxx","profitList":[{"proportion":"13.26","id":"xxx","profit":"88425.148"}],"status":"支付成功"} | 合约接口返回结果 |
接口示例
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.sample;
import com.aliyun.tea.*;
import com.antgroup.antchain.openapi.caasplatform.*;
import com.antgroup.antchain.openapi.caasplatform.models.*;
public class Client {
/**
* 使用AK&SK初始化账号Client
* @param accessKeyId
* @param accessKeySecret
* @return Client
* @throws Exception
*/
public static com.antgroup.antchain.openapi.caasplatform.Client createClient(String accessKeyId, String accessKeySecret) throws Exception {
Config config = new Config();
// 您的AccessKey ID
config.accessKeyId = accessKeyId;
// 您的AccessKey Secret
config.accessKeySecret = accessKeySecret;
return new com.antgroup.antchain.openapi.caasplatform.Client(config);
}
public static void main(String[] args_) throws Exception {
java.util.List<String> args = java.util.Arrays.asList(args_);
com.antgroup.antchain.openapi.caasplatform.Client client = Client.createClient("accessKeyId", "accessKeySecret");
BatchqueryGeneralDivideRequest batchqueryGeneralDivideRequest = new BatchqueryGeneralDivideRequest()
.setServiceId("cme20230724104931af3a4d")
.setOrderId("ea596f28-4ece-406d-a9e1-86fa83cc505f");
client.batchqueryGeneralDivide(batchqueryGeneralDivideRequest);
}
}
结果码
结果码 | 说明 | 解决方案 |
OK | 成功结果码 | - |
文档内容是否对您有帮助?