Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

workflowRequestIdReturns just String for workflow request id that was submitted.

Attributes

Type

Description

warningMessageString

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

warningCodeStringMatching warning code for the warning message.  

workflowRequests

Array

Array of workflow request objects

Response Codes

HTTP Code
Description
200No changes were detected, no build initiated.
201Project was built successfully
400Bad request
401Unauthorized
404Project not found
500Unexpected internal server error

Example

...

In response, we will receive the workflowRequestId.

Code Block
{
    "warningMessage": null,
    "warningCode": null,
    "workflowRequests": [
        {
            "packageName": null,
            "folderName": "Human Resources",
            "releaseSnapshotId": null,
            "workflowRequestStatus": "READY",
            "folderId": 10001,
            "exceptionToWindow": false,
            "releaseDefinitionId": null,
            "cmsissues": "",
            "workflowRequestId": 12001,
            "projectName": "ProcessHRRequest",
            "projectStreamId": 10502,
            "projectVersionName": "1.0.8",
            "requestAllFiles": false,
            "projectVersionId": 29201,
            "environmentId": 11210,
            "folderRequestId": null,
            "flexFields": [],
            "folderPath": "FlexDeploy/Human Resources",
            "projectId": 10501,
            "requestedBy": "fdadmin",
            "requestedStartTime": null,
            "force": true,
            "stopOnPackageError": null,
            "workflowOverrideVersion": null,
            "folderVersionId": null
        }
    ]
}