Fetch Account Entitlement Details
POST/fetchEntOwnerCampaignAccEntDetails
This API returns user details, account-entitlement details of a particular campaign required for certify/revoke API. If last certified actions and last certified comments are configured during campaign creation, then it is displayed in the API response.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
campaignId
Optional params:
certkey
max
offset
entitlementmax
entitlementoffset
accountmax
accountoffset
entitlement2max
entitlement2offset
verifier
Request
- application/json
Body
Responses
- 200
Fetch Account Entitlement Details
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Date
string
Expires
string
Referrer-Policy
string
Server
string
Set-Cookie
string
Strict-Transport-Security
string
X-Content-Type-Options
string
X-Frame-Options
string
- application/json
- Schema
- Example (from schema)
- Fetch Account Entitlement Details
Schema
Array [
Array [
Array [
]
]
]
campaignAccountEntDetails
object[]
entitlements
object[]
accounts
object[]
{
"campaignAccountEntDetails": [
{
"certificationname": "Linux Access Review - U006789 (Constance Bihner)",
"certkey": "33600",
"entitlementDisplayCount": 1,
"entitlementTotalCount": 1,
"entitlements": [
{
"accountdisplaycount": 2,
"accounts": [
{
"accountStatus": "1",
"accountname": "admin",
"certaccountkey": 192406,
"certfied": "NORESPONSE",
"comment": null,
"consulted": "no",
"endpoint": "SaviyntLinuxServer",
"lastCertifiedCampaignName": "",
"lastCertifiedDate": "",
"lastCertifiedUser": "",
"systemUserName": "admin",
"userStatus": "1",
"username": "admin"
},
{
"accountStatus": "1",
"accountname": "U037787",
"certaccountkey": 192407,
"certfied": "NORESPONSE",
"comment": null,
"consulted": "no",
"endpoint": "SaviyntLinuxServer",
"lastCertifiedCampaignName": "",
"lastCertifiedDate": "",
"lastCertifiedUser": "",
"systemUserName": "jwallace",
"userStatus": "1",
"username": "U037787"
}
],
"accounttotalcount": 10,
"certentvalkey": 1530363,
"certfied": "APPROVED",
"comment": null,
"consulted": "no",
"entitlement2displaycount": 0,
"entitlement2totalcount": 0,
"entitlementStatus": 1,
"entitlementType": "Groups",
"entitlement_value": "audio",
"risk": "",
"soxcritical": "0",
"status": "1",
"syscritical": "0"
}
],
"status": "In progress"
}
],
"campaignId": "178",
"complete": "No",
"displayCount": 1,
"errorCode": "0",
"msg": "successful",
"totalCount": 1
}
{
"campaignAccountEntDetails": [
{
"certificationname": "Linux Access Review - U006789 (Constance Bihner)",
"certkey": "33600",
"entitlementDisplayCount": 1,
"entitlementTotalCount": 1,
"entitlements": [
{
"accountdisplaycount": 2,
"accounts": [
{
"accountStatus": "1",
"accountname": "admin",
"certaccountkey": 192406,
"certfied": "NORESPONSE",
"comment": "",
"consulted": "no",
"endpoint": "SaviyntLinuxServer",
"lastCertifiedCampaignName": "",
"lastCertifiedDate": "",
"lastCertifiedUser": "",
"systemUserName": "admin",
"userStatus": "1",
"username": "admin"
},
{
"accountStatus": "1",
"accountname": "U037787",
"certaccountkey": 192407,
"certfied": "NORESPONSE",
"comment": "",
"consulted": "no",
"endpoint": "SaviyntLinuxServer",
"lastCertifiedCampaignName": "",
"lastCertifiedDate": "",
"lastCertifiedUser": "",
"systemUserName": "jwallace",
"userStatus": "1",
"username": "U037787"
}
],
"accounttotalcount": 10,
"certentvalkey": 1530363,
"certfied": "APPROVED",
"comment": "",
"consulted": "no",
"entitlement2displaycount": 0,
"entitlement2totalcount": 0,
"entitlementStatus": 1,
"entitlementType": "Groups",
"entitlement_value": "audio",
"risk": "",
"soxcritical": "0",
"status": "1",
"syscritical": "0"
}
],
"status": "In progress"
}
],
"campaignId": "178",
"complete": "No",
"displayCount": 1,
"errorCode": "0",
"msg": "successful",
"totalCount": 1
}