LDXJobStatusV1

Occurs when job is done.Failed, Cancelled, Complete.

Webhook Payload

The webhook event is encapsulated within a common wrapper structure providing general information about the event.

PropertyTypeDescription
idstringUnique event id. The same event will have the same id
versionstringVersion of the event schema
occurredAtstringTimestamp when the event occured
tenantIdstringUnique tenant id
tenantNamestringTenant name
dataobjectThe container of the event details data object details
applicationstringApplication
productAreastringProduct Area

data object details

PropertyTypeDescription
batchInstanceIdstringUnique batch instance id
teamSiteIdstringUnique team site id
batchIdstringBatch id
namestringName
statusstringStatus
userIdstringUser id
userNamestringUser name
createdAtstringTimestamp when the event was created
completedAtstringTimestamp when the event was completed
durationstringDuration of the event
variantCountintegerVariant count
countsobjectcounts counts object details
initiatedFromLiveDocbooleanInitiated from live doc

counts object details

PropertyTypeDescription
failedintegerFailed count
canceledintegerCanceled count
completedintegerCompleted count

Example

{
  "id": "GUID",
  "version": "LDXJobStatusV1",
  "occurredAt": "2023-01-20T21:13:25.268Z",
  "tenantId": "b4d8bb18-dc97-4e18-8049-50a04edf453f",
  "tenantName": "fsdev",
  "data": {
    "batchInstanceId": "36032adf-2435-485a-870f-b75520c0b6da",
    "teamSiteId": "47e52009-1ac8-4b89-bacc-3a2268725fb8",
    "batchId": "47e52009-1ac8-4b89-bacc-3a2268725fb8",
    "name": "Job name",
    "status": "Completed",
    "userId": "36032adf-2435-485a-870f-b75520c0b6da",
    "userName": "Bill Smith",
    "createdAt": "2023-01-20T21:13:25.268Z",
    "completedAt": "2023-01-20T21:13:25.268Z",
    "duration": "00:00:59.387791",
    "variantCount": 8,
    "counts": {
      "failed": 1,
      "canceled": 0,
      "completed": 7
    },
    "initiatedFromLiveDoc": false
  },
  "application": "LiveDocsExpress",
  "productArea": "LiveDocs"
}