List all approval instances.
List all approval instances.
Request
URI
GET
https://{api_host}/approval-service/api/evaluations
COPY
Query Parameters
integer
page
Optional
Page Number
integer
limit
Optional
Number of entries per page
string
$orderby
Optional
Multiple comma-separated properties sorted in ascending or descending order
integer
$top
Optional
Sets the number of returned entries from the top of the response (total number per page in relation to skip)
integer
$skip
Optional
Sets how many entries you would like to skip
string
$filter
Optional
Boolean expression for whether a particular entry should be included in the response
Responses
200
successful operation
Returns PageApproval of type(s) */*
{
"number": 0,
"size": 0,
"last": false,
"numberOfElements": 0,
"totalPages": 0,
"content": [
{
"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",
"cancelled": false,
"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",
"cancelled": false,
"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
}
}
]
}
}
]
}
],
"first": false,
"totalElements": 0
}
integer As int32 As int32
number
Optional
number
integer As int32 As int32
size
Optional
size
boolean
last
Optional
last
integer As int32 As int32
numberOfElements
Optional
numberOfElements
integer As int32 As int32
totalPages
Optional
totalPages
boolean
first
Optional
first
integer As int64 As int64
totalElements
Optional
totalElements