您可以使用 GetAccountByID 获取有关具有给定帐户 ID 的帐户的详细信息。
此方法具有以下输入参数:
名称 | 说明 | 类型 | 默认值 | 必需 |
---|---|---|---|---|
accountID | 指定收集其详细信息的帐户。 | 整型 | 无 | 是 |
此方法的请求类似于以下示例:
{ "method": "GetAccountByID", "params": { "accountID" : 3 }, "id" : 1 }
此方法返回类似于以下示例的响应:
{ "id" : 1, "result" : { "account" : { "accountID" : 3, "attributes" : {}, "initiatorSecret" : "initiatorsecret", "status" : "active", "targetSecret" : "initiatorsecret", "username" : "account3", "volumes" : [ 14, 15, 16 ] } } }
9.6