curl --request PUT \
--url https://app.herondata.io/api/users/current/settings \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"balance_sheet_categories": {
"current_assets": {},
"current_liabilities": {},
"equity": {},
"fixed_assets": {},
"non_current_liabilities": {},
"other_assets": {}
},
"disable_data_export": true,
"financials_metrics": {},
"industry_naics_enabled": true,
"low_balance_days_threshold": 123,
"pnl_categories": {
"cogs": {},
"income": {},
"operating_expenses": {},
"other_expenses": {},
"other_income": {}
},
"query_reports": [
{
"tab_group": "<string>",
"tabs": [
{
"tab_name": "<string>",
"widgets": [
{
"query_name": "<string>",
"title": "<string>",
"description": "<string>"
}
]
}
]
}
],
"required_revenue_per_month": 123,
"restricted_industries": [
{
"description": "<string>",
"name": "<string>"
}
],
"use_new_company_layout": true,
"use_new_end_user_summary_table": true,
"use_new_end_user_table": true
}
'curl --request PUT \
--url https://app.herondata.io/api/users/current/settings \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"balance_sheet_categories": {
"current_assets": {},
"current_liabilities": {},
"equity": {},
"fixed_assets": {},
"non_current_liabilities": {},
"other_assets": {}
},
"disable_data_export": true,
"financials_metrics": {},
"industry_naics_enabled": true,
"low_balance_days_threshold": 123,
"pnl_categories": {
"cogs": {},
"income": {},
"operating_expenses": {},
"other_expenses": {},
"other_income": {}
},
"query_reports": [
{
"tab_group": "<string>",
"tabs": [
{
"tab_name": "<string>",
"widgets": [
{
"query_name": "<string>",
"title": "<string>",
"description": "<string>"
}
]
}
]
}
],
"required_revenue_per_month": 123,
"restricted_industries": [
{
"description": "<string>",
"name": "<string>"
}
],
"use_new_company_layout": true,
"use_new_end_user_summary_table": true,
"use_new_end_user_table": true
}
'The new settings
Show child attributes
Show child attributes
Show child attributes
The context to be used in the query
A list of date ranges to be used in the query
The group to be used in the query
The unit to be used in the query
The expression to be used in the query
Show child attributes
The type of formula to be used
Show child attributes
The metric to be used
The date range to be used in the query. It will override the date range specified in the metric spec
A list of filters to be applied before computing the metric
Show child attributes
Show child attributes
The metric to be used
The date range to be used in the query. It will override the date range specified in the metric spec
A filter to be applied before computing the metric
Show child attributes
The dimension to be used
The dimension value to be used
The operator to be used in the filter
A list of filters to be applied before computing the metric
Show child attributes
The dimension to be used
The dimension value to be used
The operator to be used in the filter
The value to be used if the metric is not available
Show child attributes
Show child attributes
OK
Was this page helpful?