Versions Compared

Key

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

This POST service will retrieve the workflowRequest based on the workflowRequestId in the request.

...

Code Block
languagejs
titleSample JSON Request
linenumberstrue
{
	"authentication":
	{
		"userId": "userid",
		"password": "mypassword"
	},
	"workflowRequestId": 28208
}

Parameters

Parameter

Required

Type

Description

authentication

Y

Object

The authentication parameter is comprised of 2 fields.

  • userId – a valid user id for FlexDeploy
  • password – the associated password


workflowRequestId

Y

Long

The requestId to retrieve the status for.

Response

AttributeTypeDescription
requestedBy

packageName

workflowRequestId

projectVersionId

folderRequestId

requestedStartTime

workflowRequestStatus

stopOnPackageError

workflowOverrideVersion

releaseSnapshotIdLongOnly returned for specific cases. 1) deployment is done via pipeline, 2) build was done using Create Snapshot screen action or API.
requestAllFiles

releaseDefinitionIdLongOnly returned if build or deploy was executed with release.
projectName

folderPath

flexFields

projectId

folderId

folderName

projectStreamId

force

cmsissues

projectVersionName

environmentId

folderVersionId

exceptionToWindow

Example Response

Code Block
languagejs
themeEclipse
{
   "requestedBy": "cideploy",
   "packageName": null,
   "workflowRequestId": 86301,
   "projectVersionId": 4051785,
   "folderRequestId": null,
   "requestedStartTime": null,
   "workflowRequestStatus": "FAILED",
   "stopOnPackageError": false,
   "workflowOverrideVersion": null,
   "releaseSnapshotId": null,
   "requestAllFiles": true,
   "releaseDefinitionId": null,
   "projectName": "XXHR",
   "folderPath": "FlexDeploy / EBS",
   "flexFields": [   {
      "value": "A",
      "code": "DEPLOY_CHANGE_NUMBER"
   }],
   "projectId": 3882238,
   "folderId": 3871702,
   "folderName": "EBS",
   "projectStreamId": 3882239,
   "force": false,
   "cmsissues": "",
   "projectVersionName": "1.0.29",
   "projectWorkflowId": 3882242,
   "environmentId": 10140,
   "folderVersionId": null,
   "exceptionToWindow": false
}

...