Fetch Campaign Details
POST/fetchCampaignDetails
This API return details of a particular campaign required for employee verification.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
campaignId
Optional params:
certifierUsername
certkey
max
offset
showCampaignConfig
(True/ False) Returns the campaign configuration details when set to True.
Note: The user attributes in the response is driven by the attributes selected during the campaign launch.
Request
- application/json
Body
campaignIdstring
Example:
232
Responses
- 200
Fetch Campaign Details
Response Headers
Date
string
Server
string
Set-Cookie
string
X-Content-Type-Options
string
- application/json
- Schema
- Example (from schema)
- Fetch Campaign Details
Schema
Array [
Array [
]
]
Total Preview Certificationstring[]
Example:
["testLock2 - dbailey (Damien Bailey)"]
campaignDetails
object[]
certificationamestring
Example:
testLock2 - dbailey (Damien Bailey)
certifierstring
Example:
dlogan
certkeystring
Example:
12258
progressstring
Example:
100%
statusstring
Example:
Locked And Task Created
usercountnumber
Example:
5
users
object[]
certfiedstring
Example:
WORKSFORME
commentstring
Example:
commentsstring
Example:
consultedstring
Example:
true
displaynamestring
Example:
Tabitha Bowers
firstnamestring
Example:
Tabitha
totalaccountnumber
Example:
5
updateuserstring
Example:
dbailey
usernamestring
Example:
tbowers
campaignIdstring
Example:
232
completestring
Example:
Yes
countnumber
Example:
1
errorCodestring
Example:
0
msgstring
Example:
successful
{
"Total Preview Certification": [
"testLock2 - dbailey (Damien Bailey)"
],
"campaignDetails": [
{
"certificationame": "testLock2 - dbailey (Damien Bailey)",
"certifier": "dlogan",
"certkey": "12258",
"progress": "100%",
"status": "Locked And Task Created",
"usercount": 5,
"users": [
{
"certfied": "WORKSFORME",
"comment": "",
"comments": "",
"consulted": "true",
"displayname": "Tabitha Bowers",
"firstname": "Tabitha",
"totalaccount": 5,
"updateuser": "dbailey",
"username": "tbowers"
},
{
"certfied": "WORKSFORME",
"comment": "[02/26/19-(admin)] test comments for dbailey[02/26/19-(admin)] test comments for dbailey[02/26/19-(admin)] test comments for dbailey[02/26/19-(admin)] test comments for dbailey[02/26/19-(admin)] test comments for dbailey",
"comments": "",
"consulted": "true",
"displayname": "Ariana Hinton",
"firstname": "Ariana",
"totalaccount": 1,
"updateuser": "dbailey",
"username": "00039016-9acb-495d-8912-7bc289d0af1b"
},
{
"certfied": "WORKSFORME",
"comment": "[02/26/19-(admin)] test comments for DEWHE0",
"comments": "",
"consulted": "false",
"displayname": "",
"firstname": "Mathew",
"totalaccount": 2,
"updateuser": "dbailey",
"username": "194422"
},
{
"certfied": "WORKSFORME",
"comment": "",
"comments": "",
"consulted": "false",
"displayname": "",
"firstname": "Shania",
"totalaccount": 2,
"updateuser": "dbailey",
"username": "194445"
},
{
"certfied": "WORKSFORME",
"comment": "",
"comments": "",
"consulted": "false",
"displayname": "",
"firstname": "Cody",
"totalaccount": 1,
"updateuser": "dbailey",
"username": "194446"
}
]
}
],
"campaignId": "232",
"complete": "Yes",
"count": 1,
"errorCode": "0",
"msg": "successful"
}
{
"Total Preview Certification": [
"testLock2 - dbailey (Damien Bailey)"
],
"campaignDetails": [
{
"certificationame": "testLock2 - dbailey (Damien Bailey)",
"certifier": "dlogan",
"certkey": "12258",
"progress": "100%",
"status": "Locked And Task Created",
"usercount": 5,
"users": [
{
"certfied": "WORKSFORME",
"comment": "",
"comments": "",
"consulted": "true",
"displayname": "Tabitha Bowers",
"firstname": "Tabitha",
"totalaccount": 5,
"updateuser": "dbailey",
"username": "tbowers"
},
{
"certfied": "WORKSFORME",
"comment": "[02/26/19-(admin)] test comments for dbailey[02/26/19-(admin)] test comments for dbailey[02/26/19-(admin)] test comments for dbailey[02/26/19-(admin)] test comments for dbailey[02/26/19-(admin)] test comments for dbailey",
"comments": "",
"consulted": "true",
"displayname": "Ariana Hinton",
"firstname": "Ariana",
"totalaccount": 1,
"updateuser": "dbailey",
"username": "00039016-9acb-495d-8912-7bc289d0af1b"
},
{
"certfied": "WORKSFORME",
"comment": "[02/26/19-(admin)] test comments for DEWHE0",
"comments": "",
"consulted": "false",
"displayname": "",
"firstname": "Mathew",
"totalaccount": 2,
"updateuser": "dbailey",
"username": "194422"
},
{
"certfied": "WORKSFORME",
"comment": "",
"comments": "",
"consulted": "false",
"displayname": "",
"firstname": "Shania",
"totalaccount": 2,
"updateuser": "dbailey",
"username": "194445"
},
{
"certfied": "WORKSFORME",
"comment": "",
"comments": "",
"consulted": "false",
"displayname": "",
"firstname": "Cody",
"totalaccount": 1,
"updateuser": "dbailey",
"username": "194446"
}
]
}
],
"campaignId": "232",
"complete": "Yes",
"count": 1,
"errorCode": "0",
"msg": "successful"
}