The Asset Classes Local (AssetClassesLocal) Data Block cannot be edited. The following details are informational only.
The AssetClasses (AssetClasses) Data Block retrieves all data from the AssetClasses table without applying any filters. It fetches all columns and rows from the table and returns the results in a structured format. This Data Block cannot be edited.
General Info #
The following table shows the default fields of the Data Block.
Field | Value |
---|---|
Name | AssetClassesLocal |
Block Category | Interface |
Block Type | Local Database |
Data Category | None |
Output Type | Data Table |
Editable | False |
Dependencies #
None
Columns #
None
Example Definition #
{
"type": "table",
"sql": "SELECT * FROM AssetClasses",
"parameters": []
}
Example Request #
The following code shows an example request using the default values of the Data Block.
{}
Example Response #
The following code shows an example response using the default values of the Data Block. The default data source is the Assette Snowflake Demo Instance. The response may be shortened for brevity.
{
"data": [
{
"ID": 49,
"Code": "c",
"Name": "c",
"UnitsMultiplier": null,
"ParentID": null,
"BatchID": null
},
{
"ID": 50,
"Code": "Cash",
"Name": "Cash",
"UnitsMultiplier": null,
"ParentID": null,
"BatchID": null
},
{
"ID": 51,
"Code": "Equity",
"Name": "Equity",
"UnitsMultiplier": null,
"ParentID": null,
"BatchID": null
},
{
"ID": 52,
"Code": "portfolio",
"Name": "Total Portfolio",
"UnitsMultiplier": null,
"ParentID": null,
"BatchID": null
}
],
"errors": [],
"success": true,
"logs": []
}