Pull locations or tariffs from a roaming partner

Fetches the partner's full set of locations or tariffs again, on an outbound connection (the partner is the CPO). Answers 202 with the runId; poll GET /roaming-connection-runs/{runId} for the counts before and after.

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
enum
required
length ≥ 1
locations|tariffs

The OCPI module to pull or push: locations or tariffs.

Allowed:
Headers
string

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

Responses

400

ROAMING_MODULE_NOT_SUPPORTED: the connection is inbound

409

ROAMING_RUN_IN_PROGRESS or ROAMING_CONNECTION_NOT_CONNECTED

429

ROAMING_ACTION_RATE_LIMITED: the same pull 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