diff --git a/providers/onfleet/index.json b/providers/onfleet/index.json new file mode 100644 index 0000000..80a2e18 --- /dev/null +++ b/providers/onfleet/index.json @@ -0,0 +1,13 @@ +{ + "label": "Onfleet", + "configs": { + "latest_version": "latest", + "topic_identifier": "triggerName" + }, + "provenance": { + "latest": { + "sourced_via": "docs", + "sourced_on": "2026-10-16" + } + } +} diff --git a/providers/onfleet/latest/SMSRecipientOptOut.json b/providers/onfleet/latest/SMSRecipientOptOut.json new file mode 100644 index 0000000..d60cbc1 --- /dev/null +++ b/providers/onfleet/latest/SMSRecipientOptOut.json @@ -0,0 +1,28 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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 + }, + "topic": "SMSRecipientOptOut", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/autoDispatchJobCompleted.json b/providers/onfleet/latest/autoDispatchJobCompleted.json new file mode 100644 index 0000000..fa95ae3 --- /dev/null +++ b/providers/onfleet/latest/autoDispatchJobCompleted.json @@ -0,0 +1,140 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "actionContext": { + "apiKeyScopeId": "34522acbaf4558bee7474e594aa2ba0c", + "id": "vjw*RDMKDljKVDve1Vtcplgu", + "type": "API" + }, + "adminId": null, + "data": { + "dispatch": { + "id": "XaSPx65XPOTiyzu7hbjlgTxN", + "options": { + "maxAllowedDelay": 10, + "maxTasksPerRoute": 50, + "routeEnd": "teams://DEFAULT", + "scheduleTimeWindow": [ + 1659727323264, + 1659748923264 + ], + "serviceTime": 4, + "taskTimeWindow": [ + 1659712923264, + 1659741723264 + ] + }, + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "plan": { + "routes": [ + { + "routeId": "ZxcnkJi~79nonYaMTQ960Mg2", + "stops": [ + { + "arrivalTime": 1659729556337, + "departTime": 1659729796337, + "id": "LdvrBX7fADEvlNuFUZJu8d9S", + "type": "TASK" + }, + { + "arrivalTime": 1659733290968, + "departTime": 1659733530968, + "id": "~JA*OXe7f6sLzy~zo6brH6xp", + "type": "TASK" + }, + { + "arrivalTime": 1659737162319, + "departTime": 1659737402319, + "id": "bn50Lcsu8rqETDWJTIdecufy", + "type": "TASK" + }, + { + "arrivalTime": 1659738493969, + "departTime": 1659738733969, + "id": "Sef4w3TakQk6dQJBhQDYglsO", + "type": "TASK" + } + ], + "type": "WORKER" + } + ], + "unplanned": [] + }, + "processingDetails": { + "endTime": 1659727327650, + "startTime": 1659727323428, + "status": "success" + }, + "tasks": [ + { + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + }, + "completeAfter": null, + "completeBefore": null, + "id": "Sef4w3TakQk6dQJBhQDYglsO", + "pickupTask": false, + "quantity": 0, + "shortId": "2770e3e3" + }, + { + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + }, + "completeAfter": 1659726000000, + "completeBefore": 1659751200000, + "id": "LdvrBX7fADEvlNuFUZJu8d9S", + "pickupTask": false, + "quantity": 0, + "shortId": "ce6439b7" + }, + { + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + }, + "completeAfter": 1659726000000, + "completeBefore": 1659747600000, + "id": "bn50Lcsu8rqETDWJTIdecufy", + "pickupTask": false, + "quantity": 0, + "shortId": "6d87d2bf" + }, + { + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + }, + "completeAfter": 1659726000000, + "completeBefore": 1659754800000, + "id": "~JA*OXe7f6sLzy~zo6brH6xp", + "pickupTask": false, + "quantity": 0, + "shortId": "2e2f201c" + } + ], + "team": "K3FXFtJj2FtaO2~H60evRrDc" + } + }, + "dispatchId": "XaSPx65XPOTiyzu7hbjlgTxN", + "taskId": null, + "time": 1659727327697, + "triggerId": 18, + "triggerName": "autoDispatchJobCompleted", + "workerId": null + }, + "topic": "autoDispatchJobCompleted", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/routeOptimizationJobCompleted.json b/providers/onfleet/latest/routeOptimizationJobCompleted.json new file mode 100644 index 0000000..d754a40 --- /dev/null +++ b/providers/onfleet/latest/routeOptimizationJobCompleted.json @@ -0,0 +1,171 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "actionContext": { + "type": "ADMIN", + "id": "9gIG~gMPFqPqEyTVWphYPQW5", + "source": "ROUTE_OPTIMIZATION" + }, + "triggerId": 20, + "triggerName": "routeOptimizationJobCompleted", + "taskId": null, + "workerId": null, + "adminId": "9gIG~gMPFqPqEyTVWphYPQW5", + "data": { + "dispatch": { + "id": "fLves5XbgWhi6UEElnJBC3uG", + "organization": "id6a7XAWagLC7iMR0NvW1DFM", + "processingDetails": { + "status": "success", + "startTime": 1725477154340, + "endTime": 1725477159877 + }, + "options": { + "maxTasksPerRoute": 60, + "taskTimeWindow": [], + "scheduleTimeWindow": [], + "serviceTime": 2, + "maxAllowedDelay": 30, + "routeEnd": null + }, + "tasks": [ + { + "id": "l~eXEA3etIFvwwY~Ba9z53kM", + "shortId": "b4d9470c", + "pickupTask": true, + "completeBefore": null, + "completeAfter": null, + "quantity": 0, + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + } + }, + { + "id": "9tlEYm*bJ~4kGKvOyucnZb9p", + "shortId": "b20917f2", + "pickupTask": false, + "completeBefore": null, + "completeAfter": null, + "quantity": 0, + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + } + }, + { + "id": "01YGmrpWybsNN*kFLyanAtne", + "shortId": "98d6b77b", + "pickupTask": false, + "completeBefore": null, + "completeAfter": null, + "quantity": 0, + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + } + }, + { + "id": "Gsr0xkD~Jdlt9Zhj~cNWK9Ux", + "shortId": "16b9288c", + "pickupTask": false, + "completeBefore": null, + "completeAfter": null, + "quantity": 0, + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + } + }, + { + "id": "rstYbXdBIjJ7JHi2oQcxrscX", + "shortId": "cd8f25a1", + "pickupTask": false, + "completeBefore": null, + "completeAfter": null, + "quantity": 0, + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + } + }, + { + "id": "u7FLnp4rg8Tao7opEPZNWlkb", + "shortId": "27c4958f", + "pickupTask": false, + "completeBefore": null, + "completeAfter": null, + "quantity": 0, + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + } + } + ], + "plan": { + "routes": [ + { + "routeId": "mZRLQTladGwVLuT0yNVtiu9Y", + "type": "WORKER", + "stops": [ + { + "id": "l~eXEA3etIFvwwY~Ba9z53kM", + "type": "TASK", + "arrivalTime": 1725458553494, + "departTime": 1725458673494 + }, + { + "id": "u7FLnp4rg8Tao7opEPZNWlkb", + "type": "TASK", + "arrivalTime": 1725459219009, + "departTime": 1725459339009 + }, + { + "id": "rstYbXdBIjJ7JHi2oQcxrscX", + "type": "TASK", + "arrivalTime": 1725459972875, + "departTime": 1725460092875 + }, + { + "id": "Gsr0xkD~Jdlt9Zhj~cNWK9Ux", + "type": "TASK", + "arrivalTime": 1725460670843, + "departTime": 1725460790843 + }, + { + "id": "01YGmrpWybsNN*kFLyanAtne", + "type": "TASK", + "arrivalTime": 1725461190750, + "departTime": 1725461310750 + }, + { + "id": "9tlEYm*bJ~4kGKvOyucnZb9p", + "type": "TASK", + "arrivalTime": 1725462468186, + "departTime": 1725462588186 + } + ] + } + ], + "unplanned": [] + } + } + }, + "dispatchId": "fLves5XbgWhi6UEElnJBC3uG", + "time": 1725477169426 + }, + "topic": "routeOptimizationJobCompleted", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/routePlanAssigned.json b/providers/onfleet/latest/routePlanAssigned.json new file mode 100644 index 0000000..7ee87be --- /dev/null +++ b/providers/onfleet/latest/routePlanAssigned.json @@ -0,0 +1,113 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "workerId": "lEJ8uLWhIMdZuWlNkEhH8biF", + "actionContext": { + "type": "ADMIN", + "subtype": "admin-super", + "id": "vjw*RDMKDljKVDve1Vtcplgu" + }, + "triggerId": 28, + "triggerName": "routePlanAssigned", + "taskId": null, + "adminId": "vjw*RDMKDljKVDve1Vtcplgu", + "data": { + "worker": { + "id": "lEJ8uLWhIMdZuWlNkEhH8biF", + "timeCreated": 1689876220000, + "timeLastModified": 1744418565285, + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "name": "Test in NY", + "displayName": "", + "phone": "+18055552746", + "activeTask": null, + "tasks": [ + "q5qv~pC3iF58RYlBVaEmmfgq", + "iBYgWQd2*cbe0pvojwBhTqGW", + "I8vqCZ6z6zKVwrQFM8eta5Gg", + "FI6PSQGWVZQGBjoDnUPm2Wem", + "YyDKZRyg4Nfo~1D9mGbYVdTb", + "*gbz3aWfeEhWCkLoWA5dLIvw", + "gsPLh2e1bcRGuhFOvfS9WzhZ", + "htOQxSUj08utl9hcdFp9YTc9" + ], + "onDuty": false, + "timeLastSeen": 1718309619285, + "capacity": 0, + "additionalCapacities": { + "capacityA": 0, + "capacityB": 0, + "capacityC": 0 + }, + "userData": { + "appVersion": "2.3.7", + "batteryLevel": 0.73, + "deviceDescription": "Nothing A142 (Android 14)", + "platform": "ANDROID" + }, + "accountStatus": "ACCEPTED", + "metadata": [], + "timezone": "America/New_York", + "teams": [ + "E2*f4lzgvpwwNMvDEHPLJVrr", + "K3FXFtJj2FtaO2~H60evRrDc", + "pLRndrnaT3TLJQ~Tul*V0CtM", + "kq5MFBzYNWhp1rumJEfGUTqS" + ], + "imageUrl": null, + "location": null, + "delayTime": null, + "vehicle": { + "id": "L1zYgyXO~OGNzIEyK2QmdlNa", + "type": "CAR", + "description": null, + "licensePlate": null, + "color": null, + "timeCreated": 1724182522000, + "timeLastModified": 1724182522339 + } + }, + "routePlan": { + "id": "byoPybic2xdiFgDySsH8hwKr", + "name": "Test Route", + "state": "PENDING", + "color": "#F0C000", + "tasks": [ + "htOQxSUj08utl9hcdFp9YTc9" + ], + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "team": "K3FXFtJj2FtaO2~H60evRrDc", + "worker": "lEJ8uLWhIMdZuWlNkEhH8biF", + "vehicleType": "CAR", + "startTime": 1723073400000, + "endTime": 1723100399999, + "actualStartTime": null, + "actualEndTime": null, + "startAt": null, + "endAt": null, + "startingHubId": null, + "endingHubId": null, + "shortId": "22e2d598", + "timeCreated": 1723073008645, + "timeLastModified": 1744418565237, + "timezone": "America/Los_Angeles", + "isOverdue": true, + "taskStates": [ + 1 + ], + "status": "LATE", + "statusTimeDifference": 21344865433 + } + }, + "routePlanId": "byoPybic2xdiFgDySsH8hwKr", + "time": 1744418565436 + }, + "topic": "routePlanAssigned", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/routePlanCompleted.json b/providers/onfleet/latest/routePlanCompleted.json new file mode 100644 index 0000000..770ea11 --- /dev/null +++ b/providers/onfleet/latest/routePlanCompleted.json @@ -0,0 +1,114 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "workerId": "ZxcnkJi~79nonYaMTQ960Mg2", + "actionContext": { + "type": "WORKER", + "id": "ZxcnkJi~79nonYaMTQ960Mg2" + }, + "triggerId": 24, + "triggerName": "routePlanCompleted", + "taskId": null, + "adminId": null, + "data": { + "worker": { + "id": "ZxcnkJi~79nonYaMTQ960Mg2", + "timeCreated": 1618618787000, + "timeLastModified": 1740187428626, + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "name": "Test", + "displayName": "", + "phone": "+16265555768", + "activeTask": null, + "tasks": [ + "6rotzvbI9B~ndLEjc83dte7z", + "OGeFpIlO0n0QaYpXZERGU2qk", + "Oq6yHKB54KgkTR*Lfc6MkZIB", + "3Fz3Ql*02UzzqvqWbxgust8T" + ], + "onDuty": true, + "timeLastSeen": 1740187417030, + "capacity": 99999, + "additionalCapacities": { + "capacityA": 99999, + "capacityB": 99999, + "capacityC": 99999 + }, + "userData": { + "platform": "ANDROID", + "appVersion": "2.3.15", + "deviceDescription": "Google Pixel 9 (Android 15)", + "batteryLevel": 0.6 + }, + "accountStatus": "ACCEPTED", + "metadata": [], + "timezone": "America/Los_Angeles", + "teams": [ + "E2*f4lzgvpwwNMvDEHPLJVrr", + "K3FXFtJj2FtaO2~H60evRrDc", + "ALgQiBXohg7AmGptc5mZ7khM", + "pLRndrnaT3TLJQ~Tul*V0CtM" + ], + "imageUrl": null, + "delayTime": null, + "vehicle": { + "id": "~SI~KQpoXCcjBcIfQP2MbxE4", + "type": "CAR", + "description": "Hondi", + "licensePlate": "www.msn.com", + "color": "Zorak", + "timeCreated": 1726865929000, + "timeLastModified": 1726865929427 + }, + "location": [ + -117.8901891, + 33.8932868 + ], + "hasRecentlyUsedSpoofedLocations": false + }, + "routePlan": { + "id": "NttBsEQR6lDe9dt3SsK3EQTO", + "name": "Create Route Plan Test 3", + "state": "COMPLETED", + "color": "#D864D8", + "tasks": [ + "3BYnnvosDgeC6EYx9pl3Q*df", + "RPvhr0DBIPvFG204hkTA03WK" + ], + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "team": "K3FXFtJj2FtaO2~H60evRrDc", + "worker": "ZxcnkJi~79nonYaMTQ960Mg2", + "vehicleType": "CAR", + "startTime": 1740187800000, + "endTime": 1740189659999, + "actualStartTime": 1740187269648, + "actualEndTime": 1740187428641, + "startAt": "HUB", + "endAt": "HUB", + "startingHubId": "FK9Uny9sQzcvBmEqHXqwWSeV", + "endingHubId": "FK9Uny9sQzcvBmEqHXqwWSeV", + "shortId": "e1e8075f", + "timeCreated": 1740187150310, + "timeLastModified": 1740187428642, + "timezone": "America/Los_Angeles", + "isOverdue": false, + "taskStates": [ + 3, + 3 + ], + "status": "EARLY", + "statusTimeDifference": 2231358 + } + }, + "routePlanId": "NttBsEQR6lDe9dt3SsK3EQTO", + "time": 1740187428710 + }, + "topic": "routePlanCompleted", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/routePlanCreated.json b/providers/onfleet/latest/routePlanCreated.json new file mode 100644 index 0000000..95fcc4e --- /dev/null +++ b/providers/onfleet/latest/routePlanCreated.json @@ -0,0 +1,114 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "workerId": "ZxcnkJi~79nonYaMTQ960Mg2", + "actionContext": { + "type": "ADMIN", + "subtype": "admin-super", + "id": "vjw*RDMKDljKVDve1Vtcplgu" + }, + "triggerId": 22, + "triggerName": "routePlanCreated", + "taskId": null, + "adminId": "vjw*RDMKDljKVDve1Vtcplgu", + "data": { + "worker": { + "id": "ZxcnkJi~79nonYaMTQ960Mg2", + "timeCreated": 1618618787000, + "timeLastModified": 1740187150370, + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "name": "Test", + "displayName": "", + "phone": "+16265555768", + "activeTask": null, + "tasks": [ + "6rotzvbI9B~ndLEjc83dte7z", + "OGeFpIlO0n0QaYpXZERGU2qk", + "Oq6yHKB54KgkTR*Lfc6MkZIB", + "3Fz3Ql*02UzzqvqWbxgust8T", + "RPvhr0DBIPvFG204hkTA03WK" + ], + "onDuty": true, + "timeLastSeen": 1740187147438, + "capacity": 99999, + "additionalCapacities": { + "capacityA": 99999, + "capacityB": 99999, + "capacityC": 99999 + }, + "userData": { + "platform": "ANDROID", + "appVersion": "2.3.15", + "deviceDescription": "Google Pixel 9 (Android 15)", + "batteryLevel": 0.66 + }, + "accountStatus": "ACCEPTED", + "metadata": [], + "timezone": "America/Los_Angeles", + "teams": [ + "E2*f4lzgvpwwNMvDEHPLJVrr", + "K3FXFtJj2FtaO2~H60evRrDc", + "ALgQiBXohg7AmGptc5mZ7khM", + "pLRndrnaT3TLJQ~Tul*V0CtM" + ], + "imageUrl": null, + "delayTime": null, + "vehicle": { + "id": "~SI~KQpoXCcjBcIfQP2MbxE4", + "type": "CAR", + "description": "Hondi", + "licensePlate": "www.msn.com", + "color": "Zorak", + "timeCreated": 1726865929000, + "timeLastModified": 1726865929427 + }, + "location": [ + -117.8901201, + 33.8933597 + ], + "hasRecentlyUsedSpoofedLocations": false + }, + "routePlan": { + "id": "NttBsEQR6lDe9dt3SsK3EQTO", + "name": "Create Route Plan Test 3", + "state": "PENDING", + "color": "#D864D8", + "tasks": [ + "RPvhr0DBIPvFG204hkTA03WK" + ], + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "team": "K3FXFtJj2FtaO2~H60evRrDc", + "worker": "ZxcnkJi~79nonYaMTQ960Mg2", + "vehicleType": "CAR", + "startTime": 1740187800000, + "endTime": 1740189659999, + "actualStartTime": null, + "actualEndTime": null, + "startAt": "HUB", + "endAt": "HUB", + "startingHubId": "FK9Uny9sQzcvBmEqHXqwWSeV", + "endingHubId": "FK9Uny9sQzcvBmEqHXqwWSeV", + "shortId": "e1e8075f", + "timeCreated": 1740187150310, + "timeLastModified": 1740187150310, + "timezone": "America/Los_Angeles", + "isOverdue": false, + "taskStates": [ + 1 + ], + "status": "UNAVAILABLE", + "statusTimeDifference": 0 + } + }, + "routePlanId": "NttBsEQR6lDe9dt3SsK3EQTO", + "time": 1740187150507 + }, + "topic": "routePlanCreated", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/routePlanDelayed.json b/providers/onfleet/latest/routePlanDelayed.json new file mode 100644 index 0000000..7f310c3 --- /dev/null +++ b/providers/onfleet/latest/routePlanDelayed.json @@ -0,0 +1,108 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "workerId": "ZKb4r4B*8zWLd4Yam*I77kau", + "actionContext": null, + "triggerId": 29, + "triggerName": "routePlanDelayed", + "taskId": null, + "adminId": null, + "data": { + "worker": { + "id": "ZKb4r4B*8zWLd4Yam*I77kau", + "timeCreated": 1637789654000, + "timeLastModified": 1737676265890, + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "name": "RSL", + "displayName": "", + "phone": "+17145556979", + "activeTask": null, + "tasks": [ + "pAXUqLIff26zYzf0cG5hsCwz", + "tsDD0Wa2liTy6sjTSYBhGqIH" + ], + "onDuty": false, + "timeLastSeen": 1727292508872, + "capacity": 99999, + "additionalCapacities": { + "capacityA": 99999, + "capacityB": 99999, + "capacityC": 99999 + }, + "userData": { + "appVersion": "1.25.3.404", + "batteryLevel": 0.4000000059604645, + "deviceDescription": "iPhone14,4 (iOS 17.6.1)", + "platform": "IOS" + }, + "accountStatus": "ACCEPTED", + "metadata": [], + "timezone": "America/Los_Angeles", + "teams": [ + "E2*f4lzgvpwwNMvDEHPLJVrr", + "K3FXFtJj2FtaO2~H60evRrDc", + "ALgQiBXohg7AmGptc5mZ7khM", + "pLRndrnaT3TLJQ~Tul*V0CtM", + "kq5MFBzYNWhp1rumJEfGUTqS" + ], + "imageUrl": null, + "location": null, + "delayTime": null, + "vehicle": { + "id": "lh2wBgo9af5pukcucNuOkwBc", + "type": "CAR", + "description": null, + "licensePlate": null, + "color": null, + "timeCreated": 1726865939000, + "timeLastModified": 1726865939794 + } + }, + "routePlan": { + "id": "zx24ffE4UZ7di*ABoHMXWTpp", + "name": "RSL_01-23-2025_0000", + "state": "PENDING", + "color": "#A8E7F0", + "tasks": [ + "pAXUqLIff26zYzf0cG5hsCwz", + "tsDD0Wa2liTy6sjTSYBhGqIH" + ], + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "team": "E2*f4lzgvpwwNMvDEHPLJVrr", + "worker": "ZKb4r4B*8zWLd4Yam*I77kau", + "vehicleType": "CAR", + "startTime": 1737619200000, + "endTime": null, + "actualStartTime": null, + "actualEndTime": null, + "startAt": "WORKER_LOCATION", + "endAt": "WORKER_LOCATION", + "startingHubId": null, + "endingHubId": null, + "shortId": "b26daebf", + "timeCreated": 1737676265844, + "timeLastModified": 1737676265844, + "timezone": "America/Los_Angeles", + "plannedDistance": 139990.0802512778, + "plannedDuration": 7998.590480200946, + "isOverdue": true, + "taskStates": [ + 1, + 1 + ], + "status": "LATE", + "statusTimeDifference": 6801081332 + } + }, + "routePlanId": "zx24ffE4UZ7di*ABoHMXWTpp", + "time": 1744420581358 + }, + "topic": "routePlanDelayed", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/routePlanStarted.json b/providers/onfleet/latest/routePlanStarted.json new file mode 100644 index 0000000..b69bb94 --- /dev/null +++ b/providers/onfleet/latest/routePlanStarted.json @@ -0,0 +1,115 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "workerId": "ZxcnkJi~79nonYaMTQ960Mg2", + "actionContext": { + "type": "WORKER", + "id": "ZxcnkJi~79nonYaMTQ960Mg2" + }, + "triggerId": 23, + "triggerName": "routePlanStarted", + "taskId": null, + "adminId": null, + "data": { + "worker": { + "id": "ZxcnkJi~79nonYaMTQ960Mg2", + "timeCreated": 1618618787000, + "timeLastModified": 1740187269639, + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "name": "Test", + "displayName": "", + "phone": "+16265551352", + "activeTask": "3BYnnvosDgeC6EYx9pl3Q*df", + "tasks": [ + "6rotzvbI9B~ndLEjc83dte7z", + "OGeFpIlO0n0QaYpXZERGU2qk", + "Oq6yHKB54KgkTR*Lfc6MkZIB", + "3Fz3Ql*02UzzqvqWbxgust8T", + "RPvhr0DBIPvFG204hkTA03WK" + ], + "onDuty": true, + "timeLastSeen": 1740187267010, + "capacity": 99999, + "additionalCapacities": { + "capacityA": 99999, + "capacityB": 99999, + "capacityC": 99999 + }, + "userData": { + "platform": "ANDROID", + "appVersion": "2.3.15", + "deviceDescription": "Google Pixel 6 (Android 15)", + "batteryLevel": 0.35 + }, + "accountStatus": "ACCEPTED", + "metadata": [], + "timezone": "America/Los_Angeles", + "teams": [ + "E2*f4lzgvpwwNMvDEHPLJVrr", + "K3FXFtJj2FtaO2~H60evRrDc", + "ALgQiBXohg7AmGptc5mZ7khM", + "pLRndrnaT3TLJQ~Tul*V0CtM" + ], + "imageUrl": null, + "delayTime": null, + "vehicle": { + "id": "~SI~KQpoXCcjBcIfQP2MbxE4", + "type": "CAR", + "description": "Hondi", + "licensePlate": "www.msn.com", + "color": "Zorak", + "timeCreated": 1726865929000, + "timeLastModified": 1726865929427 + }, + "location": [ + -117.8901201, + 33.8933597 + ], + "hasRecentlyUsedSpoofedLocations": false + }, + "routePlan": { + "id": "NttBsEQR6lDe9dt3SsK3EQTO", + "name": "Create Route Plan Test 3", + "state": "IN_PROGRESS", + "color": "#D864D8", + "tasks": [ + "3BYnnvosDgeC6EYx9pl3Q*df", + "RPvhr0DBIPvFG204hkTA03WK" + ], + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "team": "K3FXFtJj2FtaO2~H60evRrDc", + "worker": "ZxcnkJi~79nonYaMTQ960Mg2", + "vehicleType": "CAR", + "startTime": 1740187800000, + "endTime": 1740189659999, + "actualStartTime": 1740187269648, + "actualEndTime": null, + "startAt": "HUB", + "endAt": "HUB", + "startingHubId": "FK9Uny9sQzcvBmEqHXqwWSeV", + "endingHubId": "FK9Uny9sQzcvBmEqHXqwWSeV", + "shortId": "e1e8075f", + "timeCreated": 1740187150310, + "timeLastModified": 1740187269649, + "timezone": "America/Los_Angeles", + "isOverdue": false, + "taskStates": [ + 2, + 1 + ], + "status": "ON_TIME", + "statusTimeDifference": 0 + } + }, + "routePlanId": "NttBsEQR6lDe9dt3SsK3EQTO", + "time": 1740187269724 + }, + "topic": "routePlanStarted", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/routePlanUnassigned.json b/providers/onfleet/latest/routePlanUnassigned.json new file mode 100644 index 0000000..0d397ad --- /dev/null +++ b/providers/onfleet/latest/routePlanUnassigned.json @@ -0,0 +1,58 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "workerId": null, + "actionContext": { + "type": "ADMIN", + "subtype": "admin-super", + "id": "vjw*RDMKDljKVDve1Vtcplgu" + }, + "triggerId": 27, + "triggerName": "routePlanUnassigned", + "taskId": null, + "adminId": "vjw*RDMKDljKVDve1Vtcplgu", + "data": { + "routePlan": { + "id": "byoPybic2xdiFgDySsH8hwKr", + "name": "Test Route", + "state": "PENDING", + "color": "#F0C000", + "tasks": [ + "htOQxSUj08utl9hcdFp9YTc9" + ], + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "team": null, + "worker": null, + "vehicleType": "CAR", + "startTime": 1723073400000, + "endTime": 1723100399999, + "actualStartTime": null, + "actualEndTime": null, + "startAt": null, + "endAt": null, + "startingHubId": null, + "endingHubId": null, + "shortId": "22e2d598", + "timeCreated": 1723073008645, + "timeLastModified": 1744418279629, + "timezone": "America/Los_Angeles", + "isOverdue": true, + "taskStates": [ + 0 + ], + "status": "LATE", + "statusTimeDifference": 21344579864 + } + }, + "routePlanId": "byoPybic2xdiFgDySsH8hwKr", + "time": 1744418279870 + }, + "topic": "routePlanUnassigned", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/routePlanUpdated.json b/providers/onfleet/latest/routePlanUpdated.json new file mode 100644 index 0000000..ff4a7ee --- /dev/null +++ b/providers/onfleet/latest/routePlanUpdated.json @@ -0,0 +1,130 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "workerId": "sbgok3wJ77Ysg70zjImngv1J", + "actionContext": { + "type": "ADMIN", + "subtype": "admin-super", + "id": "vjw*RDMKDljKVDve1Vtcplgu" + }, + "triggerId": 26, + "triggerName": "routePlanUpdated", + "taskId": null, + "adminId": "vjw*RDMKDljKVDve1Vtcplgu", + "data": { + "worker": { + "id": "sbgok3wJ77Ysg70zjImngv1J", + "timeCreated": 1741811569000, + "timeLastModified": 1753814971704, + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "name": "RSV", + "displayName": "", + "phone": "+17145551423", + "activeTask": null, + "tasks": [ + "P3*vrseB7oOuNnioNvLot4tj", + "rljrGT7LVThgc9cLDKt7jfxE", + "hD6Ih8v7UgnMcDAanm6PRjVz", + "DveAtA16a4KUiS1we9HC~huj", + "c6*VrCgYQ487dqYMrafq5Nqt", + "o*8jqK8NsgAYg6LmVtQygOCG", + "6~wLG006zfxT4cQN4sW~vCWY", + "0WFwXSi5fyQdi0pFF4*oYo74", + "11h7lzq~STqte9ST5xJBhsyS", + "4niXQ*0k0zL56hTmtBLQNTxF", + "RkJyzz1bqMsWtuo4xo3~7nYb", + "JSIkVg0bAcWLFDfOHvjFl1NC", + "3mBiWxEnPNunJ3GuZexPTUFt", + "PDNeEoe2t9~0sO3Dsx*gGFDw", + "DLu~bPoKXyD8oye5ULdfOTXg" + ], + "onDuty": false, + "timeLastSeen": 1752086474480, + "capacity": 0, + "additionalCapacities": { + "capacityA": 0, + "capacityB": 0, + "capacityC": 0 + }, + "userData": { + "platform": "IOS", + "appVersion": "1.33.0.444", + "deviceDescription": "iPhone14,4 (iOS 18.5)", + "batteryLevel": 0.550000011920929 + }, + "accountStatus": "ACCEPTED", + "metadata": [], + "timezone": "America/Los_Angeles", + "teams": [ + "E2*f4lzgvpwwNMvDEHPLJVrr", + "K3FXFtJj2FtaO2~H60evRrDc" + ], + "imageUrl": null, + "location": null, + "delayTime": null, + "vehicle": { + "id": "wN~sA0aDtlslg2LoioR6mv7I", + "type": "CAR", + "description": null, + "licensePlate": null, + "color": null, + "timeCreated": 1741811569000, + "timeLastModified": 1741811569456 + } + }, + "routePlan": { + "id": "R2MQD2JWV0Fzbxbbm3AXtgip", + "name": "RSV_06-09-2025_1151", + "state": "PENDING", + "color": "#00C2D7", + "tasks": [ + "4niXQ*0k0zL56hTmtBLQNTxF", + "RkJyzz1bqMsWtuo4xo3~7nYb", + "JSIkVg0bAcWLFDfOHvjFl1NC", + "3mBiWxEnPNunJ3GuZexPTUFt", + "PDNeEoe2t9~0sO3Dsx*gGFDw", + "DLu~bPoKXyD8oye5ULdfOTXg" + ], + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "team": "E2*f4lzgvpwwNMvDEHPLJVrr", + "worker": "sbgok3wJ77Ysg70zjImngv1J", + "vehicleType": "CAR", + "startTime": 1749495098000, + "endTime": null, + "actualStartTime": null, + "actualEndTime": null, + "startAt": "HUB", + "endAt": "HUB", + "startingHubId": "08JQM9jnv44*A1ovSCTPg0uG", + "endingHubId": "08JQM9jnv44*A1ovSCTPg0uG", + "shortId": "761ced9b", + "timeCreated": 1749495147597, + "timeLastModified": 1753814971535, + "timezone": "America/Los_Angeles", + "plannedDistance": 458660, + "plannedDuration": 18140, + "isOverdue": true, + "taskStates": [ + 1, + 1, + 1, + 1, + 1, + 1 + ], + "status": "LATE", + "statusTimeDifference": 4319573909 + } + }, + "routePlanId": "R2MQD2JWV0Fzbxbbm3AXtgip", + "time": 1753814971912 + }, + "topic": "routePlanUpdated", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/smsRecipientResponseMissed.json b/providers/onfleet/latest/smsRecipientResponseMissed.json new file mode 100644 index 0000000..68a8a0a --- /dev/null +++ b/providers/onfleet/latest/smsRecipientResponseMissed.json @@ -0,0 +1,24 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "from": "+##########", + "to": "66358", + "body": "OK", + "triggerId": 14, + "triggerName": "smsRecipientResponseMissed", + "taskId": null, + "workerId": null, + "adminId": null, + "data": {}, + "actionContext": null, + "time": 1777584172623 + }, + "topic": "smsRecipientResponseMissed", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskArrival.json b/providers/onfleet/latest/taskArrival.json new file mode 100644 index 0000000..89e0e05 --- /dev/null +++ b/providers/onfleet/latest/taskArrival.json @@ -0,0 +1,103 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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 + }, + "topic": "taskArrival", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskAssigned.json b/providers/onfleet/latest/taskAssigned.json new file mode 100644 index 0000000..4e487e0 --- /dev/null +++ b/providers/onfleet/latest/taskAssigned.json @@ -0,0 +1,150 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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" + }, + "topic": "taskAssigned", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskBatchCreateJobCompleted.json b/providers/onfleet/latest/taskBatchCreateJobCompleted.json new file mode 100644 index 0000000..f2cd9bc --- /dev/null +++ b/providers/onfleet/latest/taskBatchCreateJobCompleted.json @@ -0,0 +1,238 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "jobId": "C1i7NK46Jtxod2WIkZDGf1~1", + "status": "completedWithErrors", + "tasksReceived": 3, + "tasksCreated": 2, + "tasksErrored": 1, + "errors": [ + { + "statusCode": 400, + "errorCode": 1000, + "message": "The values of one or more parameters are invalid.", + "cause": "Geocoding errors found. ", + "taskData": { + "destination": { + "address": { + "number": "420", + "street": "Infinite Loop", + "city": "Redmond", + "state": "WA", + "country": "USA" + } + }, + "recipients": [] + } + } + ], + "failedTasks": [ + { + "destination": { + "address": { + "number": "420", + "street": "Infinite Loop", + "city": "Redmond", + "state": "WA", + "country": "USA" + } + }, + "recipients": [] + } + ], + "newTasks": [ + { + "id": "7NAGq*xN62IkCexY1fNCP4Dt", + "timeCreated": 1682033523000, + "timeLastModified": 1682033523744, + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "shortId": "0f009c29", + "trackingURL": "https://onf.lt/0f009c29", + "worker": null, + "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J", + "executor": "nYrkNP6jZMSKgBwG9qG7ci3J", + "creator": "vjw*RDMKDljKVDve1Vtcplgu", + "dependencies": [], + "state": 0, + "completeAfter": null, + "completeBefore": null, + "pickupTask": false, + "notes": "Order 332: 24oz Stumptown Finca El Puente, 10 x Aji de Gallina Empanadas, 13-inch Lelenitas Tres Leches", + "completionDetails": { + "failureNotes": "", + "successNotes": "", + "failureReason": "NONE", + "events": [], + "actions": [], + "time": null, + "signatureUploadId": null, + "photoUploadId": null, + "photoUploadIds": null, + "firstLocation": [], + "lastLocation": [], + "unavailableAttachments": [] + }, + "feedback": [], + "metadata": [], + "overrides": { + "recipientName": null, + "recipientNotes": null, + "recipientSkipSMSNotifications": null, + "useMerchantForProxy": null + }, + "quantity": 0, + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + }, + "serviceTime": 0, + "identity": { + "failedScanCount": 0, + "checksum": null + }, + "appearance": { + "triangleColor": null + }, + "scanOnlyRequiredBarcodes": false, + "container": { + "type": "ORGANIZATION", + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J" + }, + "trackingViewed": false, + "recipients": [], + "destination": { + "id": "rKa*mzGWtKfrUqNYCJtYTU~G", + "timeCreated": 1682033523000, + "timeLastModified": 1682033523617, + "location": [ + -122.4438376, + 37.7939987 + ], + "address": { + "apartment": "", + "state": "California", + "postalCode": "94123", + "number": "2829", + "street": "Vallejo Street", + "city": "San Francisco", + "country": "United States" + }, + "notes": "Small green door by garage door has pin pad, enter *4821*", + "metadata": [], + "googlePlaceId": "ChIJQSINYtKAhYARCKOYhQ6z3nI", + "warnings": [] + } + }, + { + "id": "EcEM7N1DCDq8qaVbbvR0H7bh", + "timeCreated": 1682033523000, + "timeLastModified": 1682033523891, + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "shortId": "bc020b54", + "trackingURL": "https://onf.lt/bc020b54", + "worker": null, + "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J", + "executor": "nYrkNP6jZMSKgBwG9qG7ci3J", + "creator": "vjw*RDMKDljKVDve1Vtcplgu", + "dependencies": [], + "state": 0, + "completeAfter": null, + "completeBefore": null, + "pickupTask": true, + "notes": "12 x 2016 Getariako Txakolina (Rosé)", + "completionDetails": { + "failureNotes": "", + "successNotes": "", + "failureReason": "NONE", + "events": [], + "actions": [], + "time": null, + "signatureUploadId": null, + "photoUploadId": null, + "photoUploadIds": null, + "firstLocation": [], + "lastLocation": [], + "unavailableAttachments": [] + }, + "feedback": [], + "metadata": [ + { + "type": "number", + "visibility": [ + "api" + ], + "value": 33162, + "name": "caseId" + } + ], + "overrides": { + "recipientName": null, + "recipientNotes": null, + "recipientSkipSMSNotifications": null, + "useMerchantForProxy": null + }, + "quantity": 0, + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + }, + "serviceTime": 0, + "identity": { + "failedScanCount": 0, + "checksum": null + }, + "appearance": { + "triangleColor": null + }, + "scanOnlyRequiredBarcodes": false, + "container": { + "type": "ORGANIZATION", + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J" + }, + "trackingViewed": false, + "recipients": [], + "destination": { + "id": "52DeuznqoN*f7Ny2Wzx9iDv5", + "timeCreated": 1682033523000, + "timeLastModified": 1682033523646, + "location": [ + -87.6611882, + 41.8999943 + ], + "address": { + "apartment": "", + "state": "Illinois", + "postalCode": "60642", + "number": "1264", + "street": "West Augusta Boulevard", + "city": "Chicago", + "country": "United States" + }, + "notes": "", + "metadata": [], + "googlePlaceId": "EisxMjY0IFcgQXVndXN0YSBCbHZkLCBDaGljYWdvLCBJTCA2MDY0MiwgVVNBIjESLwoUChIJC3XaOdTSD4gRvWkApUN78tgQ8AkqFAoSCbEoXPNKzQ-IEfZd3WVEWaiw", + "warnings": [] + } + } + ], + "newTasksWithWarnings": [], + "triggerId": 19, + "triggerName": "taskBatchCreateJobCompleted", + "taskId": null, + "workerId": null, + "adminId": null, + "data": {}, + "actionContext": null, + "time": 1682033523955 + }, + "topic": "taskBatchCreateJobCompleted", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskCloned.json b/providers/onfleet/latest/taskCloned.json new file mode 100644 index 0000000..a1db38d --- /dev/null +++ b/providers/onfleet/latest/taskCloned.json @@ -0,0 +1,108 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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 + }, + "topic": "taskCloned", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskCompleted.json b/providers/onfleet/latest/taskCompleted.json new file mode 100644 index 0000000..5b807c1 --- /dev/null +++ b/providers/onfleet/latest/taskCompleted.json @@ -0,0 +1,131 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "actionContext": { + "id": "ZxcnkJi~79nonYaMTQ960Mg2", + "type": "WORKER" + }, + "adminId": null, + "data": { + "task": { + "additionalQuantities": { + "quantityA": 0, + "quantityB": 0, + "quantityC": 0 + }, + "appearance": { + "triangleColor": null + }, + "completeAfter": null, + "completeBefore": null, + "completionDetails": { + "actions": [], + "events": [ + { + "name": "start", + "time": 1686611484893 + } + ], + "failureNotes": "", + "failureReason": "NONE", + "firstLocation": [], + "lastLocation": [], + "notes": "", + "photoUploadId": null, + "photoUploadIds": [], + "signatureUploadId": null, + "success": true, + "successNotes": "", + "time": 1686611635677, + "unavailableAttachments": [] + }, + "creator": "vjw*RDMKDljKVDve1Vtcplgu", + "delayTime": null, + "dependencies": [], + "destination": { + "address": { + "apartment": "", + "city": "Los Angeles", + "country": "United States", + "number": "1000", + "postalCode": "90012", + "state": "California", + "street": "Vin Scully Ave" + }, + "googlePlaceId": "ChIJdVYAVPnGwoAR3wmcg09VlJ4", + "id": "QTxsobLHkNxLjc5HcAkMGYEd", + "location": [ + -118.2399583, + 34.073851 + ], + "metadata": [], + "notes": "", + "timeCreated": 1663896051000, + "timeLastModified": 1663896051511, + "useGPS": true, + "warnings": [ + "MISMATCH_NUMBER" + ] + }, + "estimatedArrivalTime": null, + "estimatedCompletionTime": null, + "executor": "nYrkNP6jZMSKgBwG9qG7ci3J", + "feedback": [], + "id": "kwKafWU5jRmzeOpazE8WE9Ye", + "identity": { + "checksum": "6741f297906eca390df1c0773b1f403edb8eb2942742f25fa877ef673f493aea42144543fcdfc501d42ff49986934e48f69d8a52edf74d0f87d2a41de7fd68dc", + "dob": "1987-03-30T08:00:00.000Z", + "failedScanCount": 0, + "inputMethod": "scan" + }, + "merchant": "nYrkNP6jZMSKgBwG9qG7ci3J", + "metadata": [], + "notes": "Order test3", + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "overrides": { + "recipientName": null, + "recipientNotes": null, + "recipientSkipSMSNotifications": null, + "useMerchantForProxy": null + }, + "pickupTask": false, + "quantity": 0, + "recipients": [ + { + "id": "7LecFRKJw7ExfyhBsi9h0NXW", + "metadata": [], + "name": "Mada Mada", + "notes": "Notes do not change *edited* more new notes", + "organization": "nYrkNP6jZMSKgBwG9qG7ci3J", + "phone": "+17145554554", + "skipSMSNotifications": true, + "timeCreated": 1592005264000, + "timeLastModified": 1679096559784 + } + ], + "scanOnlyRequiredBarcodes": false, + "serviceTime": 0, + "shortId": "6055984c", + "state": 3, + "timeCreated": 1663896051000, + "timeLastModified": 1686611636712, + "trackingURL": "https://onf.lt/6055984c46", + "trackingViewed": false, + "worker": "ZxcnkJi~79nonYaMTQ960Mg2" + } + }, + "taskId": "kwKafWU5jRmzeOpazE8WE9Ye", + "time": 1686611636796, + "triggerId": 3, + "triggerName": "taskCompleted", + "workerId": "ZxcnkJi~79nonYaMTQ960Mg2" + }, + "topic": "taskCompleted", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskCreated.json b/providers/onfleet/latest/taskCreated.json new file mode 100644 index 0000000..309c8f9 --- /dev/null +++ b/providers/onfleet/latest/taskCreated.json @@ -0,0 +1,107 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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 + }, + "topic": "taskCreated", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskDelayed.json b/providers/onfleet/latest/taskDelayed.json new file mode 100644 index 0000000..e9f9587 --- /dev/null +++ b/providers/onfleet/latest/taskDelayed.json @@ -0,0 +1,104 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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 + }, + "topic": "taskDelayed", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskDeleted.json b/providers/onfleet/latest/taskDeleted.json new file mode 100644 index 0000000..f77d6d4 --- /dev/null +++ b/providers/onfleet/latest/taskDeleted.json @@ -0,0 +1,105 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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 + }, + "topic": "taskDeleted", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskEta.json b/providers/onfleet/latest/taskEta.json new file mode 100644 index 0000000..42e0a33 --- /dev/null +++ b/providers/onfleet/latest/taskEta.json @@ -0,0 +1,103 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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 + }, + "topic": "taskEta", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskFailed.json b/providers/onfleet/latest/taskFailed.json new file mode 100644 index 0000000..64824a8 --- /dev/null +++ b/providers/onfleet/latest/taskFailed.json @@ -0,0 +1,113 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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" + }, + "topic": "taskFailed", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskStarted.json b/providers/onfleet/latest/taskStarted.json new file mode 100644 index 0000000..2c6621a --- /dev/null +++ b/providers/onfleet/latest/taskStarted.json @@ -0,0 +1,106 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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" + }, + "topic": "taskStarted", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskUnassigned.json b/providers/onfleet/latest/taskUnassigned.json new file mode 100644 index 0000000..d958021 --- /dev/null +++ b/providers/onfleet/latest/taskUnassigned.json @@ -0,0 +1,107 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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 + }, + "topic": "taskUnassigned", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/taskUpdated.json b/providers/onfleet/latest/taskUpdated.json new file mode 100644 index 0000000..7190755 --- /dev/null +++ b/providers/onfleet/latest/taskUpdated.json @@ -0,0 +1,140 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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 + }, + "topic": "taskUpdated", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/workerCreated.json b/providers/onfleet/latest/workerCreated.json new file mode 100644 index 0000000..f0396dc --- /dev/null +++ b/providers/onfleet/latest/workerCreated.json @@ -0,0 +1,55 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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 + }, + "topic": "workerCreated", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/workerDeleted.json b/providers/onfleet/latest/workerDeleted.json new file mode 100644 index 0000000..65ec15b --- /dev/null +++ b/providers/onfleet/latest/workerDeleted.json @@ -0,0 +1,55 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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 + }, + "topic": "workerDeleted", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/workerDuty.json b/providers/onfleet/latest/workerDuty.json new file mode 100644 index 0000000..218ee74 --- /dev/null +++ b/providers/onfleet/latest/workerDuty.json @@ -0,0 +1,63 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "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" + }, + "topic": "workerDuty", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +} diff --git a/providers/onfleet/latest/workerUpdated.json b/providers/onfleet/latest/workerUpdated.json new file mode 100644 index 0000000..391ee87 --- /dev/null +++ b/providers/onfleet/latest/workerUpdated.json @@ -0,0 +1,64 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "workerId": "sQHrMR~5kwDd8*wt~FmVojw2", + "actionContext": { + "type": "ADMIN", + "subtype": "admin-super", + "id": "1jAvkon~xposGcdGScQ9IhVg" + }, + "triggerId": 25, + "triggerName": "workerUpdated", + "taskId": null, + "adminId": "1jAvkon~xposGcdGScQ9IhVg", + "data": { + "worker": { + "id": "sQHrMR~5kwDd8*wt~FmVojw2", + "timeCreated": 1724875754000, + "timeLastModified": 1739566872973, + "organization": "Mj*txwRUqdU3LhqFEJwu4OxM", + "name": "Jane Doe", + "displayName": "", + "phone": "+13105550100", + "activeTask": null, + "tasks": [], + "onDuty": false, + "timeLastSeen": null, + "capacity": 0, + "additionalCapacities": { + "capacityA": 0, + "capacityB": 0, + "capacityC": 0 + }, + "userData": {}, + "accountStatus": "INVITED", + "metadata": [], + "timezone": null, + "teams": [ + "0MhPip4wIg1L9IhQaYBPhJmS" + ], + "imageUrl": null, + "location": null, + "delayTime": null, + "vehicle": { + "id": "WbFLR8V543~FjDLvxY3SEw7h", + "type": "CAR", + "description": null, + "licensePlate": null, + "color": null, + "timeCreated": 1739566872000, + "timeLastModified": 1739566872921 + } + } + }, + "time": 1739566873005 + }, + "topic": "workerUpdated", + "source": { + "type": "vendor-documentation", + "url": "https://docs.onfleet.com/reference/webhook-payload-examples", + "retrieved": "2026-10-16" + } +}