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
2.userattkey
3.certified
(Can be Yes/No/Reset) 4.comments
entitlements
-
entattkey
2.accattkey
3.userattkey
4.certified
(Can be Yes/No/Reset) 5.comments
users
-
userattkey
2.certified
3.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
- 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
Date
string
Expires
string
Permissions-Policy
string
Referrer-Policy
string
Set-Cookie
string
Strict-Transport-Security
string
X-Content-Type-Options
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"
}