Legacy API (apikey)
Legacy API responses include the Deprecation and Link headers pointing to this page. The endpoints are in the Legacy reference, each marked as deprecated, and the separate specification is at /openapi-legacy.json.
Authentication
Section titled “Authentication”The apikey goes in the route itself: https://api-prod.scoreplan.com.br/api/{apikey}/Indicators/List. Treat the apikey as a password.
Routes
Section titled “Routes”Each endpoint responds on four routes. The reference shows only the first.
| Route | Response |
|---|---|
/api/{apikey}/<Inglês> (e.g. Indicators/List) |
The object directly. |
/api/{apikey}/<Português> (e.g. Indicadores/Listar) |
The object directly. |
/api/1.0/{apikey}/<Inglês> and /api/1.0/{apikey}/<Português> |
The object inside the old envelope, with an error indicator. |
Equivalence and migration
Section titled “Equivalence and migration”| Legacy | Replacement in the External API |
|---|---|
GET Actions/List (Acoes/Listar) |
GET /Actions/External/List |
POST Actions/ChangeProgress (Acoes/AlterarAndamento) |
POST /Actions/External/InsertChangeProgress |
POST Actions/InsertMonthlyData (Acoes/InserirValorMensal) |
PUT /Actions/External/UpdateValues |
POST Actions/ChangeValues (Acoes/AlterarValores) |
PUT /Actions/External/UpdateValues |
GET Indicators/List (Indicadores/Listar) |
GET /Indicators/External/List |
POST IndicatorsValues/Insert (ValoresIndicadores/Inserir) |
POST /IndicatorsValues/External/Insert |
GET PeriodTypes/ListPeriods (TiposPeriodo/ListarPeriodos) |
GET /PeriodTypes/External/ListPeriods |
GET PeriodTypes/InsertPeriods (TiposPeriodo/InserirPeriodos) |
POST /PeriodTypes/External/InsertPeriods |
To migrate:
- Replace the apikey with an integration user and login.
- Replace the route with the replacement from the table.
- Adjust the field names: the External API uses English names (for example,
campo→fieldCode,tipoPeriodo→periodType,valor→value,excecao→exception). - Listings become paginated: read
totalRecordsandlistRecords. - Writes are recorded under the integration user’s name.