Add a driver

Creates a transportation driver and, when supplied, associates one or more structured addresses with the driver.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
namestringRequired
phonestring or nullOptional
emailstring or nullOptional
addresslist of objectsOptional

Response

Driver created.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error