ContentWorkflowApprovalAssignmentOperation Data Type

Wrapper entity with all the info to make an approval assign/unassign operations

Properties
name data type description
name string name of the approval (required)
comment string approval assignment note (optional)
assignees array of Assignee list of assignees to be assigned/unnassigned to the approval (required)
Properties inherited from ContentWorkflowParameterOperation
parameters array of Parameter

Example

{
  "name" : "Review",
  "comment" : "I assign the approval to you",
  "assignees" : [ {
    "username" : "...",
    "rolename" : "..."
  }, {
    "username" : "...",
    "rolename" : "..."
  } ],
  "parameters" : [ {
    "id" : "...",
    "value" : "..."
  }, {
    "id" : "...",
    "value" : "..."
  } ]
}