Update Tasks
POST/updateTasks
It can update certain params of a task as well as complete a task.
The Authorization must have Bearer followed by Token.
Mandatory params:
taskKeyToUpdate
Optional params:
updatetype (if this is set to "completetask" then refer completetask api and pass appropriate params as well),
comments,
provisioningComments,
provisioningMetadata,
password,
status,
ticketId,
taskownerusergroup/taskowneruser,
updateuser - username of user who is updating the task,
completeassociatedtasks - true / false,
emailto,
notify - to pick up data from the task, supported values - "notify":["USER","requestor","MANAGER"],
from,
subject,
emailbody
Request
Path Parameters
- application/json
Body
- Array [ 
- ] 
taskKeyToUpdate
object[]
Responses
- 200
Update Tasks
Response Headers
- Date - string 
- Server - string 
- Set-Cookie - string 
- Transfer-Encoding - string 
- X-Frame-Options - string 
- application/json
- Schema
- Example (from schema)
- Update Tasks
Schema
26936
object
26937
object
{
  "26936": {
    "errorCode": "1",
    "msg": "Task id not found"
  },
  "26937": {
    "completedtasks": [
      2070
    ],
    "errorCode": "0",
    "failedtasks": [],
    "msg": "Update successful. completetask Success",
    "result": " <TaskUpdate>Taskid2070=true</TaskUpdate> "
  }
}
{
  "26936": {
    "errorCode": "1",
    "msg": "Task id not found"
  },
  "26937": {
    "completedtasks": [
      2070
    ],
    "errorCode": "0",
    "failedtasks": [],
    "msg": "Update successful. completetask Success",
    "result": " <TaskUpdate>Taskid2070=true</TaskUpdate> "
  }
}