Sends the CDRs of a period, 1 to 31 days and up to 10,000 CDRs, to the partner again, on an inbound connection. OCPI CDRs are a one-time push: a partner that does not deduplicate can bill them twice, so check the partner's own system before resending. Answers 202 with the runId, how many CDRs were queued and the sessions that were skipped; the run reports how many the partner accepted and refused.
Required scope: roaming-actions:write. It must be granted by name; all does not include it.
Organization authorization: supported
One run per connection, action and module every 15 minutes, counting the Hub and this API together: a repeat answers 429 ROAMING_ACTION_RATE_LIMITED with context.retryInSeconds and context.connectionId. A second run while one is running answers 409 ROAMING_RUN_IN_PROGRESS with context.runId. Clients may send an Idempotency-Key header; it is accepted and not yet enforced.
The endpoints are opened per operator of the API key, so a key of an operator they are not enabled for gets 403; once open, the key reaches every operator it may select with operatorId. A connection of another operator answers 404.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400CDR_RESEND_PERIOD_TOO_LONG, CDR_RESEND_TOO_MANY_CDRS or ROAMING_MODULE_NOT_SUPPORTED
409ROAMING_RUN_IN_PROGRESS or ROAMING_CONNECTION_NOT_CONNECTED
429ROAMING_ACTION_RATE_LIMITED: a resend ran in the last 15 minutes