Worker

Worker search returns a single worker by worker_uuid.

Call

Call the service at dhinstance/seach/worker passing input parameters in the POST body.

Using curl as an example:

curl -X POST -H "Content-Type: application/json" --data @worker_search.json "dhinstance/search/worker"

The call with also require an authorization header to identify the instance user, who is then used as the instance uuid.

See Data loads for a definition of dhinstance.

Input

{
"worker_uuid": "workerUUID"
}

Output

{
"results": {
"worker_uuid": "uuid",
...,
"events": [
...
],
"documents": [
...
],
}
}

The response is a JSON object. The results property is an object that represents a worker, with arrays for related events and documents. See Worker data, Event data and Document data for details.