PUT - Driver

HTTP Verb: PUT
URI: https://{domain}.organizations.services.10-4.com/v1/Drivers
Authentication: Bearer Token

The PUT driver endpoint allows for the updating of a single driver. The required parameters are DriverGuid, LastName, FirstName, PhoneNumber, EmailAddress, Note, and ImageFile.

The DriverGuid is a read-only field and will not be overwritten. The call requires multipart form data for the body of the request and does not accept raw JSON data. Omitting parameters will result of deleting those fields. The GUID can be found on the POST driver response or on the GET driver request.

The resulting put will return the updated driver in raw json:

{
    "data": [
        {
            "driverGuid": "87a23ea7-04e2-49a5-9978-e9e3d226fe92",
            "lastName": "LasNameLast",
            "firstName": "FirstNameFirst",
            "phoneNumber": "+11231231234",
            "emailAddress": "[email protected]",
            "note": null,
            "organizationGuid": "57264f6a-ab58-4f17-8a2b-188db2a5f1c7",
            "driverImage": "https://tnfrdevdoc.blob.core.windows.net/development/70/3804b5f6-3f38-40f3-bdb2-3b89446135be.JPG?sv=2013-08-15&sr=b&sig=v5MQNICpOk0ggM%2F6iRoGzS525NZtabhcYKIQCTJ5eFg%3D&se=2021-09-21T20%3A06%3A55Z&sp=r",
            "createdDate": "2021-09-21T15:30:31.489-04:00",
            "updatedDate": "2021-09-21T15:36:52.168-04:00"
        }
    ],
    "messages": [],
    "totalPossibleCount": 1
}