Assign one or more drivers to a device (one-to-one). One driver can be assigned to one device. Each device can have only one driver assigned at once.
Note: POST calls create new data, and do not affect existing data.
required | Array of objects (Driver to device assignment) |
Successful operation
Bad request error
Unauthorized error
Forbidden error
Not found error
Conflict error
Internal server error
{- "data": [
- {
- "driverThirdPartyId": "moshe123",
- "organizationId": 17,
- "imei": "357660101000198",
- "startTime": "2021-12-14T12:42:04.323Z",
- "endTime": "2021-12-14T14:09:53.876Z"
}
]
}
{- "requestId": "06327cae-e075-42ca-b620-c5cfdd3b4e37"
}