接口名称
antchain.caasplatform.general.divide.delete
请求参数
名称 | 是否必选 | 类型 | 取值约束 | 示例值 | 描述 |
service_id | 是 | STRING | - | cme20230724104931af3a4d | 合约实例id |
id | 是 | STRING | - | ea596f28-4ece-406d-a9e1-86fa83cc505f | 分账方Id |
返回数据
名称 | 类型 | 示例值 | 描述 |
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 | {"code":"200","message":"Delete success"} | 合约接口返回结果 |
接口示例
// 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");
DeleteGeneralDivideRequest deleteGeneralDivideRequest = new DeleteGeneralDivideRequest()
.setServiceId("cme20230724104931af3a4d")
.setId("ea596f28-4ece-406d-a9e1-86fa83cc505f");
client.deleteGeneralDivide(deleteGeneralDivideRequest);
}
}
结果码
结果码 | 说明 | 解决方案 |
OK | 成功结果码 | - |
文档内容是否对您有帮助?