Get a location
GET
/api/locations/public/{locationId}
Returns a location that either contains public chargers, or is on a namespace accessible to the user.
Parameters
Path Parameters
locationId
required
string
Request Body required
Responses
200
Response for status ok
object
success
required
boolean
location
required
object
id
required
string
namespaceId
required
string
applicationId
required
string
durableObjectId
required
string
name
required
string
timeZone
string
coordinates
object
latitude
required
number
longitude
required
number
tariff
required
object
elements
required
Array<object>
object
id
required
string
name
required
string
backgroundColor
required
string
priceComponents
required
object
Flat
string
PerMinute
string
PerKilowattHour
string
restrictions
object
startTime
object
hour
required
integer
minute
required
integer
endTime
object
hour
required
integer
minute
required
integer
daysOfWeek
Array<string>
minEnergy
number
maxEnergy
number
minCurrent
number
maxCurrent
number
minPower
number
maxPower
number
minDuration
integer
maxDuration
integer
vehicleRequestingPower
boolean
minRestrictionsDuration
integer
minPrice
string
maxPrice
string
altTexts
Array<object>
object
language
required
string
text
required
string
altUrl
string format: uri
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
403
Response for status forbidden
object
success
required
boolean
message
required
string
404
Response for status notFound
object
success
required
boolean
message
required
string
500
Response for status internalServerError
object
success
required
boolean
message
required
string