Compliances
Calculer et enregistrer le score EcoIndex pour cette application
Changed onpost/api/v2/applications/{applicationId}/compliances/ecoindex/scan
Request
- The document declares no server URL.
- Auth: one of:
- OAuth 2 (authorization code, authorization URL http://localhost:8082/realms/referentiel-applications/protocol/openid-connect/auth, token URL http://localhost:8082/realms/referentiel-applications/protocol/openid-connect/token)
- API key in header x-refapp-token
Path parameters
applicationIdstring required
ID of the application
Response
Score EcoIndex calculé et enregistré avec succès
Example response
{
"dima_duration_hours": 4,
"dima_is_hno": true,
"dima_business_impact": "Perte de revenu, impact client",
"dima_recovery_plan": true,
"dima_recovery_solutions": "Bascule sur serveur de secours",
"dima_last_test_date": "2023-01-01",
"dima_recovery_manager": "Jean Dupont",
"pdma_duration_hours": 24,
"pdma_data_types": "Transactions, logs, fichiers utilisateur",
"pdma_backup_frequency": "Toutes les heures",
"pdma_backup_method": "Snapshot, backup incrémental",
"pdma_last_test_date": "2023-01-01",
"pdma_restoration_manager": "Marie Martin",
"homologation_date_end": "2023-01-01",
"homologation_rssi_id": "uuid-of-rssi-actor",
"dsfr_implemented": true,
"dsfr_version": "1.9.0",
"rgpd_has_aipd": true,
"rgpd_dpo_name": "Pierre Durand",
"eco_index_target_url": "https://service.example.com",
"id": "12345678-1234-1234-1234-123456789012",
"eco_index_score": 72.5,
"eco_index_ges": 1.77,
"eco_index_water": 2.65,
"eco_index_last_calculated_at": "2026-03-20T10:30:00.000Z"
}Changes
- info
added the non-success response with the status
- info