Certify User Manager for Campaign
POST/certifyUserManagerforCampaign
This API will do employee verification for a particular campaign.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
verifications
- 1. campaignId
2. employee
- can be one employee or list of employees like - ["jdoe","","smith","john"], 3. verifier
4. action
- Valid actions are WORKSFORME/DOESNOTWORKFORME/NORESPONSE, 5. certkey
Optional params:
comments
in the verifications
Request
- application/json
Body
Array [
]
verifications
object[]
action string
campaignId string
certkey string
comments string
employee string
verifier string
Responses
- 200
certifyUserManagerforCampaign / Certify User Manager for Campaign
Response Headers
Date
string
Server
string
Set-Cookie
string
X-Content-Type-Options
string
- application/json
- Schema
- Example (from schema)
- Certify User Manager for Campaign
- certifyUserManagerforCampaign
Schema
Array [
]
count number
errorCode string
msg string
verifications
object[]
employee string
action string
errorCode string
id string
msg string
campaignId string
verifier string
{
"count": 2,
"errorCode": "",
"msg": "",
"verifications": [
{
"employee": "acook",
"errorCode": "0",
"id": "227",
"msg": "success"
},
{
"employee": "crichards",
"errorCode": "0",
"id": "227",
"msg": "success"
}
]
}
{
"count": 2,
"verifications": [
{
"action": "DOESNOTWORKFORME",
"campaignId": "227",
"employee": "acook",
"errorCode": "0",
"msg": "success",
"verifier": "dbailey"
},
{
"action": "WORKSFORME",
"campaignId": "227",
"employee": "crichards",
"errorCode": "0",
"msg": "success",
"verifier": "dbailey"
}
]
}
{
"count": 2,
"errorCode": "",
"msg": "",
"verifications": [
{
"employee": "acook",
"errorCode": "0",
"id": "227",
"msg": "success"
},
{
"employee": "crichards",
"errorCode": "0",
"id": "227",
"msg": "success"
}
]
}
Loading...