Create Approvals (Task)
Changed onCreate an approval for task. Creates approval in draft status when no approvers assigned. Otherwise creates in pending status. Approvals created via API will not be affected by workflow automation, e.g. task status will not be automatically transitioned when approval finishes.
<b>Scopes:</b> Default, wsReadWrite
Request
- Base URLhttps://www.wrike.com/api/v4
- URLhttps://www.wrike.com/api/v4/tasks/{taskId}/approvals
- AuthHTTP bearer
Path parameters
Query parameters
Description
Due date<br>Format: yyyy-MM-dd
Due date Format: yyyy-MM-dd
Assign approvers
List of origin version attachments to set in approval
Is finish approval automatically when all approvers have approved. Set to true by default
Is finish approval automatically when some of approvers have rejected. Set to true by default
- FirstDecisionWins
- WaitAllWithVeto
Approval final decision strategy
- FirstDecisionWins
- WaitAllWithVeto
Response
success response
Changes
- warning
added the new
NotRequiredenum value to the////response property for the response status - warning
added the new
NotRequiredenum value to the//response property for the response status - warning
added the new
aggregatedAllocatedEffortenum value to theresponse property for the response status - warning
added the new
aggregatedTimeSpentenum value to theresponse property for the response status - warning
added the new
aggregatedTotalUserEffortenum value to theresponse property for the response status - warning
added the new
attachmentUploadUrlenum value to theresponse property for the response status - warning
added the new
blueprintSearchenum value to theresponse property for the response status - warning
added the new
folderBlueprintenum value to theresponse property for the response status - warning
added the new
mcpFeaturesenum value to theresponse property for the response status - warning
added the new
recommendResourcesenum value to theresponse property for the response status - warning
added the new
taskBlueprintenum value to theresponse property for the response status - info
added the new optional
queryrequest parameterfinalDecisionStrategy - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning