Driver Object

A Driver is a person associated with an Organization. He/She uses the Chargestations within this organization for charging their EVs.

For e.g. this may be an employee in a workplace or a tenant within an apartment complex managed by your application.

{
  "address": {
    "streetAndNumber": "Rigakade 10",
    "postalCode": "1013BC",
    "city": "Amsterdam",
    "country": "NLD"
  },
  "phone": {
    "mobile": "+3164905500",
    "home": null,
    "work": null
  },
  "active": true,
  "source": "physical",
  "tokens": ["5e7e79938a6deccfefdf4227"],
  "_id": "5e7e74768a6deccfefdf4226",
  "firstname": "Clark",
  "lastname": "Kent",
  "createdAt": "2020-04-02T12:00:36.841Z",
  "updatedAt": "2020-06-02T16:30:00.000Z",
  "organization": "5e7e6c058a6deccfefdf4223"
}

Attributes

address object

streetAndNumber: string The address of your commercial entity
postalCode: string
city: string
country: string Two digit country code

phone object

mobile: string Driver's mobile number in international phone number format
home: string Driver's home number in international phone number format
work: string Driver's work number in international phone number format

active boolean

Use this flag to activate / deactivate this driver

source string

Describes how this driver was on-boarded. Options are ['physical','slack','telegram']
physical: This driver was signed up manually by the admin
slack: This driver signed up via the eDRV slack add on
telegram: This driver signed up via the eDRV Telegram add on

_id string

The Id of this Driver

firstName string

Driver's first name

LastName string

Driver's last name

createdAt datetime

Creation time of this driver's record

updatedAt datetime

Last update time of this driver's record

organization string

The Organization Id that this driver is part of
Also see Organization