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
-
accattkey
certified
(Can be Yes/No/Reset)entattkey
comments
accounts
accattkey
certified
(Can be Yes/No/Reset)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
Path Parameters
- 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
Connection
string
Date
string
Expires
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 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"
}