Retrieve a list of locations
curl --request GET \
--url https://api.spirii.com/locations \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 1158,
"name": "ERWII",
"streetAddress": "Kokbjerg 30",
"zipCode": "6000",
"city": "Kolding",
"country": "Denmark",
"operatorId": 1,
"companyId": 7,
"type": "Parking lot",
"isPublic": true,
"coordinate": {
"lat": 55.53578,
"lon": 9.486323
},
"fuseCapacity": 32,
"chargeBoxes": [
{
"id": 1,
"cpSerialNumber": "CPSN1",
"CBID": "DK.SPI.Z1",
"firstUsageAt": "2021-01-29 06:45:22",
"evses": [
"DK.SPI.Z1*1",
"DK.SPI.Z1*2"
]
},
{
"id": 2,
"cpSerialNumber": "CPSN2",
"CBID": "DK.SPI.Z2",
"firstUsageAt": "2021-01-29 06:45:22",
"evses": [
"DK.SPI.Z2*1",
"DK.SPI.Z2*2"
]
}
],
"appUsers": [],
"orders": [],
"pricing": {
"perKwh": 3,
"currency": "DKK",
"vat": 0.25
}
},
{
"id": 1174,
"name": "EWII (building)",
"streetAddress": "Kokbjerg 30",
"zipCode": "6000",
"city": "Kolding",
"country": "Denmark",
"operatorId": 1,
"companyId": 7,
"type": "Parking lot",
"isPublic": true,
"coordinate": {
"lat": 55.535107,
"lon": 9.486873
},
"fuseCapacity": 50,
"evses": [
"DK.SPI.Z135*1",
"DK.SPI.Z136*1"
],
"appUsers": [],
"orders": [],
"pricing": {
"perKwh": 3,
"currency": "DKK",
"vat": 0.25
}
},
{
"id": 1175,
"name": "EWII (Public parking)",
"streetAddress": "Kokbjerg 30",
"zipCode": "6000",
"city": "Kolding",
"country": "Denmark",
"operatorId": 1,
"companyId": 7,
"type": "Parking lot",
"isPublic": true,
"coordinate": {
"lat": 55.536073,
"lon": 9.487332
},
"fuseCapacity": 20,
"evses": [
"DK.SPI.Z134*1"
],
"appUsers": [],
"orders": [],
"pricing": {
"perKwh": 3,
"currency": "DKK",
"vat": 0.25
}
}
]
}GET
/
locations
Retrieve a list of locations
curl --request GET \
--url https://api.spirii.com/locations \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 1158,
"name": "ERWII",
"streetAddress": "Kokbjerg 30",
"zipCode": "6000",
"city": "Kolding",
"country": "Denmark",
"operatorId": 1,
"companyId": 7,
"type": "Parking lot",
"isPublic": true,
"coordinate": {
"lat": 55.53578,
"lon": 9.486323
},
"fuseCapacity": 32,
"chargeBoxes": [
{
"id": 1,
"cpSerialNumber": "CPSN1",
"CBID": "DK.SPI.Z1",
"firstUsageAt": "2021-01-29 06:45:22",
"evses": [
"DK.SPI.Z1*1",
"DK.SPI.Z1*2"
]
},
{
"id": 2,
"cpSerialNumber": "CPSN2",
"CBID": "DK.SPI.Z2",
"firstUsageAt": "2021-01-29 06:45:22",
"evses": [
"DK.SPI.Z2*1",
"DK.SPI.Z2*2"
]
}
],
"appUsers": [],
"orders": [],
"pricing": {
"perKwh": 3,
"currency": "DKK",
"vat": 0.25
}
},
{
"id": 1174,
"name": "EWII (building)",
"streetAddress": "Kokbjerg 30",
"zipCode": "6000",
"city": "Kolding",
"country": "Denmark",
"operatorId": 1,
"companyId": 7,
"type": "Parking lot",
"isPublic": true,
"coordinate": {
"lat": 55.535107,
"lon": 9.486873
},
"fuseCapacity": 50,
"evses": [
"DK.SPI.Z135*1",
"DK.SPI.Z136*1"
],
"appUsers": [],
"orders": [],
"pricing": {
"perKwh": 3,
"currency": "DKK",
"vat": 0.25
}
},
{
"id": 1175,
"name": "EWII (Public parking)",
"streetAddress": "Kokbjerg 30",
"zipCode": "6000",
"city": "Kolding",
"country": "Denmark",
"operatorId": 1,
"companyId": 7,
"type": "Parking lot",
"isPublic": true,
"coordinate": {
"lat": 55.536073,
"lon": 9.487332
},
"fuseCapacity": 20,
"evses": [
"DK.SPI.Z134*1"
],
"appUsers": [],
"orders": [],
"pricing": {
"perKwh": 3,
"currency": "DKK",
"vat": 0.25
}
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Only retrieve informations associated with an appUserId
Example:
1
Only retrieve locations associated with a specific orderId
Example:
10
The number of items to skip before starting to collect the result set
Example:
250
Number of record to collect
Required range:
x <= 2000Example:
250
Response
Location Data
Location data
Show child attributes
Show child attributes
⌘I