Approve Reject Campaign Account Entitlement Details
POST/approverejectCampaignAccEntDetails
This API is used to certify/revoke the user's access (account, entitlement) along with employment verification. When an approve or reject action is performed for a line item in a User Manager campaign, then only the latest comment sent through the API is retained in the comments field but all the comments (including actions) are stored in the audit trail/history.
From Release v23.8, this API now supports resetting of actions on roles within a certification.
The Authorization must have Bearer followed by Token.
Mandatory params:
campaignid
certkey
verifier
accounts -
- accattkey
- userattkey
- certified(Can be Yes/No/Reset)
- comments
entitlements -
- entattkey
- accattkey
- userattkey
- certified(Can be Yes/No/Reset)
- comments
users -
- userattkey
- certified
- comments
Optional params:
bulkUpdate(Can be Y or N)
approveComment
rejectComment
doesNotBelongToMeComment
roleattkey
bulkValidations(If 'Y' the code works as is and all validations happen, if bulkValidations=' N' the code will skip validations for all the records passed)
Request
Path Parameters
- application/json
Body
- Array [ 
- ] 
- Array [ 
- ] 
- Array [ 
- ] 
accounts
object[]
entitlements
object[]
roles
object[]
Responses
- 200
Approve Reject Campaign Account Entitlement Details / Approve Reject Campaign Account Entitlement Details - new
Response Headers
- Access-Control-Allow-Credentials - string 
- Access-Control-Allow-Origin - string 
- Cache-Control - string 
- Connection - string 
- Date - string 
- Expires - string 
- Permissions-Policy - string 
- Pragma - string 
- Referrer-Policy - string 
- Set-Cookie - string 
- Strict-Transport-Security - string 
- Transfer-Encoding - string 
- X-Content-Type-Options - string 
- X-Frame-Options - string 
- X-XSS-Protection - string 
- application/json
- Schema
- Example (from schema)
- Approve Reject Campaign Account Entitlement Details
- Approve Reject Campaign Account Entitlement Details - new
Schema
{
  "errorCode": "0",
  "msg": "Success",
  "users": "Success"
}
{
  "errorCode": "0",
  "msg": "Success"
}
{
  "errorCode": "0",
  "msg": "Success",
  "users": "Success"
}