查询历史资产
请求
GET https://custody-example-url/custody/v1/api/history-asset
参数
字段 |
类型 |
描述 |
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"
}
]
}
}