1.0OAS 3.0

The Driver Status REST Service is included within the REVEAL Driver Activity API suite. Integrated customers and partners can leverage this API to manage clock in/out data within a REVEAL account to synchronize records between back-office systems.

This API will use the following unique identifier(s): Driver Number. Standard REST verbs are applied: GET, POST.

API Base URL
  • Server 1:https://api.us.vzconnect.com

Driver Status API

Operations for retrieving a driver’s current clock-in or clock-out status and recording driver status changes within a REVEAL account.

Create a driver status record.

Manages a driver’s statuses throughout the day, enabling REVEAL users to compare a driver’s statuses against vehicle activity (and, where work order integration is enabled, against work orders and work order statuses). The Driver Status API cannot be used to apply statuses to a particular driver until the Driver Status Options API has first been used to configure the applicable driver statuses available within an account.

At this time, only PunchIn and PunchOut driver status information data will display within the REVEAL designated reports to show punch in and out data. Integration users can send additional driver statuses available within REVEAL, but only Punch In and Out statuses will be shown within the UI.

The status becomes the driver’s current status only if its date is later than the date of the current status. An earlier-dated status is stored in the history and the current status is unchanged.

post
https://api.us.vzconnect.com/da/v1/driverstatuses

Body

application/json

Driver status details including driver number and clock-in/out information.

DriverStatusRequest

The payload used to apply a status to a driver.

Codestringrequired

The Driver Status Type Code string value that will be displayed as reference within REVEAL where available.

Example:Clock In

DriverNumberstringrequired

The unique Driver Number the status is being applied to.

Example:100096

StatusChangeDateUtcstring(date-time)

The date and time the status was applied to the referenced Driver Number. If omitted, the current UTC time is used.

Example:2016-12-21T19:29:36.513

Response

Driver status accepted. No content is returned.