---
title: "Retrieve the current duty status for a driver."
url: "https://developers.vzconnect.com/apis/logbook-api-v1/versions/ea989433-4e89-4d02-91b7-d8d691be26a1/operations/getDriverCurrentStatus"
---

> Full API specification: https://developers.vzconnect.com/apis/logbook-api-v1/versions/ea989433-4e89-4d02-91b7-d8d691be26a1.md

# Retrieve the current duty status for a driver.

`GET` `/logbook/v1/driver/{drivernumber}/statuscurrent`

Operation ID: `getDriverCurrentStatus`

Retrieves the current LogBook status for a specific driver. The current LogBook status can be obtained by providing an existing driver number within the REVEAL account. If the driver has no status within the last 6 months, the response is still 200 but contains only the _links object.

## Path parameters

- `drivernumber` (string, required) - 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 is returned.

## Responses

- `200` - Successfully retrieved the driver's current duty status. When the driver has no status within the last 6 months, only the _links object is returned (with just the current link).
- `400` - Bad request. The information being queried is outside of the Reveal account's data plan.
- `401` - Unauthorized. Authentication credentials are missing or invalid. No response body is returned.
- `404` - Driver not found with the specified driver number.
- `500` - Internal server error. No response body is returned.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Logbook API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /logbook/v1/driver/{drivernumber}/statuscurrent:
    get:
      summary: Retrieve the current duty status for a driver.
      description: Retrieves the current LogBook status for a specific driver. The
        current LogBook status can be obtained by providing an existing driver
        number within the REVEAL account. If the driver has no status within the
        last 6 months, the response is still 200 but contains only the _links
        object.
      operationId: getDriverCurrentStatus
      tags:
        - Logbook API
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/logbook/v1/driver/[^/]+/statuscurrent/?$
      parameters:
        - name: drivernumber
          in: path
          required: true
          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
            is returned.
          schema:
            type: string
          example: "99"
      responses:
        "200":
          description: Successfully retrieved the driver's current duty status. When the
            driver has no status within the last 6 months, only the _links
            object is returned (with just the current link).
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/LogbookStatus"
              examples:
                withStatus:
                  summary: Driver with a status in the last 6 months
                  value:
                    Status: OnDutyNotDriving
                    SubStatus: OffDuty30MinBreak
                    StatusDateTimeUTC: 2017-06-20T19:35:24.46
                    StatusDurationSeconds: 88
                    UpdateDatetTimeUTC: 2017-06-20T19:35:24.45
                    TrailerNumber:
                      - "999999"
                    ShippingReference:
                      - "8888888"
                    Remark: null
                    Address: null
                    ModifiedBy: Last updated by Test User
                    DriverNumber: "99"
                    FirstName: Driver First Name
                    LastName: Driver Last Name
                    VehicleNumber: "85"
                    VehicleName: Vehicle 85
                    TimeRemainingSinceLastStatus:
                      DailyDrivingMinutes: 45
                      DailyOnDutyMinutes: 15
                    TimeUsedSinceLastReset:
                      DailyDrivingMinutes: 50
                      DailyOnDutyMinutes: 10
                    _links:
                      current:
                        href: https://api.dev.eu.vzconnect.net/logbook/v1/driver/99/statuscurrent
                      driver:
                        href: https://api.dev.eu.vzconnect.net/cmd/v1/drivers/99
                      vehicle:
                        href: https://api.dev.eu.vzconnect.net/cmd/v1/vehicles/85
                      logbooksettings:
                        href: https://api.dev.eu.vzconnect.net/cmd/v1/driversettings/logbooksettings/99
                noRecentStatus:
                  summary: Driver with no status in the last 6 months
                  value:
                    _links:
                      current:
                        href: https://api.dev.eu.vzconnect.net/logbook/v1/driver/99/statuscurrent
        "400":
          description: Bad request. The information being queried is outside of the Reveal
            account's data plan.
          content:
            application/json: {}
        "401":
          description: Unauthorized. Authentication credentials are missing or invalid. No
            response body is returned.
          content:
            application/json: {}
        "404":
          description: Driver not found with the specified driver number.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ApiError"
        "500":
          description: Internal server error. No response body is returned.
          content:
            application/json: {}
components:
  schemas:
    LogbookStatus:
      type: object
      description: Current LogBook status for a driver. When the driver has no status
        within the last 6 months, only _links.current is returned and all other
        properties are absent.
      properties:
        Status:
          type: string
          description: "The driver's duty status, either entered by the driver through the
            LogBook App or proposed by an admin within the REVEAL account.
            Returned as the status name: OffDuty, Driving (on duty and driving,
            set automatically when the vehicle is driven), OnDutyNotDriving
            (logging Hours of Service but not driving), SleeperBerth (in the
            sleeper cabin, not driving) and, in rare cases, NoStatus or
            Diagnostic."
          example: OnDutyNotDriving
        SubStatus:
          type: string
          description: "The sub status applied to the main status in the LogBook App.
            Returned as the sub status name. Driving: DrivingNoSubStatus.
            OnDutyNotDriving: OnDutyNotDrivingNoSubStatus,
            OnDutyNotDrivingYardMoves, OnDutyNotDrivingFueling,
            OnDutyNotDrivingInspection, OnDutyNotDrivingLoad,
            OnDutyNotDrivingUnload, OnDutyNotDrivingFerryCrossing,
            OnDutyNotDrivingUnregulatedDrivingStart,
            OnDutyNotDrivingUnregulatedDrivingStop. OffDuty: OffDutyNoSubStatus,
            OffDutySplitBreak1, OffDutySplitBreak2, OffDutyDailyReset,
            OffDutyWeeklyReset, OffDuty30MinBreak, OffDutyPersonal,
            OffDutyPrivacy, OffDutyWaitingTime. SleeperBerth:
            SleeperBerthNoSubStatus, SleeperBerthSplitBreak1,
            SleeperBerthSplitBreak2, SleeperBerthDailyReset,
            SleeperBerthWeeklyReset, SleeperBerth30MinBreak. NoSubStatus is
            returned when no sub status applies."
          example: OffDuty30MinBreak
        StatusDateTimeUTC:
          type: string
          format: date-time
          description: The timestamp of the status change. Taken from the device time and
            sent to REVEAL as a UTC time.
          example: 2017-06-20T19:35:24.46
        StatusDurationSeconds:
          type: integer
          description: Length of time (in seconds) the current status has been in effect,
            as stored when the status was last updated.
          example: 88
        UpdateDatetTimeUTC:
          type: string
          format: date-time
          description: The timestamp value for when the updated Status was received by
            REVEAL.
          example: 2017-06-20T19:35:24.45
        TrailerNumber:
          type: array
          description: Reference identifier(s) associated with the trailer entered within
            the LogBook App. A stored value is split on spaces, so an individual
            reference cannot contain a space.
          items:
            type: string
          example:
            - "999999"
        ShippingReference:
          type: array
          description: Reference number/identifier(s) associated with shipping stops for a
            particular vehicle entered in the LogBook app. A stored value is
            split on spaces, so an individual reference cannot contain a space.
          items:
            type: string
          example:
            - "8888888"
        Remark:
          type: string
          nullable: true
          description: Additional comments related to the status update that is entered
            within the LogBook App. Null when no remark was entered.
          example: null
        Address:
          $ref: "#/components/schemas/Address"
        ModifiedBy:
          type: string
          description: The individual who most recently modified the LogBook Status, in
            the form 'Last updated by <first name> <last name>'. Null when the
            status has not been modified or the modifying user cannot be
            resolved.
          example: Last updated by Test User
          nullable: true
        DriverNumber:
          type: string
          description: Driver Number is 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.
          example: "99"
        FirstName:
          type: string
          description: The first name of the driver as recorded within the REVEAL vehicle
            profile.
          example: Driver First Name
        LastName:
          type: string
          description: The last name of the driver as recorded within the REVEAL vehicle
            profile.
          example: Driver Last Name
        VehicleNumber:
          type: string
          description: Vehicle Number is the unique identifier for Vehicles created within
            REVEAL. Null when no vehicle is associated with the status.
          example: "85"
          nullable: true
        VehicleName:
          type: string
          description: The Vehicle Name as recorded within the REVEAL vehicle profile.
            Null when no vehicle is associated with the status.
          example: Vehicle 85
          nullable: true
        TimeRemainingSinceLastStatus:
          allOf:
            - $ref: "#/components/schemas/DailyTime"
          description: "Time Remaining Since Last Status, in minutes. Daily Driving
            Minutes: the time this driver has left to drive today, at the point
            the status change was struck, before they get a violation. Daily On
            Duty Minutes: the time this driver has left on duty today, at the
            point the status change was struck. Values default to 0 when the
            information is not available."
        TimeUsedSinceLastReset:
          allOf:
            - $ref: "#/components/schemas/DailyTime"
          description: "Time Used Since Last Reset, in minutes. Daily Driving Minutes: the
            total time the driver has driven today since the last daily reset.
            Daily On Duty Minutes: the total on-duty time since the last daily
            reset. Values default to 0 when the information is not available."
        _links:
          $ref: "#/components/schemas/StatusLinks"
    ApiError:
      type: object
      description: Error returned when the driver number cannot be found or a request
        parameter is invalid.
      properties:
        Message:
          type: string
          description: A description of the error.
          example: "Driver Information not found for DriverNumber: 99"
    Address:
      type: object
      description: The address related to the location entered within the LogBook app
        for when the status was updated or changed. Contains the global
        standards for address components. May be null when no address is
        available.
      nullable: true
      properties:
        AddressLine1:
          type: string
          description: Location specific identification such as a house number.
          example: 31500 Bainbridge Rd
        AddressLine2:
          type: string
          description: Additional information to identify location such as an apartment
            number.
          example: ""
        Locality:
          type: string
          description: City, town, etc.
          example: Solon
        AdministrativeArea:
          type: string
          description: State, province, etc.
          example: OH
        PostalCode:
          type: string
          description: Postal code.
          example: "44139"
        Country:
          type: string
          description: Country.
          example: USA
    DailyTime:
      type: object
      properties:
        DailyDrivingMinutes:
          type: integer
          description: Daily driving minutes.
          example: 45
        DailyOnDutyMinutes:
          type: integer
          description: Daily on duty minutes.
          example: 15
    StatusLinks:
      type: object
      description: Supplemental API links available for additional reference. The
        current link is always returned; driver, vehicle and logbooksettings are
        returned only when the driver has a status in the last 6 months.
      nullable: true
      properties:
        current:
          $ref: "#/components/schemas/HyperlinkRef"
        driver:
          $ref: "#/components/schemas/HyperlinkRef"
        vehicle:
          $ref: "#/components/schemas/HyperlinkRef"
        logbooksettings:
          $ref: "#/components/schemas/HyperlinkRef"
    HyperlinkRef:
      type: object
      properties:
        href:
          type: string
          description: The hyperlink reference URL.
```
