查询历史资产

请求

GET https://custody-example-url/custody/v1/api/history-asset

[!NOTE|style:flat] 如果未提供 b_id,API 将检查用户是否具有 公司级查询员 权限。如果用户仅拥有特定业务线的查看权限,但没有 公司级查询员 权限,则不会返回任何数据。

要授予此权限,管理员可前往 用户配置,勾选 公司级查询员 复选框。

参数

字段 类型 描述
b_id可选 String 业务线id,如果不传表示查询公司历史资产

响应

字段 类型 描述
code Integer 响应状态码
message String 响应信息
successful Boolean 请求是否成功
data Object 历史资产
history_asset_result Object[] 历史资产列表
create_time Long 记录时间
market_value Decimal 市值(USD)
market_value_cny Decimal 市值(人民币)

响应示例

{
    "code": 0,
    "message": "",
    "successful": null,
    "data": {
      "history_asset_result": [
        {
          "create_time": "1579163340000",
          "market_value": "100.00",
          "market_value_cny": "697.26"
        }
      ]
    }
}
Copyright © 2025 Cactus Custody all right reserved,powered by GitbookUpdated: 11-Sep-2025 10:57:01

results matching ""

    No results matching ""

    results matching ""

      No results matching ""