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": "e4995e5b9ad83c19855be17a"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"_id": "eafdF21f-085B-d17e-b235-AA8E772FaF1f",
"location": "Application",
"view": null,
"status": "canceled",
"app": "commodo ut eu",
"name": "reprehenderit",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/F3+KCI/~0"
},
{
"type": "encryption",
"pointer": "/nGMEG8/~1/~0/SSQiqcT"
},
{
"type": "encryption",
"pointer": "/UgL,AgJ5AB9/~1/Z4bSYaL3/~0/~0/~0/~1/~1"
},
{
"type": "encryption",
"pointer": "/DJAx/~1/T/~1/RT0wX/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1/chd66mfA5/~1/~1/~0"
}
]
},
"last_updated": "1947-01-03T10:25:43.67Z",
"encodingVersion": 1,
"job": {
"_id": "e7914388df687871194f863b",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": [
"9d1a3ffdb6b9b0457d908915",
"720635ca01aeacee7fe76fcd",
"a8816b6c4f9ac017ca01530c"
]
},
"incomingRefs": [],
"groups": [
"ad21ef4a03194d0000367d80",
"c43f282c268cfb688a07a8d7",
"2ff0eb169f2569a3e3fbe9b0"
],
"type": "automatic",
"metrics": {
"start_time": "Duis minim magna proident consectetur",
"end_time": 65449045.2749691,
"server_id": "Excepteur",
"finish_state": "incomplete",
"run_time": -14955906.192766875,
"retrying": false,
"user": "88911e18c35f0d140758f60d",
"owner": {
"_id": "9ff4c4a0186d0d13a8ccb0a3",
"provenance": "do aute",
"username": "anim aliquip sit deserunt",
"firstname": "cupidatat",
"memberOf": [
{
"groupId": "98c0711da42218ec18dc0296",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "qui incididunt consequat enim aute"
}
],
"inactive": true,
"lastLogin": "1967-06-30T23:51:25.986Z",
"_meta": {
"created": "1967-09-30T00:10:05.905Z",
"updated": "2015-07-15T12:55:11.305Z",
"migrationVersion": 78845919
},
"email": "sit"
}
}
}
}