Skip to content

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.

The apikey goes in the route itself: https://api-prod.scoreplan.com.br/api/{apikey}/Indicators/List. Treat the apikey as a password.

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.
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:

  1. Replace the apikey with an integration user and login.
  2. Replace the route with the replacement from the table.
  3. Adjust the field names: the External API uses English names (for example, campo → fieldCode, tipoPeriodo → periodType, valor → value, excecao → exception).
  4. Listings become paginated: read totalRecords and listRecords.
  5. Writes are recorded under the integration user’s name.