todoWorkers

Api endpoint to get workers by start date

get/api/servicetodo/processes/workers/startsByDate

Request

  • Base URL
    https://services.fountain.com
  • URL
    https://services.fountain.com/api/servicetodo/processes/workers/startsByDate
  • Auth
    HTTP bearer

Query parameters

locationUuidsstring[]
jobUuidstring uuid
assignedUserUuidsstring[]

Empty = all task kinds. Non-empty = only internal tasks whose resolved assignee is one of these employer UUIDs, including tasks assigned to the supervisor or opening_owner role; review tasks and i9/w4 tasks are hidden because nobody is assigned to them.

taskTypesstring[]

Empty = all task types; non-empty = only tasks whose virtualTask.taskType is in this list

groupedBy'date' | 'location'

Response

Returns workers grouped by start date or location

OR

Example response

{
  "data": {
    "data": [
      {
        "workers": [
          {
            "totalFlowStatus": "adminActionRequired",
            "adminActionReasons": [
              "review"
            ],
            "workerTaskCounts": {
              "done": 3,
              "total": 4
            },
            "adminTaskCounts": {
              "done": 3,
              "total": 4
            }
          }
        ]
      }
    ]
  },
  "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
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.