Send a period's CDRs to a roaming partner again

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The connection's id.

Query Params
int64 | null

The ID of the operator that owns the connection. If omitted, it is derived from the credentials. Consumers with access to multiple operators must specify it explicitly.

Body Params
string
required
length ≥ 1
\d{4}-\d{2}-\d{2}

First day of the period whose CDRs are sent again (yyyy-MM-dd).

string
required
length ≥ 1
\d{4}-\d{2}-\d{2}

Last day of the period (yyyy-MM-dd), on or after periodFrom. The period is 1 to 31 days.

Headers
string

Opaque client-supplied key used for safe retries. Accepted today; behavior not yet enforced.

Responses

400

CDR_RESEND_PERIOD_TOO_LONG, CDR_RESEND_TOO_MANY_CDRS or ROAMING_MODULE_NOT_SUPPORTED

409

ROAMING_RUN_IN_PROGRESS or ROAMING_CONNECTION_NOT_CONNECTED

429

ROAMING_ACTION_RATE_LIMITED: a resend ran in the last 15 minutes

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json