Get Total Asset History Notional Value
Request
GET https://custody-example-url/custody/v1/api/history-asset
[!NOTE|style:flat] If
b_id
is not provided, the API will check whether the user has View Only - Company permissions. Users with access only to specific business lines will not receive any data unless they also hold View Only - Company rights.To grant this permission, an administrator can navigate to User Configuration and enable the View Only - Company checkbox.
Parameters
Field | Type | Description |
---|---|---|
b_idOptional |
String | Business line ID(Query all asset by default) |
Response
Field | Type | Description |
---|---|---|
code | Integer | Response code |
message | String | Response message |
successful | Boolean | If the request is successful |
data | Object | Asset object list |
history_asset_result | Object[] | History asset |
create_time | Long | Create time |
market_value | Decimal | Total market value (USD) |
market_value_cny | Decimal | Total market value (CNY) |
Response Example
{
"code": 0,
"message": "",
"successful": null,
"data": {
"history_asset_result": [
{
"create_time": "1579163340000",
"market_value": "100.00",
"market_value_cny": "697.26"
}
]
}
}