Creates a new location.
Authorizations
Authorization: Bearer <SPIRII_API_KEY>
Body
Location name
"Example Location"
Street address of the location
"123 Charging St, City, Country"
Postal code
"00123"
City name
"Copenhagen"
ISO-31661 alpha-2 country code of the CPO that 'owns' this location.
"DK"
Geographical coordinates of the location
Defines if a location may be published on websites & apps etc. This will be true for public locations
true
List of available facilities at the location
HOTEL, RESTAURANT, CAFE, MALL, SUPERMARKET, SPORT, RECREATION_AREA, NATURE, MUSEUM, BIKE_SHARING, BUS_STOP, TAXI_STAND, TRAIN_STATION, METRO_STATION, AIRPORT, PARKING_LOT, CARPOOL_PARKING, FUEL_STATION, WIFI, RESTROOM, SHOWER, CAR_WASH, SHOPPING_AREA, MEDICAL_CENTER, HOTEL_RESERVATION, TICKET_SERVICE, PUBLIC_TRANSPORT ["WIFI", "RESTROOM"]
The times when the EVSEs at the location can be accessed for charging
Type of parking available.
The mapping of the parkingType to the Spirii location Type is visible in the table below:
[ParkingType] - [Spirii Location Type]
ON_STREET - Public road
ON_DRIVEWAY - Residential
PARKING_LOT - Parking lot
PARKING_GARAGE - Parking lot (indoor)
UNDERGROUND_GARAGE - Parking lot (underground)
OTHER - Hotel
ON_STREET, PARKING_GARAGE, UNDERGROUND_GARAGE, PARKING_LOT, OTHER, ON_DRIVEWAY "ON_STREET"
Legacy ID of the customer that 'owns' the location. An 'owner' represents a 'customer' in the Spirii Connect portal/UI. While the term 'ownerId' is outdated, this ID is retained for backward compatibility with legacy systems.
1234
ID of the customer that 'owns' the location. The 'customerId' is the unique identifier for a customer. The 'customer' can be found in the Connect Customer management page. This customer ID corresponds with the customer ID that can be retrieved from the Customer v2 API.
1234
Uniquely identifies the tariff within the CPO’s platform
"58652fe8-d840-4aa4-bb4f-3ebd944df9d6"
The tariff displayed for all the users who are using older versions of the app
12345678
If a location allows priority charging
true
An optional identifier used to reference specific charging sessions or transactions in invoices
"Identifier text"
Response
ID that Uniquely identifies the location
123456
Location name
"Example Location"
Street address of the location
"123 Charging St, City, Country"
Postal code
"00123"
City name
"Copenhagen"
ISO-31661 alpha-2 country code of the CPO that 'owns' this location.
"DK"
ID of the CPO that 'owns' this location (following the ISO-15118 standard)
"SPI"
Geographical coordinates of the location
Defines if a location may be published on websites & apps etc. This will be true for public locations
true
List of EVSEs at the location
Information of the operator
Last update timestamp
"2025-01-27 09:38:41"
Information about if a location allows priority charging
true
Type of parking available.
The mapping of the parkingType to the Spirii location Type is visible in the table below:
[ParkingType] - [Spirii Location Type]
ON_STREET - Public road
ON_DRIVEWAY - Residential
PARKING_LOT - Parking lot
PARKING_GARAGE - Parking lot (indoor)
UNDERGROUND_GARAGE - Parking lot (underground)
OTHER - Hotel
ON_STREET, PARKING_GARAGE, UNDERGROUND_GARAGE, PARKING_LOT, OTHER, ON_DRIVEWAY "ON_STREET"
List of available facilities at the location
HOTEL, RESTAURANT, CAFE, MALL, SUPERMARKET, SPORT, RECREATION_AREA, NATURE, MUSEUM, BIKE_SHARING, BUS_STOP, TAXI_STAND, TRAIN_STATION, METRO_STATION, AIRPORT, PARKING_LOT, CARPOOL_PARKING, FUEL_STATION, WIFI, RESTROOM, SHOWER, CAR_WASH, SHOPPING_AREA, MEDICAL_CENTER, HOTEL_RESERVATION, TICKET_SERVICE, PUBLIC_TRANSPORT ["WIFI", "RESTROOM"]
Human-readable directions on how to reach the location
The times when the EVSEs at the location can be accessed for charging
Information about the owner of the location, if available. The 'owner' represents a legacy concept of a 'customer' in the Spirii Connect portal/UI, retained for backward compatibility.
Information about the customer that 'owns' the location. This represents the current terminology for identifying the customer associated with the location in the Spirii Connect portal.
Details on the energy supplied at this location
A telephone number that a Driver using the Location may call for assistance.
"4550505050"
An optional identifier used to reference specific charging sessions or transactions in invoices
"Identifier text"