Project KPIs
Description
Service for green percentage KPIs on projects
URL
The URL of the production service is available at [https://api.nalandaglobal.com/kpisacciona/consultarKpiCentro.action]
Operations
ConsultarKpiCentro
Request:
https://api.nalandaglobal.com/kpisacciona/consultarKpiCentro.action?codigoInternoObra=OBR-001&tipoKPI=EMPRESAS_ACTIVAS_CENTRO&fecha=2023-02-22
Request parameters: codigoInternoObra: Internal code of the project used in Nalanda from which the data is requested. tipoKPI: Type of KPI to be obtained. Possible values are:
- ACCESO_EMPLEADOS_CENTRO
- ACCESO_MAQUINARIA_CENTRO
- EMPRESAS_ACTIVAS_CENTRO
- TRABAJADORES_ACTIVOS_CENTRO
- MAQUINARIAS_ACTIVAS_CENTRO
fecha: Date from which the KPI data is to be obtained. There are 3 days of historical. The format is: YYYYY-MM-DD
Response:
{
"fechaMuestra": "2023-02-21T19:05:31+01:00",
"valor": 100
}
Response fields: fechaMuestra: Date on which the value of the KPI requested in the request was calculated. valor: Percentage related to the KPI requested in the request.