Webhook Payload Examples

(Work in Progress)

Example Payloads

Here are some of the example Payloads for each of the Webhook Triggers

Note: taskUpdated can be various status changes, including assigned, unassigned, completed, completed with more information. The taskUpdated example shown is when Task is Completed and updated with location data.

{
  "actionContext": {
    "id": "vjw*RDMKDljKVDve1Vtcplgu",
    "type": "ADMIN"
  },
  "adminId": "vjw*RDMKDljKVDve1Vtcplgu",
  "data": {
    "task": {
      "appearance": {
        "triangleColor": null
      },
      "completeAfter": 1612987200000,
      "completeBefore": 1613008800000,
      "completionDetails": {
        "actions": [],
        "events": [],
        "failureNotes": "",
        "failureReason": "NONE",
        "firstLocation": [],
        "lastLocation": [],
        "time": null,
        "unavailableAttachments": []
      },
      "container": {
        "type": "WORKER",
        "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
      },
      "creator": "vjw*RDMKDljKVDve1Vtcplgu",
      "delayTime": null,
      "dependencies": [],
      "destination": {
        "address": {
          "apartment": "",
          "city": "Anaheim",
          "country": "United States",
          "name": "Honda Center",
          "number": "2695",
          "postalCode": "92806",
          "state": "California",
          "street": "East Katella Avenue"
        },
        "id": "I5rMyWx4YHDcMGIwfD3TL8nf",
        "location": [
          -117.8764687,
          33.8078476
        ],
        "metadata": [],
        "notes": "This is a destination note",
        "timeCreated": 1613002583000,
        "timeLastModified": 1613002583913
      },
      "estimatedArrivalTime": null,
      "estimatedCompletionTime": null,
      "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "feedback": [],
      "id": "txiK2xHBIaUwAKB~BJrjscKu",
      "identity": {
        "checksum": null,
        "failedScanCount": 0
      },
      "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "metadata": [],
      "notes": "This is a Task note",
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "overrides": {},
      "pickupTask": false,
      "quantity": 1,
      "recipients": [
        {
          "id": "A~pBTrc5~dTMBBImswg7U4YT",
          "metadata": [],
          "name": "Test User One",
          "notes": "This is a recipient note",
          "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
          "phone": "+17145554231",
          "skipSMSNotifications": false,
          "timeCreated": 1613002583000,
          "timeLastModified": 1613002583931
        }
      ],
      "serviceTime": 3,
      "shortId": "fab829cf",
      "state": 1,
      "timeCreated": 1613002583000,
      "timeLastModified": 1613002583970,
      "trackingURL": "https://onf.lt/fab829cf81",
      "trackingViewed": false,
      "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
    }
  },
  "taskId": "txiK2xHBIaUwAKB~BJrjscKu",
  "time": 1613002584051,
  "triggerId": 6,
  "triggerName": "taskCreated",
  "workerId": null
}
{
  "actionContext": null,
  "adminId": null,
  "data": {
    "worker": {
      "accountStatus": "ACCEPTED",
      "activeTask": null,
      "capacity": 3,
      "delayTime": null,
      "displayName": "",
      "hasRecentlyUsedSpoofedLocations": false,
      "id": "COwfwH~Zogm1LXIZYbPlLAyw",
      "imageUrl": null,
      "location": null,
      "metadata": [],
      "name": "Shured Shuanger",
      "onDuty": true,
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "phone": "+17145555678",
      "tasks": [
        "txiK2xHBIaUwAKB~BJrjscKu"
      ],
      "teams": [
        "K3FXFtJj2FtaO2~H60evRrDc"
      ],
      "timeCreated": 1585254830000,
      "timeLastModified": 1613003712585,
      "timeLastSeen": 1613003870027,
      "timezone": "America/Los_Angeles",
      "userData": {
        "appVersion": "2.1.11.1",
        "batteryLevel": 0.64,
        "deviceDescription": "Google Pixel 2 (Android 11)",
        "platform": "ANDROID"
      },
      "vehicle": {
        "color": "",
        "description": "",
        "id": "Dib0eZfs*uJhJmWHKL~tExub",
        "licensePlate": "",
        "timeLastModified": 1612226873144,
        "type": "CAR"
      }
    }
  },
  "status": 1,
  "taskId": null,
  "time": 1613003870062,
  "triggerId": 5,
  "triggerName": "workerDuty",
  "workerId": "COwfwH~Zogm1LXIZYbPlLAyw"
}
{
  "actionContext": {
    "id": "vjw*RDMKDljKVDve1Vtcplgu",
    "type": "ADMIN"
  },
  "adminId": "vjw*RDMKDljKVDve1Vtcplgu",
  "data": {
    "task": {
      "appearance": {
        "triangleColor": null
      },
      "completeAfter": 1612987200000,
      "completeBefore": 1613008800000,
      "completionDetails": {
        "actions": [],
        "events": [],
        "failureNotes": "",
        "failureReason": "NONE",
        "firstLocation": [],
        "lastLocation": [],
        "time": null,
        "unavailableAttachments": []
      },
      "container": {
        "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
        "type": "ORGANIZATION"
      },
      "creator": "vjw*RDMKDljKVDve1Vtcplgu",
      "delayTime": null,
      "dependencies": [],
      "destination": {
        "address": {
          "apartment": "",
          "city": "Anaheim",
          "country": "United States",
          "name": "Honda Center",
          "number": "2695",
          "postalCode": "92806",
          "state": "California",
          "street": "East Katella Avenue"
        },
        "id": "I5rMyWx4YHDcMGIwfD3TL8nf",
        "location": [
          -117.8764687,
          33.8078476
        ],
        "metadata": [],
        "notes": "This is a destination note",
        "timeCreated": 1613002583000,
        "timeLastModified": 1613002583913
      },
      "estimatedArrivalTime": null,
      "estimatedCompletionTime": null,
      "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "feedback": [],
      "id": "txiK2xHBIaUwAKB~BJrjscKu",
      "identity": {
        "checksum": null,
        "failedScanCount": 0
      },
      "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "metadata": [],
      "notes": "This is a Task note",
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "overrides": {},
      "pickupTask": false,
      "quantity": 1,
      "recipients": [
        {
          "id": "A~pBTrc5~dTMBBImswg7U4YT",
          "metadata": [],
          "name": "Test User One",
          "notes": "This is a recipient note",
          "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
          "phone": "+17145554231",
          "skipSMSNotifications": false,
          "timeCreated": 1613002583000,
          "timeLastModified": 1613002583931
        }
      ],
      "serviceTime": 3,
      "shortId": "fab829cf",
      "state": 0,
      "timeCreated": 1613002583000,
      "timeLastModified": 1613003963558,
      "trackingURL": "https://onf.lt/fab829cf81",
      "trackingViewed": false,
      "worker": null
    }
  },
  "taskId": "txiK2xHBIaUwAKB~BJrjscKu",
  "time": 1613003963647,
  "triggerId": 10,
  "triggerName": "taskUnassigned",
  "workerId": null
}
{
    "taskId": "w7CcGpzsMnEiUg1AqgxQbPE~",
    "workerId": "ZxcnkJi~79nonYaMTQ960Mg2",
    "actionContext":
    {
        "type": "ADMIN",
        "id": "vjw*RDMKDljKVDve1Vtcplgu"
    },
    "triggerId": 7,
    "triggerName": "taskUpdated",
    "adminId": "vjw*RDMKDljKVDve1Vtcplgu",
    "data":
    {
        "task":
        {
            "id": "w7CcGpzsMnEiUg1AqgxQbPE~",
            "timeCreated": 1627329316000,
            "timeLastModified": 1627329522544,
            "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
            "shortId": "c9ed4d00",
            "trackingURL": "https://onf.lt/c9ed4d00",
            "worker": "ZxcnkJi~79nonYaMTQ960Mg2",
            "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
            "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
            "creator": "vjw*RDMKDljKVDve1Vtcplgu",
            "dependencies":
            [],
            "state": 1,
            "completeAfter": null,
            "completeBefore": null,
            "pickupTask": false,
            "notes": "This is updated Notes",
            "completionDetails":
            {
                "failureNotes": "",
                "failureReason": "NONE",
                "events":
                [],
                "actions":
                [],
                "time": null,
                "firstLocation":
                [],
                "lastLocation":
                [],
                "unavailableAttachments":
                []
            },
            "feedback":
            [],
            "metadata":
            [],
            "overrides":
            {},
            "quantity": 0,
            "serviceTime": 0,
            "identity":
            {
                "failedScanCount": 0,
                "checksum": null
            },
            "appearance":
            {
                "triangleColor": null
            },
            "container":
            {
                "type": "WORKER",
                "worker": "ZxcnkJi~79nonYaMTQ960Mg2"
            },
            "trackingViewed": false,
            "recipients":
            [],
            "estimatedCompletionTime": 1627330894582,
            "estimatedArrivalTime": 1627330592582,
            "destination":
            {
                "id": "7i9PoiinkxWtWbytv1HLY9SS",
                "timeCreated": 1627329316000,
                "timeLastModified": 1627329522522,
                "location":
                [
                    -117.8764687,
                    33.8078476
                ],
                "address":
                {
                    "apartment": "",
                    "state": "California",
                    "postalCode": "92806",
                    "number": "2695",
                    "street": "East Katella Avenue",
                    "city": "Anaheim",
                    "country": "United States",
                    "name": "Honda Center"
                },
                "notes": "",
                "metadata":
                [],
                "googlePlaceId": null,
                "warnings":
                []
            },
            "delayTime": null
        },
        "worker":
        {
            "id": "ZxcnkJi~79nonYaMTQ960Mg2",
            "timeCreated": 1618618787000,
            "timeLastModified": 1627329496627,
            "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
            "name": "Red Ranger",
            "displayName": "",
            "phone": "+17145555768",
            "activeTask": null,
            "tasks":
            [
                "w7CcGpzsMnEiUg1AqgxQbPE~"
            ],
            "onDuty": true,
            "timeLastSeen": 1627329498940,
            "capacity": 0,
            "userData":
            {
                "appVersion": "2.1.13.2",
                "batteryLevel": 0.65,
                "deviceDescription": "Google Pixel 2 (Android 11)",
                "platform": "ANDROID"
            },
            "accountStatus": "ACCEPTED",
            "metadata":
            [],
            "timezone": "America/Los_Angeles",
            "imageUrl": null,
            "teams":
            [
                "K3FXFtJj2FtaO2~H60evRrDc"
            ],
            "delayTime": null,
            "location":
            [
                -117.8954515,
                33.9131014
            ],
            "hasRecentlyUsedSpoofedLocations": false,
            "vehicle":
            {
                "id": "vSRLJ80Aw3DljIh1Rj9obLtn",
                "type": "CAR",
                "description": "",
                "licensePlate": "",
                "color": "",
                "timeLastModified": 1625065516261
            }
        }
    },
    "time": 1627329522593
}
{
  "actionContext": {
    "id": "vjw*RDMKDljKVDve1Vtcplgu",
    "type": "ADMIN"
  },
  "adminId": "vjw*RDMKDljKVDve1Vtcplgu",
  "data": {
    "task": {
      "appearance": {
        "triangleColor": null
      },
      "completeAfter": null,
      "completeBefore": 1613008800000,
      "completionDetails": {
        "actions": [],
        "events": [],
        "failureNotes": "",
        "failureReason": "NONE",
        "firstLocation": [],
        "lastLocation": [],
        "time": null,
        "unavailableAttachments": []
      },
      "container": {
        "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
        "type": "ORGANIZATION"
      },
      "creator": "vjw*RDMKDljKVDve1Vtcplgu",
      "delayTime": null,
      "dependencies": [],
      "destination": {
        "address": {
          "apartment": "",
          "city": "Anaheim",
          "country": "United States",
          "name": "Honda Center",
          "number": "2695",
          "postalCode": "92806",
          "state": "California",
          "street": "East Katella Avenue"
        },
        "id": "pJcfO7NRJaor~Tl8ggBHrveJ",
        "location": [
          -117.8764687,
          33.8078476
        ],
        "metadata": [],
        "notes": "This is a destination note",
        "timeCreated": 1613004115000,
        "timeLastModified": 1613004115635
      },
      "estimatedArrivalTime": null,
      "estimatedCompletionTime": null,
      "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "feedback": [],
      "id": "3C0W9uLyWC5R4V5fuj7bzJpk",
      "identity": {
        "checksum": null,
        "failedScanCount": 0
      },
      "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "metadata": [],
      "notes": "This is a Task note",
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "overrides": {},
      "pickupTask": false,
      "quantity": 1,
      "recipients": [
        {
          "id": "A~pBTrc5~dTMBBImswg7U4YT",
          "metadata": [],
          "name": "Test User One",
          "notes": "This is a recipient note",
          "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
          "phone": "+17145554231",
          "skipSMSNotifications": false,
          "timeCreated": 1613002583000,
          "timeLastModified": 1613002583931
        }
      ],
      "serviceTime": 3,
      "shortId": "9ad82b23",
      "sourceTaskId": "txiK2xHBIaUwAKB~BJrjscKu",
      "state": 0,
      "timeCreated": 1613004116000,
      "timeLastModified": 1613004116038,
      "trackingURL": "https://onf.lt/9ad82b2380",
      "trackingViewed": false,
      "worker": null
    }
  },
  "taskId": "3C0W9uLyWC5R4V5fuj7bzJpk",
  "time": 1613004116101,
  "triggerId": 13,
  "triggerName": "taskCloned",
  "workerId": null
}
{
  "actionContext": {
    "id": "vjw*RDMKDljKVDve1Vtcplgu",
    "type": "ADMIN"
  },
  "adminId": "vjw*RDMKDljKVDve1Vtcplgu",
  "data": {
    "task": {
      "appearance": {
        "triangleColor": null
      },
      "completeAfter": 1612987200000,
      "completeBefore": 1613008800000,
      "completionDetails": {
        "actions": [],
        "events": [],
        "failureNotes": "",
        "failureReason": "NONE",
        "firstLocation": [],
        "lastLocation": [],
        "time": null,
        "unavailableAttachments": []
      },
      "container": {
        "type": "WORKER",
        "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
      },
      "creator": "vjw*RDMKDljKVDve1Vtcplgu",
      "delayTime": null,
      "dependencies": [],
      "destination": {
        "address": {
          "apartment": "",
          "city": "Anaheim",
          "country": "United States",
          "name": "Honda Center",
          "number": "2695",
          "postalCode": "92806",
          "state": "California",
          "street": "East Katella Avenue"
        },
        "id": "I5rMyWx4YHDcMGIwfD3TL8nf",
        "location": [
          -117.8764687,
          33.8078476
        ],
        "metadata": [],
        "notes": "This is a destination note",
        "timeCreated": 1613002583000,
        "timeLastModified": 1613002583913
      },
      "estimatedArrivalTime": null,
      "estimatedCompletionTime": null,
      "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "feedback": [],
      "id": "txiK2xHBIaUwAKB~BJrjscKu",
      "identity": {
        "checksum": null,
        "failedScanCount": 0
      },
      "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "metadata": [],
      "notes": "This is a Task note",
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "overrides": {},
      "pickupTask": false,
      "quantity": 1,
      "recipients": [
        {
          "id": "A~pBTrc5~dTMBBImswg7U4YT",
          "metadata": [],
          "name": "Test User One",
          "notes": "This is a recipient note",
          "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
          "phone": "+17145554231",
          "skipSMSNotifications": false,
          "timeCreated": 1613002583000,
          "timeLastModified": 1613002583931
        }
      ],
      "serviceTime": 3,
      "shortId": "fab829cf",
      "state": 1,
      "timeCreated": 1613002583000,
      "timeLastModified": 1613004164514,
      "trackingURL": "https://onf.lt/fab829cf81",
      "trackingViewed": false,
      "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
    },
    "worker": {
      "accountStatus": "ACCEPTED",
      "activeTask": null,
      "capacity": 3,
      "delayTime": null,
      "displayName": "",
      "hasRecentlyUsedSpoofedLocations": false,
      "id": "COwfwH~Zogm1LXIZYbPlLAyw",
      "imageUrl": null,
      "location": [
        -117.8901118,
        33.893365
      ],
      "metadata": [],
      "name": "Shured Shuanger",
      "onDuty": true,
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "phone": "+17145555678",
      "tasks": [
        "txiK2xHBIaUwAKB~BJrjscKu"
      ],
      "teams": [
        "K3FXFtJj2FtaO2~H60evRrDc"
      ],
      "timeCreated": 1585254830000,
      "timeLastModified": 1613004164511,
      "timeLastSeen": 1613004141332,
      "timezone": "America/Los_Angeles",
      "userData": {
        "appVersion": "2.1.11.1",
        "batteryLevel": 0.64,
        "deviceDescription": "Google Pixel 2 (Android 11)",
        "platform": "ANDROID"
      },
      "vehicle": {
        "color": "",
        "description": "",
        "id": "Dib0eZfs*uJhJmWHKL~tExub",
        "licensePlate": "",
        "timeLastModified": 1612226873144,
        "type": "CAR"
      }
    }
  },
  "taskId": "txiK2xHBIaUwAKB~BJrjscKu",
  "time": 1613004164575,
  "triggerId": 9,
  "triggerName": "taskAssigned",
  "workerId": "COwfwH~Zogm1LXIZYbPlLAyw"
}
{
  "actionContext": {
    "id": "vjw*RDMKDljKVDve1Vtcplgu",
    "type": "ADMIN"
  },
  "adminId": "vjw*RDMKDljKVDve1Vtcplgu",
  "data": {
    "task": {
      "appearance": {
        "triangleColor": null
      },
      "completeAfter": null,
      "completeBefore": 1613008800000,
      "completionDetails": {
        "actions": [],
        "events": [],
        "failureNotes": "",
        "failureReason": "NONE",
        "firstLocation": [],
        "lastLocation": [],
        "time": null,
        "unavailableAttachments": []
      },
      "container": {
        "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
        "type": "ORGANIZATION"
      },
      "creator": "vjw*RDMKDljKVDve1Vtcplgu",
      "dependencies": [],
      "destination": {
        "address": {
          "apartment": "",
          "city": "Anaheim",
          "country": "United States",
          "name": "Honda Center",
          "number": "2695",
          "postalCode": "92806",
          "state": "California",
          "street": "East Katella Avenue"
        },
        "id": "pJcfO7NRJaor~Tl8ggBHrveJ",
        "location": [
          -117.8764687,
          33.8078476
        ],
        "metadata": [],
        "notes": "This is a destination note",
        "timeCreated": 1613004115000,
        "timeLastModified": 1613004115635
      },
      "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "feedback": [],
      "id": "3C0W9uLyWC5R4V5fuj7bzJpk",
      "identity": {
        "checksum": null,
        "failedScanCount": 0
      },
      "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "metadata": [],
      "notes": "This is a Task note",
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "overrides": {},
      "pickupTask": false,
      "quantity": 1,
      "recipients": [
        {
          "id": "A~pBTrc5~dTMBBImswg7U4YT",
          "metadata": [],
          "name": "Test User One",
          "notes": "This is a recipient note",
          "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
          "phone": "+17145554231",
          "skipSMSNotifications": false,
          "timeCreated": 1613002583000,
          "timeLastModified": 1613002583931
        }
      ],
      "serviceTime": 3,
      "shortId": "9ad82b23",
      "sourceTaskId": "txiK2xHBIaUwAKB~BJrjscKu",
      "state": 0,
      "timeCreated": 1613004116000,
      "timeLastModified": 1613004116038,
      "trackingURL": "https://onf.lt/9ad82b2380",
      "trackingViewed": false,
      "worker": null
    }
  },
  "taskId": "3C0W9uLyWC5R4V5fuj7bzJpk",
  "time": 1613004265027,
  "triggerId": 8,
  "triggerName": "taskDeleted",
  "workerId": null
}
{
  "actionContext": {
    "id": "COwfwH~Zogm1LXIZYbPlLAyw",
    "type": "WORKER"
  },
  "adminId": null,
  "data": {
    "task": {
      "appearance": {
        "triangleColor": null
      },
      "completeAfter": 1612987200000,
      "completeBefore": 1613008800000,
      "completionDetails": {
        "actions": [],
        "events": [],
        "failureNotes": "",
        "failureReason": "NONE",
        "firstLocation": [],
        "lastLocation": [],
        "time": null,
        "unavailableAttachments": []
      },
      "container": {
        "type": "WORKER",
        "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
      },
      "creator": "vjw*RDMKDljKVDve1Vtcplgu",
      "dependencies": [],
      "destination": {
        "address": {
          "apartment": "",
          "city": "Anaheim",
          "country": "United States",
          "name": "Honda Center",
          "number": "2695",
          "postalCode": "92806",
          "state": "California",
          "street": "East Katella Avenue"
        },
        "id": "I5rMyWx4YHDcMGIwfD3TL8nf",
        "location": [
          -117.8764687,
          33.8078476
        ],
        "metadata": [],
        "notes": "This is a destination note",
        "timeCreated": 1613002583000,
        "timeLastModified": 1613002583913
      },
      "estimatedArrivalTime": null,
      "estimatedCompletionTime": null,
      "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "feedback": [],
      "id": "txiK2xHBIaUwAKB~BJrjscKu",
      "identity": {
        "checksum": null,
        "failedScanCount": 0
      },
      "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "metadata": [],
      "notes": "This is a Task note",
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "overrides": {},
      "pickupTask": false,
      "quantity": 1,
      "recipients": [
        {
          "id": "A~pBTrc5~dTMBBImswg7U4YT",
          "metadata": [],
          "name": "Test User One",
          "notes": "This is a recipient note",
          "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
          "phone": "+17145554231",
          "skipSMSNotifications": false,
          "timeCreated": 1613002583000,
          "timeLastModified": 1613002583931
        }
      ],
      "serviceTime": 3,
      "shortId": "fab829cf",
      "state": 2,
      "timeCreated": 1613002583000,
      "timeLastModified": 1613004361613,
      "trackingURL": "https://onf.lt/fab829cf81",
      "trackingViewed": false,
      "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
    }
  },
  "taskId": "txiK2xHBIaUwAKB~BJrjscKu",
  "time": 1613004361894,
  "triggerId": 0,
  "triggerName": "taskStarted",
  "workerId": "COwfwH~Zogm1LXIZYbPlLAyw"
}
{
  "actionContext": {
    "id": "COwfwH~Zogm1LXIZYbPlLAyw",
    "type": "WORKER"
  },
  "adminId": null,
  "data": {
    "task": {
      "appearance": {
        "triangleColor": null
      },
      "completeAfter": 1612987200000,
      "completeBefore": 1613008800000,
      "completionDetails": {
        "actions": [],
        "events": [
          {
            "name": "start",
            "time": 1613004361594
          }
        ],
        "failureNotes": "",
        "failureReason": "UNABLE_TO_LOCATE",
        "firstLocation": [],
        "lastLocation": [],
        "notes": "this is a failure note",
        "photoUploadId": null,
        "photoUploadIds": [],
        "signatureUploadId": null,
        "success": false,
        "time": 1613004459779,
        "unavailableAttachments": []
      },
      "creator": "vjw*RDMKDljKVDve1Vtcplgu",
      "delayTime": null,
      "dependencies": [],
      "destination": {
        "address": {
          "apartment": "",
          "city": "Anaheim",
          "country": "United States",
          "name": "Honda Center",
          "number": "2695",
          "postalCode": "92806",
          "state": "California",
          "street": "East Katella Avenue"
        },
        "id": "I5rMyWx4YHDcMGIwfD3TL8nf",
        "location": [
          -117.8764687,
          33.8078476
        ],
        "metadata": [],
        "notes": "This is a destination note",
        "timeCreated": 1613002583000,
        "timeLastModified": 1613002583913
      },
      "estimatedArrivalTime": null,
      "estimatedCompletionTime": null,
      "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "feedback": [],
      "id": "txiK2xHBIaUwAKB~BJrjscKu",
      "identity": {
        "checksum": null,
        "failedScanCount": 0
      },
      "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "metadata": [],
      "notes": "This is a Task note",
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "overrides": {},
      "pickupTask": false,
      "quantity": 1,
      "recipients": [
        {
          "id": "A~pBTrc5~dTMBBImswg7U4YT",
          "metadata": [],
          "name": "Test User One",
          "notes": "This is a recipient note",
          "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
          "phone": "+17145554231",
          "skipSMSNotifications": false,
          "timeCreated": 1613002583000,
          "timeLastModified": 1613002583931
        }
      ],
      "serviceTime": 3,
      "shortId": "fab829cf",
      "state": 3,
      "timeCreated": 1613002583000,
      "timeLastModified": 1613004459863,
      "trackingURL": "https://onf.lt/fab829cf81",
      "trackingViewed": false,
      "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
    }
  },
  "taskId": "txiK2xHBIaUwAKB~BJrjscKu",
  "time": 1613004460070,
  "triggerId": 4,
  "triggerName": "taskFailed",
  "workerId": "COwfwH~Zogm1LXIZYbPlLAyw"
}
{
  "actionContext": {
    "id": "COwfwH~Zogm1LXIZYbPlLAyw",
    "type": "WORKER"
  },
  "adminId": null,
  "data": {
    "task": {
      "appearance": {
        "triangleColor": null
      },
      "completeAfter": null,
      "completeBefore": 1613008800000,
      "completionDetails": {
        "actions": [],
        "events": [
          {
            "name": "start",
            "time": 1613004620434
          }
        ],
        "failureNotes": "",
        "failureReason": "NONE",
        "firstLocation": [],
        "lastLocation": [],
        "notes": "this is a completed note",
        "photoUploadId": null,
        "photoUploadIds": [],
        "signatureUploadId": null,
        "success": true,
        "time": 1613004642071,
        "unavailableAttachments": []
      },
      "creator": "vjw*RDMKDljKVDve1Vtcplgu",
      "delayTime": null,
      "dependencies": [],
      "destination": {
        "address": {
          "apartment": "",
          "city": "Anaheim",
          "country": "United States",
          "name": "Honda Center",
          "number": "2695",
          "postalCode": "92806",
          "state": "California",
          "street": "East Katella Avenue"
        },
        "id": "ycrp3Omwm0qhS2F725DaLsfM",
        "location": [
          -117.8764687,
          33.8078476
        ],
        "metadata": [],
        "notes": "This is a destination note",
        "timeCreated": 1613004583000,
        "timeLastModified": 1613004583735
      },
      "estimatedArrivalTime": null,
      "estimatedCompletionTime": null,
      "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "feedback": [],
      "id": "WGpUvHMTSrwZh*lqtTIt9iSW",
      "identity": {
        "checksum": null,
        "failedScanCount": 0
      },
      "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "metadata": [],
      "notes": "This is a Task note",
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "overrides": {},
      "pickupTask": false,
      "quantity": 1,
      "recipients": [
        {
          "id": "A~pBTrc5~dTMBBImswg7U4YT",
          "metadata": [],
          "name": "Test User One",
          "notes": "This is a recipient note",
          "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
          "phone": "+17145554231",
          "skipSMSNotifications": false,
          "timeCreated": 1613002583000,
          "timeLastModified": 1613002583931
        }
      ],
      "serviceTime": 3,
      "shortId": "b7f82a36",
      "sourceTaskId": "txiK2xHBIaUwAKB~BJrjscKu",
      "state": 3,
      "timeCreated": 1613004583000,
      "timeLastModified": 1613004642099,
      "trackingURL": "https://onf.lt/b7f82a36cf",
      "trackingViewed": false,
      "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
    }
  },
  "taskId": "WGpUvHMTSrwZh*lqtTIt9iSW",
  "time": 1613004642136,
  "triggerId": 3,
  "triggerName": "taskCompleted",
  "workerId": "COwfwH~Zogm1LXIZYbPlLAyw"
}
{
  "actionContext": null,
  "adminId": null,
  "data": {
    "task": {
      "appearance": {
        "triangleColor": null
      },
      "completeAfter": 1613160000000,
      "completeBefore": 1613179800000,
      "completionDetails": {
        "actions": [],
        "events": [],
        "failureNotes": "",
        "failureReason": "NONE",
        "firstLocation": [],
        "lastLocation": [],
        "time": null,
        "unavailableAttachments": []
      },
      "container": {
        "type": "WORKER",
        "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
      },
      "creator": "vjw*RDMKDljKVDve1Vtcplgu",
      "dependencies": [],
      "destination": {
        "address": {
          "apartment": "",
          "city": "Irvine",
          "country": "United States",
          "name": "University of California Irvine, Irvine, CA, USA",
          "number": "",
          "postalCode": "92697",
          "state": "California",
          "street": ""
        },
        "id": "134VHJhnXUqOmaFdISY0r6BD",
        "location": [
          -117.8442962,
          33.6404952
        ],
        "metadata": [],
        "notes": "",
        "timeCreated": 1613177955000,
        "timeLastModified": 1613177955586
      },
      "estimatedArrivalTime": 1613180322638,
      "estimatedCompletionTime": 1613180322638,
      "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "feedback": [],
      "id": "zIeGIBZQZhTRHaK6V6V74Fpg",
      "identity": {
        "checksum": null,
        "failedScanCount": 0
      },
      "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "metadata": [],
      "notes": "",
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "overrides": {},
      "pickupTask": false,
      "quantity": 0,
      "recipients": [
        {
          "id": "7LecFRKJw7ExfyhBsi9h0NXW",
          "metadata": [],
          "name": "Brodie Lee",
          "notes": "Notes do not change *edited* more new notes",
          "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
          "phone": "+17145555678",
          "skipSMSNotifications": false,
          "timeCreated": 1592005264000,
          "timeLastModified": 1613177955599
        }
      ],
      "serviceTime": 0,
      "shortId": "a79d22fb",
      "state": 2,
      "timeCreated": 1613177955000,
      "timeLastModified": 1613178053658,
      "trackingURL": "https://onf.lt/a79d22fb77",
      "trackingViewed": false,
      "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
    }
  },
  "delay": 522.6378813476563,
  "taskId": "zIeGIBZQZhTRHaK6V6V74Fpg",
  "time": 1613178058862,
  "triggerId": 12,
  "triggerName": "taskDelayed",
  "workerId": null
}
{
  "taskId": "hV2lAmBLs~76oXR4jYBjQbgY",
  "etaSeconds": 298.2603148875159,
  "triggerId": 1,
  "triggerName": "taskEta",
  "workerId": null,
  "adminId": null,
  "data": {
    "task": {
      "id": "hV2lAmBLs~76oXR4jYBjQbgY",
      "timeCreated": 1615502820000,
      "timeLastModified": 1615504576163,
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "shortId": "a685d01d",
      "trackingURL": "https://onf.lt/a685d01d24",
      "worker": "COwfwH~Zogm1LXIZYbPlLAyw",
      "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "creator": "vjw*RDMKDljKVDve1Vtcplgu",
      "dependencies": [],
      "state": 2,
      "completeAfter": 1615492800000,
      "completeBefore": 1615505400000,
      "pickupTask": false,
      "notes": "",
      "completionDetails": {
        "failureNotes": "",
        "failureReason": "NONE",
        "events": [],
        "actions": [],
        "time": null,
        "firstLocation": [],
        "lastLocation": [],
        "unavailableAttachments": []
      },
      "feedback": [],
      "metadata": [],
      "overrides": {},
      "quantity": 0,
      "serviceTime": 0,
      "identity": {
        "failedScanCount": 0,
        "checksum": null
      },
      "appearance": {
        "triangleColor": null
      },
      "container": {
        "type": "WORKER",
        "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
      },
      "trackingViewed": false,
      "estimatedCompletionTime": 1615506153703,
      "estimatedArrivalTime": 1615506153703,
      "recipients": [
        {
          "id": "7LecFRKJw7ExfyhBsi9h0NXW",
          "timeCreated": 1592005264000,
          "timeLastModified": 1615502820526,
          "name": "Brodie Lee",
          "phone": "+17145555678",
          "notes": "Notes do not change *edited* more new notes",
          "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
          "skipSMSNotifications": false,
          "metadata": []
        }
      ],
      "destination": {
        "id": "3NACfr4SVlCi8s~vPgKskAip",
        "timeCreated": 1615502820000,
        "timeLastModified": 1615502820514,
        "location": [
          -117.895446,
          33.9131177
        ],
        "address": {
          "apartment": "",
          "state": "California",
          "postalCode": "92821",
          "number": "338",
          "street": "South Redwood Avenue",
          "city": "Brea",
          "country": "United States"
        },
        "notes": "",
        "metadata": []
      }
    }
  },
  "actionContext": null,
  "time": 1615505708224
}
{
  "taskId": "hV2lAmBLs~76oXR4jYBjQbgY",
  "distance": 134.6184612940922,
  "triggerId": 2,
  "triggerName": "taskArrival",
  "workerId": null,
  "adminId": null,
  "data": {
    "task": {
      "id": "hV2lAmBLs~76oXR4jYBjQbgY",
      "timeCreated": 1615502820000,
      "timeLastModified": 1615504576163,
      "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "shortId": "a685d01d",
      "trackingURL": "https://onf.lt/a685d01d24",
      "worker": "COwfwH~Zogm1LXIZYbPlLAyw",
      "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
      "creator": "vjw*RDMKDljKVDve1Vtcplgu",
      "dependencies": [],
      "state": 2,
      "completeAfter": 1615492800000,
      "completeBefore": 1615505400000,
      "pickupTask": false,
      "notes": "",
      "completionDetails": {
        "failureNotes": "",
        "failureReason": "NONE",
        "events": [],
        "actions": [],
        "time": null,
        "firstLocation": [],
        "lastLocation": [],
        "unavailableAttachments": []
      },
      "feedback": [],
      "metadata": [],
      "overrides": {},
      "quantity": 0,
      "serviceTime": 0,
      "identity": {
        "failedScanCount": 0,
        "checksum": null
      },
      "appearance": {
        "triangleColor": null
      },
      "container": {
        "type": "WORKER",
        "worker": "COwfwH~Zogm1LXIZYbPlLAyw"
      },
      "trackingViewed": false,
      "estimatedCompletionTime": 1615506156730,
      "estimatedArrivalTime": 1615506156730,
      "recipients": [
        {
          "id": "7LecFRKJw7ExfyhBsi9h0NXW",
          "timeCreated": 1592005264000,
          "timeLastModified": 1615502820526,
          "name": "Brodie Lee",
          "phone": "+17145555678",
          "notes": "Notes do not change *edited* more new notes",
          "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
          "skipSMSNotifications": false,
          "metadata": []
        }
      ],
      "destination": {
        "id": "3NACfr4SVlCi8s~vPgKskAip",
        "timeCreated": 1615502820000,
        "timeLastModified": 1615502820514,
        "location": [
          -117.895446,
          33.9131177
        ],
        "address": {
          "apartment": "",
          "state": "California",
          "postalCode": "92821",
          "number": "338",
          "street": "South Redwood Avenue",
          "city": "Brea",
          "country": "United States"
        },
        "notes": "",
        "metadata": []
      }
    }
  },
  "actionContext": null,
  "time": 1615505822024
}
{
    "taskId": "w7CcGpzsMnEiUg1AqgxQbPE~",
    "actionContext":
    {
        "type": "WORKER",
        "id": "ZxcnkJi~79nonYaMTQ960Mg2"
    },
    "triggerId": 7,
    "triggerName": "taskUpdated",
    "workerId": "ZxcnkJi~79nonYaMTQ960Mg2",
    "adminId": null,
    "data":
    {
        "task":
        {
            "id": "w7CcGpzsMnEiUg1AqgxQbPE~",
            "timeCreated": 1627329316000,
            "timeLastModified": 1627329761036,
            "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
            "shortId": "c9ed4d00",
            "trackingURL": "https://onf.lt/c9ed4d00",
            "worker": "ZxcnkJi~79nonYaMTQ960Mg2",
            "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
            "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
            "creator": "vjw*RDMKDljKVDve1Vtcplgu",
            "dependencies":
            [],
            "state": 3,
            "completeAfter": null,
            "completeBefore": null,
            "pickupTask": false,
            "notes": "This is updated Notes",
            "completionDetails":
            {
                "failureNotes": "",
                "failureReason": "NONE",
                "notes": "signed",
                "signatureText": "John Smith",
                "success": true,
                "time": 1627329761009,
                "events":
                [
                    {
                        "name": "start",
                        "time": 1627329672397
                    }
                ],
                "actions":
                [],
                "signatureUploadId": null,
                "photoUploadId": "89f81c56036bbfc2469541e1",
                "photoUploadIds":
                [
                    "89f81c56036bbfc2469541e1"
                ],
                "firstLocation":
                [],
                "lastLocation":
                [],
                "unavailableAttachments":
                [
                    {
                        "status": "UNAVAILABLE",
                        "attachmentId": "e8384b6af2a6ce3454c00616",
                        "attachmentType": "SIGNATURE"
                    }
                ]
            },
            "feedback":
            [],
            "metadata":
            [],
            "overrides":
            {},
            "quantity": 0,
            "serviceTime": 0,
            "identity":
            {
                "failedScanCount": 0,
                "checksum": null
            },
            "appearance":
            {
                "triangleColor": null
            },
            "trackingViewed": false,
            "recipients":
            [],
            "estimatedCompletionTime": null,
            "estimatedArrivalTime": null,
            "delayTime": null,
            "destination":
            {
                "id": "7i9PoiinkxWtWbytv1HLY9SS",
                "timeCreated": 1627329316000,
                "timeLastModified": 1627329522522,
                "location":
                [
                    -117.8764687,
                    33.8078476
                ],
                "address":
                {
                    "apartment": "",
                    "state": "California",
                    "postalCode": "92806",
                    "number": "2695",
                    "street": "East Katella Avenue",
                    "city": "Anaheim",
                    "country": "United States",
                    "name": "Honda Center"
                },
                "notes": "",
                "metadata":
                [],
                "googlePlaceId": null,
                "warnings":
                []
            }
        }
    },
    "time": 1627329772583
}
{
    "taskId": "w7CcGpzsMnEiUg1AqgxQbPE~",
    "actionContext":
    {
        "type": "WORKER",
        "id": "ZxcnkJi~79nonYaMTQ960Mg2"
    },
    "triggerId": 7,
    "triggerName": "taskUpdated",
    "workerId": "ZxcnkJi~79nonYaMTQ960Mg2",
    "adminId": null,
    "data":
    {
        "task":
        {
            "id": "w7CcGpzsMnEiUg1AqgxQbPE~",
            "timeCreated": 1627329316000,
            "timeLastModified": 1627329761036,
            "organization": "nYrkNP6jZMSKgBwG9qG7ci3J",
            "shortId": "c9ed4d00",
            "trackingURL": "https://onf.lt/c9ed4d00",
            "worker": "ZxcnkJi~79nonYaMTQ960Mg2",
            "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J",
            "executor": "nYrkNP6jZMSKgBwG9qG7ci3J",
            "creator": "vjw*RDMKDljKVDve1Vtcplgu",
            "dependencies":
            [],
            "state": 3,
            "completeAfter": null,
            "completeBefore": null,
            "pickupTask": false,
            "notes": "This is updated Notes",
            "completionDetails":
            {
                "failureNotes": "",
                "failureReason": "NONE",
                "notes": "signed",
                "signatureText": "John Smith",
                "success": true,
                "time": 1627329761009,
                "events":
                [
                    {
                        "name": "start",
                        "time": 1627329672397
                    }
                ],
                "actions":
                [],
                "signatureUploadId": "e8384b6af2a6ce3454c00616",
                "photoUploadId": "89f81c56036bbfc2469541e1",
                "photoUploadIds":
                [
                    "89f81c56036bbfc2469541e1"
                ],
                "firstLocation":
                [],
                "lastLocation":
                [],
                "unavailableAttachments":
                []
            },
            "feedback":
            [],
            "metadata":
            [],
            "overrides":
            {},
            "quantity": 0,
            "serviceTime": 0,
            "identity":
            {
                "failedScanCount": 0,
                "checksum": null
            },
            "appearance":
            {
                "triangleColor": null
            },
            "trackingViewed": false,
            "recipients":
            [],
            "estimatedCompletionTime": null,
            "estimatedArrivalTime": null,
            "delayTime": null,
            "destination":
            {
                "id": "7i9PoiinkxWtWbytv1HLY9SS",
                "timeCreated": 1627329316000,
                "timeLastModified": 1627329522522,
                "location":
                [
                    -117.8764687,
                    33.8078476
                ],
                "address":
                {
                    "apartment": "",
                    "state": "California",
                    "postalCode": "92806",
                    "number": "2695",
                    "street": "East Katella Avenue",
                    "city": "Anaheim",
                    "country": "United States",
                    "name": "Honda Center"
                },
                "notes": "",
                "metadata":
                [],
                "googlePlaceId": null,
                "warnings":
                []
            }
        }
    },
    "time": 1627329772583
}
{
    "adminId": "i18uIpm5NNNw6nBL8QMW1JM7",
    "workerId": "sccpOkp3SassNmJxHjm1UFc5",
    "actionContext":
    {
        "id": "i18uIpm5NNNw6nBL8QMW1JM7",
        "type": "ADMIN"
    },
    "triggerId": 15,
    "triggerName": "workerCreated",
    "taskId": null,
    "data":
    {
        "worker":
        {
            "id": "sccpOkp3SassNmJxHjm1UFc5",
            "timeCreated": 1623274200000,
            "timeLastModified": 1623274200799,
            "organization": "1MWYTEQf6jioThhHhH4~KmVI",
            "name": "John Smith",
            "displayName": "",
            "phone": "+17145555768",
            "activeTask": null,
            "tasks":
            [],
            "onDuty": false,
            "timeLastSeen": null,
            "capacity": 0,
            "userData":
            {},
            "accountStatus": "INVITED",
            "metadata":
            [],
            "timezone": null,
            "imageUrl": null,
            "teams":
            [
                "QNwu7xmlvGHzAYXk2zmZocD2"
            ],
            "vehicle":
            {
                "id": "3O7k6AmNVc5U8~AkgNRVxGTm",
                "type": "CAR",
                "description": "1996 Honda Accord",
                "licensePlate": null,
                "color": "Green",
                "timeLastModified": 1623274200789
            }
        }
    },
    "time": 1623274200840
}
{
    "actionContext":
    {
        "type": "ADMIN",
        "id": "i18uIpm5NNNw6nBL8QMW1JM7"
    },
    "workerId": "sccpOkp3SassNmJxHjm1UFc5",
    "triggerId": 16,
    "triggerName": "workerDeleted",
    "taskId": null,
    "adminId": "i18uIpm5NNNw6nBL8QMW1JM7",
    "data":
    {
        "worker":
        {
            "id": "sccpOkp3SassNmJxHjm1UFc5",
            "timeCreated": 1623274200000,
            "timeLastModified": 1623274200799,
            "organization": "1MWYTEQf6jioThhHhH4~KmVI",
            "name": "John Smith",
            "displayName": "",
            "phone": "+17145555768",
            "activeTask": null,
            "tasks":
            [],
            "onDuty": false,
            "timeLastSeen": null,
            "capacity": 0,
            "userData":
            {},
            "accountStatus": "INVITED",
            "metadata":
            [],
            "timezone": null,
            "imageUrl": null,
            "teams":
            [
                "QNwu7xmlvGHzAYXk2zmZocD2"
            ],
            "vehicle":
            {
                "id": "3O7k6AmNVc5U8~AkgNRVxGTm",
                "type": "CAR",
                "description": "1996 Honda Accord",
                "licensePlate": null,
                "color": "Green",
                "timeLastModified": 1623274200789
            }
        }
    },
    "time": 1623274403564
}
{
    "recipient":
    {
        "id": "7LecFRKJw7ExfyhBsi9h0NXW",
        "name": "Joe Smith",
        "phone": "+17145555768"
    },
    "timestamp": 1632432776621,
    "SMS": "STOP",
    "triggerId": 17,
    "triggerName": "SMSRecipientOptOut",
    "taskId": null,
    "workerId": null,
    "adminId": null,
    "data":
    {},
    "actionContext": null,
    "time": 1632432776640
}