Get Specified Certification Task Line Items
get
/iam/governance/selfservice/api/v1/certifications/{certid}/tasks/{taskid}/lineitems
Returns the specified certification task line items.
Request
Supported Media Types
- application/json
Path Parameters
-
certid: string
Certification ID
-
taskid: string
Certification Tasks ID
Response
Supported Media Types
- application/json
200 Response
Successful
Headers
-
ResponseTime: string
Captures the time in milliseconds taken for processing the request.
Nested Schema : lineItemsInfo
Type:
Show Source
object-
accounts(optional):
integer
-
action(optional):
integer
-
certifiedBy(optional):
string
-
comments(optional):
string
-
dateCertified(optional):
string
-
entitlements(optional):
integer
-
itemRisk(optional):
integer
-
lineItem(optional):
object lineItemLink
-
links(optional):
object LinkDataInstances
-
percentComplete(optional):
integer
-
roles(optional):
integer
401 Response
Unauthorized
404 Response
Requested entity not found
500 Response
Internal Server Error
Examples
This example retrieves the line items for a given certification and task. The information shown here is against a pseudo system and serves as a prototype.
cURL Example
curl -H "Content-Type: application/json" -X GET -u username:password https://pseudo.com/iam/governance/selfservice/api/v1/certifications/3/tasks/bea5a9e0-8e4c-455f- a34b-33ca190f0bce/lineitems
Example of GET Response Body
The following example shows the contents of the response body in JSON format.
{
"links": [
{
"rel": "self",
"href": "http://pseudo.com:PORT/iam/governance/selfservice/api/v1/certifications/3/tasks/be
a5a9e0-8e4c-455f-a34b-33ca190f0bce/lineitems?offset=1&limit=10"
},
{
"rel": "first",
"href": "http://pseudo.com:PORT/iam/governance/selfservice/api/v1/certifications/3/tasks/be
a5a9e0-8e4c-455f-a34b-33ca190f0bce/lineitems?offset=1&limit=10"
}
],
"count": 1,
"hasMore": false,
"totalResult": -1,
"certLineItemList": [
{
"links": [
{
"rel": "self",
"href": "http://pseudo.com:PORT/iam/governance/selfservice/api/v1/certifications/3/tasks/be
a5a9e0-8e4c-455f-a34b-33ca190f0bce/lineitems/1"
}
],
"action": "1",
"percentComplete": 100,
"status": "CERTIFIED",
"entityId": 3,
"id": 1,
"createUser": "XELSYSADM",
"updateDate": "2019-03-29T20:35:59Z",
"updateUser": "XELSYSADM",
"userLogin": "BKIDDO",
"firstName": "Beatrix",
"lastName": "Kiddo",
"roles": 1,
"accounts": 0,
"entitlements": 0,
"employeeType": "Full-Time Employee",
"identityStatus": "Active",
"manager": "AARORA",
"organization": "Vision",
"accStatus": "false",
"email": "beatrix.kiddo@vision.com",
"iamUserId": 23,
"fullName": "Kiddo, Beatrix"
}
]
}