Evaluates A request for the given approval policy.
Evaluates a request for the given approval policy. This is an asynchronous call. The service creates a new {@link Approval} that would contain the result of the evaluation and returns it to the client and then asynchronously triggers the evaluation. Clients can check the status of the evaluation by retrieving this Approval instance. The service also has a callback mechanism to notify the clients when the evaluation is complete.
{
"requestedFor": "string",
"costs": {
"leaseForDisplay": {
"unit": "string",
"amount": 0
},
"quoteProvided": false,
"lease": {
"unit": "string",
"amount": 0
},
"leaseRate": {
"basis": {
"unit": "string",
"amount": 0
}
}
},
"requestInstanceId": "string",
"requestedItemName": "string",
"requestReasons": "string",
"requestedItems": [
{
"costs": {
"leaseForDisplay": {
"unit": "string",
"amount": 0
},
"quoteProvided": false,
"lease": {
"unit": "string",
"amount": 0
},
"leaseRate": {
"basis": {
"unit": "string",
"amount": 0
}
}
},
"requestInstanceId": "string",
"policyId": "string",
"phaseId": "string",
"requestedItemName": "string",
"requestClassId": "string",
"requestedItemDescription": "string"
}
],
"requestingServiceId": "string",
"requestDescription": "string",
"requestedItemDescription": "string",
"requestedBy": "string",
"requestRef": "string",
"subTenantId": "string",
"requestClassId": "string"
}
requestedFor
requestInstanceId
requestedItemName
requestReasons
requestingServiceId
requestDescription
requestedItemDescription
requestedBy
requestRef
subTenantId
requestClassId
successful operation
{
"requestedFor": "string",
"costs": {
"leaseForDisplay": {
"unit": "string",
"amount": 0
},
"quoteProvided": false,
"lease": {
"unit": "string",
"amount": 0
},
"leaseRate": {
"basis": {
"unit": "string",
"amount": 0
}
}
},
"requestInstanceId": "string",
"requestedItemName": "string",
"requestReasons": "string",
"requestingServiceId": "string",
"version": 0,
"requestDescription": "string",
"requestedItemDescription": "string",
"completionTime": "string",
"requestedBy": "string",
"requestRef": "string",
"subTenantId": "string",
"createdDate": "string",
"tenantId": "string",
"startTime": "string",
"requestClassId": "string",
"id": "string",
"state": "string",
"lastModified": "string",
"requestedItemApprovals": [
{
"costs": {
"leaseForDisplay": {
"unit": "string",
"amount": 0
},
"quoteProvided": false,
"lease": {
"unit": "string",
"amount": 0
},
"leaseRate": {
"basis": {
"unit": "string",
"amount": 0
}
}
},
"requestInstanceId": "string",
"phaseDecision": {
"phase": {
"name": "string",
"description": "string",
"id": "string",
"levels": [
{
"approvalMode": "string",
"external": false,
"editSchema": {
"fields": [
{}
]
},
"name": "string",
"levelNumber": 0,
"description": "string",
"approvers": [
{
"displayName": "string",
"type": "string",
"value": "string"
}
],
"id": "string"
}
],
"phasetype": {
"phaseOrder": 0,
"name": "string",
"description": "string",
"id": "string",
"forms": {},
"allowUpdates": false
}
},
"completionTime": "string",
"phaseNumber": 0,
"startTime": "string",
"decisions": [
{
"completionTime": "string",
"approvalMode": "string",
"level": {
"approvalMode": "string",
"external": false,
"editSchema": {
"fields": [
{}
]
},
"name": "string",
"levelNumber": 0,
"description": "string",
"approvers": [
{
"displayName": "string",
"type": "string",
"value": "string"
}
],
"id": "string"
},
"approvalRequests": [
{
"creationTime": "string",
"workItemNumber": 0,
"approvers": [
{
"displayName": "string",
"type": "string",
"value": "string"
}
],
"workItemId": "string",
"version": 0,
"completionTime": "string",
"tenantId": "string",
"action": "string",
"wiqServiceId": "string",
"id": "string",
"businessJustification": "string",
"state": "string",
"assignTime": "string",
"completedBy": "string"
}
],
"phaseNumber": 0,
"startTime": "string",
"id": "string",
"state": "string"
}
],
"id": "string",
"state": "string"
},
"requestedItemName": "string",
"phaseId": "string",
"phaseNumber": 0,
"version": 0,
"requestedItemDescription": "string",
"completionTime": "string",
"createdDate": "string",
"startTime": "string",
"requestClassId": "string",
"id": "string",
"state": "string",
"lastModified": "string",
"policy": {
"lastModifiedBy": "string",
"description": "string",
"version": 0,
"createdDate": "string",
"approvableItemId": "string",
"typeFilter": "string",
"stateName": "string",
"createdBy": "string",
"policyType": {
"phaseTypes": [
{
"phaseOrder": 0,
"name": "string",
"description": "string",
"id": "string",
"forms": {},
"allowUpdates": false
}
],
"classId": "string",
"typeFilter": "string",
"name": "string",
"description": "string",
"serviceTypeId": "string",
"id": "string"
},
"name": "string",
"id": "string",
"state": "string",
"lastModified": "string",
"approvableItemName": "string",
"approvableItemServiceTypeId": "string",
"phases": [
{
"name": "string",
"description": "string",
"id": "string",
"levels": [
{
"approvalMode": "string",
"external": false,
"editSchema": {
"fields": [
{}
]
},
"name": "string",
"levelNumber": 0,
"description": "string",
"approvers": [
{
"displayName": "string",
"type": "string",
"value": "string"
}
],
"id": "string"
}
],
"phasetype": {
"phaseOrder": 0,
"name": "string",
"description": "string",
"id": "string",
"forms": {},
"allowUpdates": false
}
}
]
}
}
]
}
requestedFor
requestInstanceId
requestedItemName
requestReasons
requestingServiceId
version
requestDescription
requestedItemDescription
completionTime
requestedBy
requestRef
subTenantId
createdDate
tenantId
startTime
requestClassId
id
state
lastModified