Location
Location Object
An organization may manage chargestations in multiple locations (geographical addresses)
{
"coordinates": {
"latitude": 37.7774772,
"longitude": -122.4163424
},
"address": {
"streetAndNumber": " 1300 Market Street Civic Center",
"city": "San Francisco",
"country": "United States",
"postalCode": "94102",
"state": "California"
},
"openingHours": {
"0": [
{
"startTime": "09:00",
"endTime": "11:00"
},
{
"startTime": "16:00",
"endTime": "20:00"
}
],
"1": [...],
"2": [...],
"3": [...],
"4": [...],
"5": [...],
"6": [...]
},
"active": true,
"chargestations": [
"5f72f55431a6770a131db27a",
"601d202209c14c4341435e2b",
"601d208609c14c4341435e2d",
"601d376850189514b894673c",
"601d3df950189514b894674e"
],
"_id": "601d1ff609c14c4341435e2f",
"operatorName": "EV Charging Inc.",
"timezone": "America/Los_Angeles",
"notes": "Starbucks nearby.",
"organization": "5e7e6c058a6deccfefdf422f",
"images": [
],
"createdAt": "2021-02-05T10:37:42.292Z",
"updatedAt": "2021-02-08T10:41:53.776Z",
}
Attributes
coordinates object
latitude: float Latitude in Decimal degrees (DD) format
longitude: float Longitude in Decimal degrees (DD) format
See Decimal Degrees for more information
address object
streetAndNumber: string The address of your commercial entity
postalCode: string
city: string
country: string Two digit country code
openingHours object
Sets the business hours of a location
dayNumber: string [0-6 representing Sunday to Saturday]
An array comprising of:startTime: string in 24-hour hh:mm format
endTime: string in 24-hour hh:mm format
active boolean
Use this flag to activate / deactivate this location
chargestations array of objectIds
Contains an array of chargestation Ids at this location.
_id string
The Id of this location
operatorName string
The name of the operator of this location
timezone string
The location timezone
See https://momentjs.com/timezone/ for all available timezones
notes string
Any notes for drivers regarding this location
organization string
The Id of the organization this location belongs to
images Array
An array of links to photos of this location
createdAt datetime
Creation time of this record
updatedAt datetime
Last update time of this record
Updated over 1 year ago