Add a new driver
x-ms-visibility: "important"
Create a new driver with specified details.
application/json
Request Body required
Details of the driver to be added.
name string
externalId string
homeSiteId int64 nullable
payerId int64 nullable
Responses
- 201
- 400
- 401
The ID of the created driver.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
id int64
externalId string
name string
homeSiteId int64 nullable
payerId int64 nullable
homeSiteName string
tags object[]
id int64
idTag string
expiringDate date-time
startDate date-time nullable
lastUpdated date-time nullable
tokenName string
invoicable boolean nullable
driverId int64
{
"id": 0,
"externalId": "string",
"name": "string",
"homeSiteId": 0,
"payerId": 0,
"homeSiteName": "string",
"tags": [
{
"id": 0,
"idTag": "string",
"expiringDate": "2025-02-17T11:24:21.307Z",
"startDate": "2025-02-17T11:24:21.307Z",
"lastUpdated": "2025-02-17T11:24:21.307Z",
"tokenName": "string",
"invoicable": true,
"driverId": 0
}
]
}
Validation or processing errors
application/json
Schema
Example (from schema)
Schema
errorCode string
message string
errorNumber int32
helpLink string
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}
No description
Loading...