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.
List indicators
Section titled “List indicators”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.
Record values
Section titled “Record values”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,periodTypeandperiodare the codes registered in Scoreplan.exceptionrecords a justification instead of the value.- Without
cnpj, values go to the session’s company. Withcnpj, 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).
Periods
Section titled “Periods”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.