Documentation · Endpoints
POST /api/v1/chargeflow/from-ocpi (Premium)
Adaptateur offline OCPI CDR / CSV → CFU-E. Pas de connexion OCPI live.
Importer des CDRs ou lignes CSV
Premium. Corps : `cdrs` (stub OCPI) et/ou `csv_rows` — 1 à 50 items au total.
Chaque item est mappé vers une CFU-E (`source_format: ocpi` ou `csv`) puis mint batch avec succès partiel.
Ce n'est pas un client OCPI live — pas de pull SCADA / tokens OCPI.
Connecteurs partenaires (sandbox/live) : endpoint-chargeflow-partners.
Tunnel flottes : /green/chargeflow/fleets · console : /green/chargeflow/console.
curl -X POST https://getauros.com/api/v1/chargeflow/from-ocpi \
-H "Authorization: Bearer auros_pk_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"default_operator_id": "cpo_demo",
"cdrs": [{
"id": "CDR-001",
"start_date_time": "2026-07-19T10:00:00Z",
"end_date_time": "2026-07-19T10:42:00Z",
"total_energy": 48.2,
"country": "FR",
"location_id": "LOC-1",
"cpo_id": "cpo_demo"
}],
"csv_rows": [{
"external_session_id": "csv_001",
"started_at": "2026-07-19T11:00:00Z",
"ended_at": "2026-07-19T11:30:00Z",
"energy_kwh": 22.5,
"country": "FR"
}]
}'