Summary
Assign a task to a user
Description
Assign a Task to a user.
Route
POST /operations-manager/tasks/:taskId/assign
Roles
admin
apiwrite
engineering
operations
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
taskId |
string |
yes |
The id of the Task iteration to be assigned. |
userId |
string |
yes |
The identifier of the user to assign to the task |
Copied to Clipboard
{
"userId": "f454f8f4119ae9b914f703b3"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"_id": "3ab9A5Db-CACe-14C3-8F03-C09bD337c019",
"location": "Adapter",
"view": null,
"status": "incomplete",
"app": "ut",
"name": "elit Ut",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/eEbj/~1/n"
},
{
"type": "encryption",
"pointer": "/~0/~1/~0/XWYc/~1/~0/GMVJ"
}
]
},
"last_updated": "1959-09-06T23:53:49.08Z",
"encodingVersion": 1,
"job": {
"_id": "ec4ddb5bb4abc5f8f4b603f0",
"task": "3a1f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"45e277b45970e431c19339f6"
]
},
"groups": [
{
"_id": "dfabc9b5efb923f3dd5c5f84",
"provenance": "nisi dolor",
"name": "dolore sed non id occaecat",
"description": "fugiat nostrud aliqua culpa",
"memberOf": [
{
"groupId": "6f78fe0908a2a556ed21b838",
"aaaManaged": false
},
{
"groupId": "16ec54ba998f12f4df23340c",
"aaaManaged": true
},
{
"groupId": "c7b32641951a65ad8346fc7b",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "qui adipisicing"
},
{
"roleId": "voluptate deserunt eiusmod velit nisi"
}
],
"inactive": false,
"_meta": {
"created": "1960-01-26T01:01:42.053Z",
"updated": "1977-04-11T17:22:47.174Z",
"migrationVersion": -5612154
}
}
],
"type": "manual",
"metrics": {
"start_time": "mollit",
"claim_time": "1989-02-24T10:45:01.554Z",
"end_time": 23657126.947835043,
"server_id": "cupidatat Lorem sed anim dolor",
"finish_state": "canceled",
"run_time": -96966618.59374517,
"user": {
"_id": "e6a8eef9b1e88445a08c70c3",
"provenance": "nisi magna",
"username": "mollit",
"firstname": "dolor irure",
"memberOf": [
{
"groupId": "3ff18c38618a016142f21527",
"aaaManaged": false
},
{
"groupId": "ad00661ea50080bd6b0bf91a",
"aaaManaged": true
},
{
"groupId": "ea77ca316d1035ea2ec4a920",
"aaaManaged": true
},
{
"groupId": "89bd7759cc20d4caeb6f935b",
"aaaManaged": true
},
{
"groupId": "d99bebf270b1eaeb01e8f095",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "do ex"
},
{
"roleId": "mollit id"
},
{
"roleId": "sunt"
},
{
"roleId": "ex aliqua nisi sed sint"
},
{
"roleId": "nulla nostrud consequat"
}
],
"inactive": true,
"lastLogin": "2024-02-29T05:26:48.574Z",
"_meta": {
"created": "1991-04-28T20:39:42.282Z",
"updated": "1995-12-13T01:50:12.465Z",
"migrationVersion": -9047573
},
"email": "in ea deserunt quis"
},
"owner": "030c7dffa052d3598cfcd18e"
}
}
}