Create a new driver.
Authentication
Standard HTTP Bearer token. Enter the 'access_token' value.
Header Parameters
Optional audit field that indicates the User that performed a change. This field cannot be updated directly without appropriate permission - it is automatically set to the clientId of the authenticated User making the request.
This API is protected under OAuth 2 with the client_credentials grant flow and requires an API client_id and client_secret.
The client_id and client_secret are provisioned by the Fleet Services team.
Access Tokens have a lifespan of 15 minutes.
Requesting an access token
Parameters:
- client_id = my-client-id
- client_secret = my-client-secret
- [base-url] = Replace with the correct server URL for the environment you are using (e.g. - https://wmd.xc.wexonl...
Body Parameters
A unique identifier for the account.
Driver contact information.
Badge number.
Cell Phone number.
Email address.
Employee number.
First name.
Job title.
Last name.
Middle name.
The preferred method of communication.
Surname title of the driver.
Department information.
Show child attributes
Driver license information.
Show child attributes
Driver prompt Id. Required if account is setup as customer assigned DID.
Name of the person or process who updated this vehicle and the date it was requested.
Indicates if the driver is Active or Terminated.
ACTIVETERMINATEDA list of User Defined Fields.
Show child attributes
Response
201 (Created)
Response Attributes
HATEOAS links related to the driver.
Show child attributes
A unique identifier for the account.
Driver contact information.
Badge number.
Cell Phone number.
Email address.
Employee number.
First name.
Job title.
Last name.
Middle name.
The preferred method of communication.
Surname title of the driver.
Department information.
Show child attributes
Driver id.
Driver license information.
Show child attributes
Number assigned to driver.
Electric vehicle information
Show child attributes
The date and time this object was updated in the format: YYYY-MM-DDTHH:MM:SSZ.
Id of driver prompt.
The id of the card this driver is associated with, if any.
Id of user updating the driver.
Indicates the level of vehicle sharing.
Driver status information.
Indicates if the driver is Active or Terminated.
ACTIVETERMINATEDReason for the driver status.
Date status was last changed. Format: YYYY-MM-DDTHH:MM:SSZ.
A list of User Defined Fields.
Show child attributes
400 (Bad Request)
Response Attributes
401 (Unauthorized)
Response Attributes
500 (Internal Server Error)