Skip to content

PTV OptiFlow Planning API (1.10.0)

The planning API provides information about plannings and their lifecycle.

You can find out more in our developer portal.

Download OpenAPI description
Servers
Mock server
https://developer.conundra.eu/_mock/apis/plannings/planning-api
Production Api
https://api.conundra.eu/planning/v1

Health

Validate connection and accessibility of the API.

Operations

Plannings

Endpoints used for retrieving information about plannings and its releases.

Operations

Plan Profiles [EXPERIMENTAL]

Endpoints used for managing plan profiles.

Operations

Location Workload Levelling

Endpoints used for managing location workload levelling sets.

Operations

Order-Order Restrictions

Endpoints used for managing order-order restriction sets.

Operations

Break Rules [EXPERIMENTAL]

Endpoints used for managing break rule sets.

Operations

Depot Sets [EXPERIMENTAL]

Endpoints used for managing depot sets.

Operations

Charging Location Sets [EXPERIMENTAL]

Endpoints used for managing charging location sets.

Operations

List the existing charging location sets

Request

Retrieve charging location sets using cursor-based paging (see the Cursor-based pagination documentation on the PTV Developer Portal for more details).

Security
clientCredentials
Query
cursorstring

The cursor of the page to retrieve. No cursor is needed to retrieve the first page.

limitinteger(int32)[ 1 .. 1000 ]

The maximum amount of charging location sets that should be returned in the response

Default 100
Example: limit=250

Responses

OK

Bodyapplication/json
dataArray of objects(ChargingLocationSetListSummary)

Subset of Charging Location Set matching the provided query, limited to the limit specified in the request.

cursorsobject(CursorsWithOnlyNext)

Cursor that only supports next cursor navigation.

Response
application/json
{ "data": [ {} ], "cursors": { "next": "bmV4dF9fcGFnZQ" } }

Get charging location set

Request

Retrieves detailed information on the given charging location set.

Security
clientCredentials
Path
business_idstring^[a-zA-Z0-9.~\-_]+$required

The unique identifier of an entity

Responses

OK

Headers
ETagstring

A weak Etag (ex W/"<etag_value>") which contains the current version of the entity

Example: "W/\"25\""
Bodyapplication/json
business_idstring(BusinessId)^[a-zA-Z0-9.~\-_]{1,512}$read-only

The unique identifier for the charging location set.

namestring[ 1 .. 200 ] characters

The name of the charging location set

Example: "Flanders Charging Locations"
charging_locationsArray of objects(ChargingLocation)non-empty

List of charging locations in this set

Response
application/json
{ "business_id": "cb1fb12c-0abc-413c-a69d-63c62566685f", "name": "Flanders Charging Locations", "charging_locations": [ {} ] }

Upsert charging location set

Request

Create or update a charging location set. A unique ID (business_id) is required to identify the charging location set. Calling this endpoint with an existing business_id will update the charging location set.

Security
clientCredentials
Path
business_idstring^[a-zA-Z0-9.~\-_]+$required

The unique identifier of an entity

Headers
If-Matchstring

Weak Etag used for optimistic locking.

Example: W/"24"
Bodyapplication/jsonrequired
namestring[ 1 .. 200 ] characters

The name of the charging location set

Example: "Flanders Charging Locations"
charging_locationsArray of objects(ChargingLocation)non-empty

List of charging locations in this set

Responses

charging location set created successfully

Headers
ETagstring

A weak Etag (ex W/"<etag_value>") which contains the current version of the entity

Example: "W/\"25\""
Response
No content