This POST service will perform the same action found on the Approval Tasks page. It will initiate a request to reject the Approval Task created from a project execution, selected by the workflowRequestId
.
API URL
http://host:port/flexdeploy/rest/task/rejectProject
Sample JSON Request
{ "authentication": { "userId": "fdadmin", "password": "password1" }, "workflowRequestId": "10002" }
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
| Y | String | See Common Parameters below. |
| Y | Long | This is the Workflow Request Id that is generated upon a build/deploy request. |
Common Parameters
Authentication
The authentication
parameter is comprised of 2 fields.
userId
– a valid user id for FlexDeploypassword
– the associated password