Goals List GET
URL: https://api.painelalter.com/api/meta/listFromPeriod
Request used to fetch a list of goals. Given a period, it returns all goals fully contained within that period.
Query Parameters
| Parameter | Description |
|---|---|
| dateBegin | Start of the period. Format "YYYY-MM-DD" |
| dateEnd | End of the period. Format "YYYY-MM-DD" |
| stores_id [OPTIONAL] | Store IDs at AlterVision software. Format: Array< number > |
Response Example
json
{
"goals": [
{
"id": 1,
"title": "June Goal",
"dateBegin": "2026-06-01",
"dateEnd": "2026-06-30",
"stores_id": [12]
},
{
"id": 2,
"title": "Goal for the First Week of June",
"dateBegin": "2026-06-01",
"dateEnd": "2026-06-07",
"stores_id": [12]
}
]
}
