We are creating User Manager Certificate with Objects to be included as Entitlements only.
We are taking "WORKSFORME" action on user of this certificate using "certifyUserManagerforCampaign" API and getting response with empty attribute. please find the postman screenshot below
I have also attached below request and response payload.
API:- "certifyUserManagerforCampaign"
Request Payload:
{
"verifications": [
{
"campaignId": "1111",
"certkey":"2628",
"employee": "testUser100",
"verifier": "skenduser",
"action": "WORKSFORME",
"comments": "Certify AT 5:45 PM"
},
{
"campaignId": "1111",
"certkey":"2628",
"employee": "skEndUser021220",
"verifier": "skenduser",
"action": "WORKSFORME",
"comments": "Certify AT 5:45 PM"
}
]
}
Response Payload:
{
"count": 0,
"verifications": []
}
After taking action on both users, I fetch the certification details by "/fetchCertificationList" API but it is showing progress as 0%. it should show 100% progress as all the items are acted on.
I have also attached the request ,response payload.
Request Payload:
{
"certifierUsername":"skenduser",
"certkey":"2628"
}
Response Payload:
{
"msg": "successful",
"certifierUsername": "skenduser",
"certkey": "2628",
"offset": "0",
"max": "50",
"displayCount": 1,
"errorCode": "0",
"certifications": [
{
"id": 2628,
"status": "New",
"certificationName": "UserCert_SMTEST5 - skEndUser (Suyog EndUser)",
"campaignKey": 1111,
"campaignName": "UserCert_SMTEST5",
"certifier": "skEndUser (Suyog EndUser)",
"type": "User Manager",
"startdate": "2023-03-17 12:02:00",
"enddate": "2023-05-19 12:02:00",
"dueIn": "63 Days",
"progress": "0%",
"comments": "",
"lockFlag": null
}
],
"refreshInProgress": false,
"totalCount": 1
}