DriverAssignment table |
The DriverAssignment table allows you to retrieve information about a driver assignment. Drivers can be assigned from the Fleet platform, or from a Verizon Connect Mobile application like WorkPlan.
This topic contains the following sections:
When you write templates that access this table, follow these requirements:
Specify the Symbolic Name for the table version to use:
TableID = DriverAssignment-1.0
Specify an Intent that this table supports:
[Filter] Id(ExtId) = Equals(Id1) # You can filter on literals or on variables from the [User] or [Calculated] sections.
[Filter] Id(ExtId) = In(["Id1","Id2","Id3"])
[User] # Set via query string: &DriverId=123&Start=2013-02-01&End=2013-03-01 DriverId = "" Start(Timestamp) = "" End(Timestamp) = "" [Filter] DriverId(ExternalIdName) = Equals(DriverId) From = Between(Start, End)
[User] # Set via query string: &DriverId=123 DriverId = "" [Filter] DriverId(ExternalIdName) = Equals(DriverId)
[User] # Set via query string: &Start=2013-02-01&End=2013-03-01 Start(Timestamp) = "" End(Timestamp) = "" [Filter] From = Between(Start, End)
This list includes each column's name, which you use in expressions to retrieve data, and data type, which defines how the data is retrieved.
Column | Data Type | Description |
---|---|---|
UnitId | Id<Unit> | (required; writable only on Create) The ID of the Unit to which this record refers. |
DriverId | Id<Driver> | (required; writable only on Create) The ID of the Driver to which this record refers. |
From | Timestamp | (required; writable only on Create) The time that this assignment began. It cannot be greater than the current time. |
To | Timestamp | (read-only) The time that this assignment ended. If the assignment is still in effect, then nothing will be returned. |