This POST service will perform the same action found on the Build Request Form. It will initiate a request to build the project with the given Id. The service will return the workflowRequestId
which can be used by the getWorkflowRequestStatus (version 0) call return workflow request. Workflow request id from return data can be used with Workflow Request API to determine when the workflow execution is complete.
This page includes examples for Full and Partial deploy project builds.
...
Attributes | Type | Description |
---|---|---|
warningMessage | String | Indicates any warning message in the event where the request was successful but no build was initiated. For example: No changes found in source control |
warningCode | String | Matching warning code for the warning message. |
workflowRequests | Array | Array of workflow request objects |
Response Codes
HTTP Code | Description |
---|---|
200 | No changes were detected, no build initiated. |
201 | Project was built successfully |
400 | Bad request |
401Unauthorized | Authentication failure |
403 | Authorization failure (no access to resource) |
404 | Project not found |
500 | Unexpected internal server error |
Example
...