User Object

eDRV uses Users to enable/disable access for EV drivers to charging connectors and to track sessions and attribute costs.

{
  "_id": "6155bf838e868844e93f070b",
  "firstname": "James",
  "lastname": "Brown",
  "active": true,
  "address": {
    "streetAndNumber": "1 Soul Avenue",
    "city": "Atlanta",
    "postalCode": "30901",
    "country": "USA"
  },
  "phone": {
    "mobile": "(705)123-1212",
    "home": "(706)124-1212",
    "work": "(706)125-1212"
  },
  "email": "[email protected]",
  "createdAt": "2021-09-30T13:45:39.837Z",
  "updatedAt": "2021-10-13T09:01:33.714Z"
}

Attributes

_id string

The Id of this Driver

firstname string

User's first name

lastname string

User's last name

active boolean

Use this flag to activate / deactivate this driver

address object

streetAndNumber: string
city: string
postalCode: string
country: string

phone object number in international phone number format

mobile: string
home: string
work: string

email string

User's email