Skip to content

Indicators

To Endpoint
List indicators with their field values GET /Indicators/External/List
Record field values by period POST /IndicatorsValues/External/Insert
List the periods of a period type GET /PeriodTypes/External/ListPeriods
Create or update periods POST /PeriodTypes/External/InsertPeriods

Listing indicators, recording values and creating periods require an administrator user.

Terminal window
curl "https://api-prod.scoreplan.com.br/Indicators/External/List?year=2026&page=1&quantityPerPage=50" \
-H "Authorization: Bearer $TOKEN"

Without year, values cover the previous year through the next year. Each indicator includes its fields (fields), the values per period and the year-to-date total.

Terminal window
curl -X POST https://api-prod.scoreplan.com.br/IndicatorsValues/External/Insert \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{
"values": [
{"fieldCode": "FAT-BRUTO", "periodType": "MENSAL", "period": "2026-12", "value": 125000.50},
{"fieldCode": "FAT-LIQ", "periodType": "MENSAL", "period": "2026-12", "exception": "No measurement this month"}
]
}'
  • fieldCode, periodType and period are the codes registered in Scoreplan.
  • exception records a justification instead of the value.
  • Without cnpj, values go to the session’s company. With cnpj, the company must belong to the same group.
  • Each line is written separately. An error writing one line goes to the field’s integration log and does not undo the others; a nonexistent field, period type or period stops the request at that line (previous lines stay written).
Terminal window
curl "https://api-prod.scoreplan.com.br/PeriodTypes/External/ListPeriods?periodType=MENSAL&startDate=01/01/2026&endDate=31/12/2026" \
-H "Authorization: Bearer $TOKEN"

startDate and endDate are required, in dd/MM/yyyy or yyyy-MM-dd. The response is paginated (page and quantityPerPage, up to 100 per page), with totalRecords and listRecords.