List locations
POST
/api/locations/list
Lists locations under the selected namespace.
Parameters
Header Parameters
x-compatibility-date
required
string
Request Body required
object
where
required
object
coordinates
object
latitude
required
chargers
object
plugncharge
boolean
connectors
object
power
pagination
object
skip
integer
take
integer
Responses
200
Response for status ok
object
success
required
boolean
locations
required
Array<object>
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
count
required
integer
403
Response for status forbidden
object
success
required
boolean
message
required
string
500
Response for status internalServerError
object
success
required
boolean
message
required
string