Approve Reject Account Entitlement Details
POST/approverejectAppOwnerCampaignAccEntDetails
This API is used to certify/revoke the user's access (account, entitlement). When an approve or reject action is performed for a line item in an Application Owner 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.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
campaignid
certkey
verifier
entitlements
- 1. accattkey
2. certified
(Can be Yes/No/Reset) 3. entattkey
4. comments
accounts
1. accattkey
2. certified
(Can be Yes/No/Reset) 3. comments
Optional params:
bulkUpdate
(Can be Y or N)
approveComment
rejectComment
doesNotBelongToMeComment
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 [
]
accounts
object[]
entitlements
object[]
Responses
- 200
Approve Reject Account Entitlement Details - SUCCESS
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Date
string
Expires
string
Referrer-Policy
string
Set-Cookie
string
Strict-Transport-Security
string
X-Content-Type-Options
string
X-Frame-Options
string
- application/json
- Schema
- Example (from schema)
- Approve Reject Account Entitlement Details - SUCCESS
Schema
Array [
]
Array [
]
accList
object[]
entList
object[]
{
"accList": [
{
"accattkey": "2019316",
"certified": "No",
"comments": "test2",
"msg": "Certification_user_account_status updated successfully"
}
],
"campaignid": "305",
"certkey": "12877",
"entList": [
{
"accattkey": "2019316",
"certified": "No",
"comments": "test3",
"entattkey": "3534487",
"msg": "Certification_account_entitlement1_status updated successfully"
}
],
"errorCode": "0",
"msg": "Success",
"verifier": "admin"
}
{
"accList": [
{
"accattkey": "2019316",
"certified": "No",
"comments": "test2",
"msg": "Certification_user_account_status updated successfully"
}
],
"campaignid": "305",
"certkey": "12877",
"entList": [
{
"accattkey": "2019316",
"certified": "No",
"comments": "test3",
"entattkey": "3534487",
"msg": "Certification_account_entitlement1_status updated successfully"
}
],
"errorCode": "0",
"msg": "Success",
"verifier": "admin"
}