Get Approval Request V2 Using GET 1
Returns details of the approval request
Request
URI
GET
https://{api_host}//api.mgmt.cloud.vmware.com/approval/api/approvals/{id}
COPY
Path Parameters
string
id
Required
approval request id
Responses
200
success
Returns DeploymentApprovalRequest of type(s) application/json
{
"action": "string",
"adminActioned": false,
"adminDetails": {
"comment": "string"
},
"adminName": "string",
"appliedPolicies": [
{
"approvers": [
{
"actionedAt": "string",
"approver": "string",
"approverType": "string",
"comments": "string",
"id": "string",
"isActive": false,
"phase": 0,
"status": "string"
}
],
"id": "string",
"mode": "string",
"phase": 0,
"policyId": "string",
"policyName": "string",
"status": "string"
}
],
"autoApproval": false,
"createdAt": "string",
"currentPhase": 0,
"decision": "string",
"deploymentId": "string",
"deploymentName": "string",
"expired": false,
"expiryAt": "string",
"expiryComment": "string",
"id": "string",
"lastUpdatedAt": "string",
"orgId": "string",
"projectId": "string",
"projectName": "string",
"requestDetails": {
"blueprintDetails": {
"id": "string",
"name": "string",
"version": "string"
},
"catalogDetails": {
"id": "string",
"name": "string",
"version": "string"
},
"deploymentDetails": {
"currency": "string",
"deploymentCreationCost": "number"
}
},
"requestId": "string",
"requestedBy": "string",
"status": "string"
}
string
action
Optional
action
boolean
adminActioned
Optional
adminActioned
string
adminName
Optional
adminName
boolean
autoApproval
Optional
autoApproval
string As date-time As date-time
createdAt
Optional
createdAt
integer As int32 As int32
currentPhase
Optional
currentPhase
string
decision
Optional
decision
Possible values are : APPROVE, REJECT, NO_EXPIRY,
string
deploymentId
Optional
deploymentId
string
deploymentName
Optional
deploymentName
boolean
expired
Optional
expired
string As date-time As date-time
expiryAt
Optional
expiryAt
string
expiryComment
Optional
expiryComment
string As uuid As uuid
id
Optional
id
string As date-time As date-time
lastUpdatedAt
Optional
lastUpdatedAt
string
orgId
Optional
orgId
string
projectId
Optional
projectId
string
projectName
Optional
projectName
string
requestId
Optional
requestId
string
requestedBy
Optional
requestedBy
string
status
Optional
status
Possible values are : APPROVED, REJECTED, PENDING, EXPIRED, CANCELLED,
401
unauthorized
Operation doesn't return any data structure
403
access denied - doesn't have permission to view the specified approval request
Operation doesn't return any data structure
404
not found
Operation doesn't return any data structure