Lock Campaign
POST/lockEntOwnerCampaign
This API is used to lock campaign after validating whether Entitlement Owner campaign is completed or not.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
campaignId
verifier
Optional params:
certkey
Request
- application/json
Body
Responses
- 200
- 412
Lock Campaign - 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)
- Lock Campaign - SUCCESS
Schema
{
"errorCode": "0",
"lockedcertkey": [
7250
],
"msg": "Success",
"totalIncompleteCertification": [],
"totalLockedCertification": [
"EOCampaign1231_Reconfigure_Reconfigure - admin (admin admin)"
]
}
{
"errorCode": "0",
"lockedcertkey": [
7250
],
"msg": "Success",
"totalIncompleteCertification": [],
"totalLockedCertification": [
"EOCampaign1231_Reconfigure_Reconfigure - admin (admin admin)"
]
}
Lock Campaign - FAILURE
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)
- Lock Campaign - FAILURE
Schema
{
"errorCode": "1",
"msg": "Active verifier with name admin01 not found"
}
{
"errorCode": "1",
"msg": "Active verifier with name admin01 not found"
}