Skip to main content

Position

No description

type Position {
_id: ObjectId!
otId: String!
event: String
isMock: Boolean
timestamp: DateTime!
driver: ObjectId!
company: ObjectId!
order: ObjectId
stop: ObjectId
isMoving: Boolean
odometer: Float
geoCoordinates: GeoCoordinates!
activity: Activity
battery: Battery
createdAt: DateTime!
updatedAt: DateTime!
}

Fields

Position._id ● ObjectId! non-null scalar

Position.otId ● String! non-null scalar

represents the unique identifier of the Open Telematics entity that initiated this record.

Position.event ● String scalar

Event which caused this location to be recorded

Position.isMock ● Boolean scalar

Indicates whether the data originated from a mock location app.

Position.timestamp ● DateTime! non-null scalar

Position.driver ● ObjectId! non-null scalar

Position.company ● ObjectId! non-null scalar

Position.order ● ObjectId scalar

Note, this field is determined automatically by the backend.

Position.stop ● ObjectId scalar

Position.isMoving ● Boolean scalar

Position.odometer ● Float scalar

represents the distance traveled by this driver/truck

Position.geoCoordinates ● GeoCoordinates! non-null object

Position.activity ● Activity object

Position.battery ● Battery object

Position.createdAt ● DateTime! non-null scalar

Position.updatedAt ● DateTime! non-null scalar