curl --request GET \
--url https://app.azalt.co/api/v1/widgets[
{
"id": "<string>",
"dashboardId": "<string>",
"reportSectionId": "<string>",
"relatedModelType": "<string>",
"relatedModelId": "<string>",
"name": "<string>",
"type": "line_chart",
"indicatorId": "<string>",
"indicatorName": "<string>",
"indicatorLabel": "<string>",
"x": 123,
"y": 123,
"w": 123,
"h": 123,
"settings": {},
"filter": {
"siteIds": [
"<string>"
],
"startYear": 123,
"endYear": 123,
"startDate": "<string>",
"endDate": "<string>",
"statuses": [
"COMPLETED"
]
}
}
]Return widget configurations by providing either dashboardId or reportSectionId as query parameters.
curl --request GET \
--url https://app.azalt.co/api/v1/widgets[
{
"id": "<string>",
"dashboardId": "<string>",
"reportSectionId": "<string>",
"relatedModelType": "<string>",
"relatedModelId": "<string>",
"name": "<string>",
"type": "line_chart",
"indicatorId": "<string>",
"indicatorName": "<string>",
"indicatorLabel": "<string>",
"x": 123,
"y": 123,
"w": 123,
"h": 123,
"settings": {},
"filter": {
"siteIds": [
"<string>"
],
"startYear": 123,
"endYear": 123,
"startDate": "<string>",
"endDate": "<string>",
"statuses": [
"COMPLETED"
]
}
}
]Successful response
line_chart, bar_chart, pie_chart, value, table, periodic_values, text Show child attributes
Show child attributes