Create a Driver attached to a given Contract
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
id
integer
required
The id of the contract
string
First Name
first_name
string
required
First Name
last_name
string
required
Last Name
license_number
string
required
The drivers license number
license_subregion
string
required
The subregion of the drivers license
born_on
string
required
The date of birth formatted like YYYY-MM-DD
license_expires_on
string
required
The expiration date formatted like YYYY-MM-DD
country
string
required
The country of the drivers license
phone_number
string
required
The additional drivers' phone number unformatted
api-version
integer
required
Target API version
``201 Success
object
Location
string
Link location of created contract additional drivers
``401 Unauthorized
``403 Forbidden
``404 Not found
``415 Unsupported Media Type
``422 Unprocessable Content
ShellNodeRubyPHPPython
Bearer
Base URL
https://api.dealerware.com/admin/contracts/{id}/drivers
xxxxxxxxxx
curl --request POST \
--url https://api.dealerware.com/admin/contracts/id/drivers \
--header 'accept: */*' \
--header 'content-type: application/json'
xxxxxxxxxx
201 Created