Get Driver
Changed onGet the details of a specific driver
Request
- Base URLhttps://api.withterminal.com/tsp/v1
- URLhttps://api.withterminal.com/tsp/v1/drivers/{id}
- AuthHTTP bearer
Query parameters
Include raw responses used to normalize model. Used for debugging or accessing unique properties that are not unified.
Expand resources in the returned response
Headers
Scopes the request to a Terminal application in the caller's organization. Required for multi-application organizations when using a user session or OAuth access token. API keys are already bound to a single application.
The token returned when a user authenticated their account. This authorizes access to a specific account.
Response
OK
Example response
{
"id": "drv_01D8ZQFGHVJ858NBF2Q7DV9MNC",
"sourceId": "123456789",
"provider": "geotab",
"status": "active",
"firstName": "Mike",
"middleName": "Bryan",
"lastName": "Miller",
"email": "driver@example.com",
"phone": "+19058084567",
"username": "driver123",
"license": {
"state": "TN",
"number": "123-456-789-0"
},
"groups": [
"group_01D8ZQFGHVJ858NBF2Q7DV9MNC"
],
"metadata": {
"visibility": "visible"
},
"raw": []
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
provider_timeoutenum value to theresponse property for the response status - info
added the non-success response with the status
- info
removed
subschema #2: Expanded Groupfrom the/response propertyoneOflist for the response status
- breaking