---
title: "Retrieve logbook settings for a driver."
url: "https://developers.vzconnect.com/apis/driver-api/versions/dd59d93e-671c-494a-b1e2-63fbd7c9d7da/operations/getDriverLogbookSettings"
---

> Full API specification: https://developers.vzconnect.com/apis/driver-api/versions/dd59d93e-671c-494a-b1e2-63fbd7c9d7da.md

# Retrieve logbook settings for a driver.

`GET` `/cmd/v1/driversettings/logbooksettings/{drivernumber}`

Operation ID: `getDriverLogbookSettings`

Returns the LogBook Rule Set associated with the specified driver, including whether the driver is flagged as ELD compliant. An API link is provided so that other LogBook related methods can reference the settings returned in this call.

## Path parameters

- `drivernumber` (string, required) - The Driver Number, the unique identifier for drivers created within REVEAL. If the provided Driver Number does not exist within the REVEAL account, a 404 error is returned.

## Responses

- `200` - Successfully retrieved the driver's logbook settings.
- `400` - Bad request. The driver number format is invalid.
- `401` - Unauthorized. Authentication credentials are missing or invalid.
- `404` - Driver not found with the specified driver number.
- `500` - Internal server error.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Driver API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /cmd/v1/driversettings/logbooksettings/{drivernumber}:
    get:
      summary: Retrieve logbook settings for a driver.
      description: Returns the LogBook Rule Set associated with the specified driver,
        including whether the driver is flagged as ELD compliant. An API link is
        provided so that other LogBook related methods can reference the
        settings returned in this call.
      operationId: getDriverLogbookSettings
      tags:
        - Driver API
      parameters:
        - name: drivernumber
          in: path
          required: true
          description: The Driver Number, the unique identifier for drivers created within
            REVEAL. If the provided Driver Number does not exist within the
            REVEAL account, a 404 error is returned.
          schema:
            type: string
            example: "100096"
      responses:
        "200":
          description: Successfully retrieved the driver's logbook settings.
          content:
            application/xml: {}
            application/json:
              schema:
                $ref: "#/components/schemas/DriverLogBookSettingsResource"
              example:
                DriverLogBookSettings:
                  FirstName: Chris
                  LastName: Abernathy
                  DriverNumber: "100096"
                  RuleSet: Federal Property
                  IsELD: true
                Links:
                  Self:
                    Href: https://vzc.local/driversettings/logbooksettings/100096
        "400":
          description: Bad request. The driver number format is invalid.
          content:
            application/xml: {}
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized. Authentication credentials are missing or invalid.
          content:
            application/xml: {}
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: Driver not found with the specified driver number.
          content:
            application/xml: {}
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal server error.
          content:
            application/xml: {}
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
components:
  schemas:
    DriverLogBookSettingsResource:
      type: object
      description: Driver LogBook settings together with related API links.
      properties:
        DriverLogBookSettings:
          $ref: "#/components/schemas/DriverLogBookSettings"
        Links:
          type: object
          properties:
            Self:
              allOf:
                - $ref: "#/components/schemas/Link"
              description: In addition to leveraging the returned LogBook Setting fields,
                these values can also be found by referencing the LogBook
                Settings API link.
    Error:
      type: object
      description: Generic error response. The documentation does not define an
        explicit error body schema.
      properties:
        message:
          type: string
          description: A human-readable description of the error.
    DriverLogBookSettings:
      type: object
      description: The LogBook rule set and ELD compliance for a driver.
      properties:
        FirstName:
          type: string
          description: The first name of the driver.
          example: Chris
        LastName:
          type: string
          description: The last name of the driver.
          example: Abernathy
        DriverNumber:
          type: string
          description: Driver Number is the unique identifier for drivers created within
            REVEAL. This is the same identifier provided in the GET request call
            in order to return the desired LogBook information. If the provided
            Driver Number does not exist within the REVEAL account, a 404 error
            will be returned.
          example: "100096"
        RuleSet:
          type: string
          description: Each country or state within the US has a different set of
            regulations dictating how long a driver can drive in a certain
            timeframe. Depending on where the vehicle is located, a specific
            Ruleset will be associated with the driver and his/her trip.
          example: Federal Property
        IsELD:
          type: boolean
          description: Boolean true/false field indicating if the driver is currently
            flagged within the driver modal as ELD Compliant. If the driver
            modal does not show an ELD flag or there is no flag set for the
            driver this returns as false.
          example: true
    Link:
      type: object
      description: An API hyperlink reference.
      properties:
        Href:
          type: string
          description: The URL of the related resource.
```
