[Beta] MissingDvirPastDue Event Schema

[Beta] MissingDvirPastDue Webhook Payload

Example

{
    "eventId": "017db07f-6e95-470e-8cc0-a371f9deed2b",
    "eventTime": "1970-01-20T06:39:05.683Z",
    "eventType": "MissingDvirPastDue",
    "orgId": 20936,
    "webhookId": "1411751028848270",
    "data": {
        "dvir": {
            "baseFormSubmission": {
                "assignedToPolymorphicUser": {
                    "name": "John Doe",
                    "polymorphicUserId": "driver-12345"
                },
                "dueDate": "2019-06-13T19:08:25Z",
                "serverUpdatedAt": "2020-01-27T07:06:25Z",
                "uuid": "550e8400-e29b-41d4-a716-446655440000"
            },
            "inspectionType": "preTrip",
            "relatedDevices": [
                {
                    "assetType": "Vehicle",
                    "device": {
                        "externalIds": {
                            "maintenanceId": "250020"
                        },
                        "licensePlate": "ABC-1234",
                        "name": "Fleet Truck #1",
                        "vehicleVin": "1HGBH41JXMN109186"
                    },
                    "deviceId": 494123
                },
                {
                    "assetType": "Vehicle",
                    "device": {
                        "externalIds": {
                            "maintenanceId": "250020"
                        },
                        "licensePlate": "ABC-1234",
                        "name": "Fleet Truck #1",
                        "vehicleVin": "1HGBH41JXMN109186"
                    },
                    "deviceId": 494123
                }
            ],
            "uuid": "550e8400-e29b-41d4-a716-446655440000"
        }
    }
}

##Reference

Property NameDescription
dvir
object
A DVIR description.
    baseFormSubmission
    object
Base form submission metadata.
        assignedToPolymorphicUser
        object
The user or driver assigned to complete the DVIR.
            name
            string
The name of the user or driver assigned to the DVIR.
            polymorphicUserId
            string
The polymorphic user ID that identifies the user or driver.
        dueDate
        string
Time of when the form submission is due. UTC timestamp in RFC 3339 format.
        serverUpdatedAt
        string
Time when the form submission was last updated on the server. UTC timestamp in RFC 3339 format.
        uuid
        string
The unique UUID of the form submission
    inspectionType
    string
Inspection type of the DVIR. Valid values: preTrip, postTrip, mechanic, unset.
    relatedDevices
    object array
List of devices (vehicles/trailers) associated with the DVIR.
        assetType
        string
The type of asset. Valid values: Vehicle, Trailer.
        device
        object
Device details associated with the DVIR.
            externalIds
            object
A map of external ids
            licensePlate
            string
The license plate of the vehicle.
            name
            string
The name of the device.
            vehicleVin
            string
The VIN of the vehicle.
        deviceId
        integer
The ID of the device.
    uuid
    string
The unique UUID of the DVIR2 submission