v1

latestOpenAPI 3.0.12026-07-245752052.0 MB
taskFlows

Retrieve all information about one worker and its taskFlow completion

get/api/servicetodo/processes/taskFlows/{taskFlowIdentifier}/workers/{workerIdentifier}/processed

Path parameters

taskFlowIdentifierstring uuid required

taskFlow unique identifier

workerIdentifierstring uuid required

worker unique identifier

Response

A worker

Example response

{
  "data": {
    "workerUuid": "7a962659-8fb6-4eef-bb98-acd2db913292",
    "workerStartDate": "2023-03-24T00:00:00.000Z",
    "mobilePhone": {
      "number": "+331234567890",
      "countryCode": "FR",
      "verified": true,
      "verifiedAt": "2023-03-24T00:00:00.000Z"
    },
    "personalEmail": {
      "email": "alice.doe@gmail.com",
      "verified": true,
      "verifiedAt": "2023-03-24T00:00:00.000Z"
    },
    "lastSeenDate": "2023-03-24T00:00:00.000Z",
    "currentFlowData": {
      "title": "My super taskFlow",
      "tasks": [
        {
          "uuid": "18fe78c2-2fd7-4d39-a825-e1d273609657",
          "status": "completed",
          "completedAt": "2023-03-24T00:00:00.000Z"
        }
      ],
      "taskFlowWorkerUuid": "7a962659-8fb6-4eef-bb98-acd2db913292",
      "tagsUuids": [
        "7a962659-8fb6-4eef-bb98-acd2db913292"
      ],
      "tags": [
        {
          "uuid": "7a962659-8fb6-4eef-bb98-acd2db913292",
          "label": "Expired license"
        }
      ]
    },
    "remainingFlows": [
      {
        "uuid": "7a962659-8fb6-4eef-bb98-acd2db913292",
        "status": "notStarted"
      }
    ],
    "assignedDate": "2023-03-24T00:00:00.000Z",
    "lastUpdatedAt": "2023-03-24T00:00:00.000Z"
  },
  "meta": {
    "timestamp": "2021-05-05T09:47:58.924Z",
    "verb": "GET",
    "path": "/api/structure/resources/5949cf7c-fec6-4b31-947c-3aceabff58c5",
    "jti": "%cQN3RIGp",
    "rid": "$2d2zkHZ5",
    "count": 1,
    "status": "200",
    "duration": 17,
    "size": 1234
  }
}