Add Approver to existing Request
POST/updateRequest
This API can be used to add approver to existing request in SSM.
The Authorization must have Bearer followed by Token.
Mandatory params:
requestkey - comma seprated requestkeys
requestor - user who is updating the request
Optional params:
updateapprover - username of the new approver
originalassignee - username of old approver
removeoriginalassignee - true/false(default), if false then the original assignee will remain one of the approvers,
If originalassignee is not passed then requestor will be considered as original assignee.
comments,
allowreassign - true/false (default is false)
Request
Path Parameters
- application/json
- multipart/form-data
Body
- Array [ 
- ] 
- Array [ 
- ] 
dynamicattributes
object[]
entitlements
object[]
Body
Responses
- 200
updateRequest / Add Comments to existing Request / Add Dynamic Attributes and Entitlements to existing Request / updateRequest Attachment
Response Headers
- Content-Length - string 
- Date - string 
- Server - string 
- WWW-Authenticate - string 
- X-Frame-Options - string 
- application/json
- Schema
- Example (from schema)
- Add Comments to existing Request
- Add Dynamic Attributes and Entitlements to existing Request
- updateRequest
- updateRequest Attachment
Schema
{
  "errorCode": "0",
  "msg": "Success",
  "requestkey": "86"
}
{
  "errorCode": "0",
  "msg": "success"
}
{
  "errorCode": "0",
  "msg": "success",
  "requestkey": "86"
}
{
  "errorCode": "0",
  "msg": "Success"
}
{
  "errorCode": "0",
  "msg": "Success"
}