ContentWorkflowApprovalOperation Data Type

Wrapper entity with all the info to make an approval approve/reject operations

Properties
name data type description
name string name of the approval (required)
comment string approval note (optional by default, required if set in global configuration)
user string user for approval credential (only required if credentials of type 2 set in the approval)
password string password for approval credential (only required if credentials of type 1 or 2 set in the approval)
Properties inherited from ContentWorkflowParameterOperation
parameters array of Parameter

Example

{
  "name" : "Review",
  "comment" : "Document reviewed and approved",
  "user" : "admin",
  "password" : "*****",
  "parameters" : [ {
    "id" : "...",
    "value" : "..."
  }, {
    "id" : "...",
    "value" : "..."
  } ]
}