Get overall responses stats of a project
Analysis / Overview
Get overall responses stats of a project
Description
Retrieves stats data of all responses that correspond to the specified campaign and date range.
Response
200 OK
{
"channelData": [{
"_id": string,
"count": number
}],
"dailyResponsesData":[{
"_id": { "date": string },
"count": number
}],
"listsResponsesData": [],
"globalResponsesData":[{
"_id": string,
"timeToCompleteSum": number,
"responsesCount": number
}]
}
where:
channelData: Array of responses count for each distribution channel, eg. Email, Sms, Admin Link, etc.dailyResponsesData: Array of responses count per day (within the specified date range in the dashboard filter).globalResponsesData: Array of global metrics of the desired responses.
400 Bad Request
ProjectId, fromDate and/or toDate are missing.
401 Unauthorized
The user doesn’t have permissions.
500 Internal Server Error
Error occurred while processing the request.
GET
Get overall responses stats of a project
Description
Retrieves stats data of all responses that correspond to the specified campaign and date range.Response
200 OK
channelData: Array of responses count for each distribution channel, eg. Email, Sms, Admin Link, etc.dailyResponsesData: Array of responses count per day (within the specified date range in the dashboard filter).globalResponsesData: Array of global metrics of the desired responses.
400 Bad Request
ProjectId, fromDate and/or toDate are missing.
401 Unauthorized
The user doesn’t have permissions.
500 Internal Server Error
Error occurred while processing the request.