documents.document.updateCompleted

The document.updatecompleted event is triggered when a document has been updated

Payload JSON

{
  "eventBatchId": "550e8400-e29b-41d4-a716-446655440000",
  "eventSubscriptionId": "660e8400-e29b-41d4-a716-446655440001",
  "eventBatchTime": "2026-05-27T14:30:00Z",
  "eventsData": [
    {
      "eventType": "documents.document.updateCompleted",
      "eventVersion": 1,
      "eventData": {
        "document": {
          "id": "770e8400-e29b-41d4-a716-000000000001",
          "comment": "",
          "assetId": "770e8400-e29b-41d4-a716-000000000002",
          "driverId": "770e8400-e29b-41d4-a716-000000000003",
          "tags": {
            "key": "value"
          },
          "location": {
            "longitude": 13.405387,
            "latitude": 52.520008,
            "validity": "valid"
          },
          "createdOn": "2026-05-27T14:30:00Z",
          "registeredOn": "2026-05-27T14:30:00Z",
          "uploadCompletedOn": "2026-05-27T14:30:00Z",
          "documentType": "sample",
          "files": [
            {
              "id": "770e8400-e29b-41d4-a716-000000000004",
              "name": "document name",
              "errorInfo": "sample"
            }
          ]
        },
        "organizationId": "770e8400-e29b-41d4-a716-000000000005",
        "registeredOn": "2026-05-27T14:30:00Z",
        "eventId": "770e8400-e29b-41d4-a716-000000000006",
        "occurredOn": "2026-05-27T14:30:00Z"
      }
    }
  ]
}

Field level Description

FieldTypeDescription
documentDocumentThe complete document information
document.idGuidUnique identifier of the document
document.commentStringComment associated with the document
document.assetIdGuidUnique identifier of the asset
document.driverIdGuid?Unique identifier of the driver
document.tagsDictionary<String, String>Key-value metadata tags attached to the document
document.locationCoordinateGPS coordinates of where the document was created
document.location.longitudeDoubleThe longitude coordinate in decimal degrees
document.location.latitudeDoubleThe latitude coordinate in decimal degrees
document.location.validityString (invalid, valid)Validity status of the coordinate: Valid or Invalid
document.createdOnDateTimeUTC timestamp when the document was created on the server
document.registeredOnDateTimeUTC timestamp when the document was submitted on the device
document.uploadCompletedOnDateTimeUTC timestamp when the the last file was uploaded on the server
document.documentTypeStringType of the document
document.filesList<DocumentFile>List of files attached to the document
document.files[].idGuidUnique identifier of the file
document.files[].nameStringName of the file
document.files[].errorInfoStringError information if file processing failed
organizationIdGuidOrganization identifier
registeredOnDateTimeRegistration timestamp
eventIdGuidEvent identifier
occurredOnDateTimeEvent occurrence timestamp

Did this page help you?