Release Notes: Public API 2.117.0
12 months ago by Svetoslav Mitov
- Introduce Locations v2.0 resource
- Properties:
id
- readonly
integername
- required
stringstatus
- required
enumshortDescription
- optional, translatable
array or NULLdescription
- optional, translatable
array or NULLadditionalDescription
- optional, translatable
array or NULLlocationImage
- optional, readonlyimages
- optional, readonlygeoposition
- requiredlatitude
- required
floatlongitude
- required
float
address
- required
translatablecity
- required
stringregion
- optional
stringstate
- optional, conditional depending oncountry
= US or AU
string or NULLcountry
- required
stringpostCode
- required
stringworkingHours
- required
arrayisAlwaysOpen
- required
booleanalwaysOpenForUserGroupIds
- optional
array of group ids
required ifisAlwaysOpen
=false
; otherwise NULLstopSessionsOutsideWorkingHours
- optional
boolean
required ifisAlwaysOpen
=false
hours
- optional
chargingZones
- required, readonly
arraytimezone
- optional (only when multi timezone is enabled)
stringexternalId
- optional
stringlastUpdatedAt
- required
timestamp
- Properties:
- Expose Charging Zones endpoint in the API
Supported Methods:GET
,POST
,PATCH
,DELETE
- Properties:
- id
integer - name - required
string
Description:Internal name of the Charging Zone. This isn't visible to end-users in the app.
locationId - required
integer
Description:The ID of the Location, which the Charging Zone belongs to.
- status - required
string
Description:Enum: "active" "disabled"
- appAdditionalInfo - optional
object
Description:Additional information for the charging zone that is shown in the mobile app when the Location is viewed.
- title - required
object
Description:Locales that have been created and are not provided on an update will be deleted. Please provide values in all locales that you wish to keep.
- description - required
object
Description:Locales that have been created and are not provided on an update will be deleted. Please provide values in all locales that you wish to keep.
- id
- Filter
locationId
- Properties: