The Get Evaluation Raw Data API retrieves paginated raw evaluation records from QEval. It returns evaluation metadata, scoring information, and individual question responses as separate columns based on the selected evaluation form. You can filter records using client, campaign, program, evaluation form, date range, role, location, partner, agent, and supervisor criteria.
| URL | https://{Subdomain}.qevalpro.com/api/EvalServices/GetEvaluationRawData |
|---|---|
| Method | POST |
| Subdomains | app or ai |
1. API Headers
Every API call, except the Login API, must include the following headers obtained after successful login.
| Header | Type | Description |
|---|---|---|
|
Authorization |
String | Bearer <Generated_Token> (generated after successful login) |
| X-API-KEY | String |
<Your_Unique_API_Key> (generated after successful login) Note: If unavailable, email Qeval@etechgs.com |
| Content-Type | String | application/json — specifies the request body format. |
2. Sample Request (Payload)
Description for Request Parameters
| S.No. | Name | Type | Description | Is Required? |
|---|---|---|---|---|
| 1 | ClientID | String | Client ID used to filter evaluations. Must be a valid integer and cannot be 0. |
Yes |
| 2 | CampaignID | String | Campaign ID used to filter evaluations. Must be a valid integer and cannot be 0. |
Yes |
| 3 | ProgramID | String | Program ID used to filter evaluations. | Yes |
| 4 | EvalFormID | String | Evaluation form ID used to filter evaluations. Must be a valid integer and cannot be 0. |
Yes |
| 5 | StartDate | String | Start date for the requested range, in MM/DD/YYYY format. |
Yes |
| 6 | EndDate | String | End date for the requested range, in MM/DD/YYYY format. Must be on or after StartDate. |
Yes |
| 7 | DateFlag | String | Specifies the date field used for filtering. | Yes |
| 8 | Roles | String | Role ID(s) used to filter evaluations. Multiple IDs can be comma-separated. Use 0 for all roles. |
Yes |
| 9 | LocationId | String | Location ID used to filter evaluations. Use 0 for all locations. |
Yes |
| 10 | PartnerId | String | Partner ID used to filter evaluations. Use 0 for all partners. |
Yes |
| 11 | AgentId | String | Filters evaluations by a specific agent ID. | No |
| 12 | SupervisorId | String | Filters evaluations by a specific supervisor ID. | No |
| 13 | AgentStatus | String | Filters by agent status. Default: 2 (all). |
No |
| 14 | ShowHideQuestion | String | Controls the display of question columns. Default: 0. |
No |
| 15 | IsQuestionBase | String | Controls the question-based view. Default: 0. |
No |
| 16 | Callwisequestion | String | Controls call-wise question mode. Default: 0. |
No |
| 17 | LoginId | String | Login user ID. Default: 0. |
No |
| 18 | IsNewUI | String | Specifies the New UI flag. Default: 2. |
No |
| 19 | PageNumber | String | Page number to retrieve. Starts at 1. Default: 1. |
No |
| 20 | PageSize | String | Number of records returned per page. Default: 50; maximum: 50. |
No |
Allowed Values
| Field | Allowed Values / Default | Description |
|---|---|---|
| DateFlag | 1, 2, 3; 0 when no date filter is needed |
1 = CallDate/ChatDate; 2 = ObservedDate/VerifiedDate; 3 = ModifiedDate. |
| Roles | Role IDs or 0 |
Use comma-separated IDs to select multiple roles; 0 includes all roles. |
| LocationId | Location ID or 0 |
Use 0 for all locations. |
| PartnerId | Partner ID or 0 |
Use 0 for all partners. |
| AgentStatus | 2 by default |
Represents all agent statuses. The guide does not specify the other accepted values. |
| ShowHideQuestion | 0 by default |
Controls the display of question columns. The guide does not specify the other accepted values. |
| IsQuestionBase | 0 by default |
Controls the question-based view. The guide does not specify the other accepted values. |
| Callwisequestion | 0 by default |
Controls call-wise question mode. The guide does not specify the other accepted values. |
| LoginId | 0 by default |
Login user ID. |
| IsNewUI | 2 by default |
New UI flag. The guide does not specify the other accepted values. |
| PageNumber | 1 or higher |
One-based page index. |
| PageSize | 1–50 |
Maximum of 50 records per request. |
Validation Rules
| Rule | Description |
|---|---|
| ClientID | Required; must be a valid integer and cannot be 0. |
| CampaignID | Required; must be a valid integer and cannot be 0. |
| EvalFormID | Required; must be a valid integer and cannot be 0. |
| Date Range | The requested date range cannot exceed 31 days. |
| StartDate and EndDate | Both are required. EndDate must be on or after StartDate. |
| Date Format | Dates must follow MM/DD/YYYY. |
| PageSize | Cannot exceed 50 records per request. |
| Roles, LocationId, PartnerId | Required parameters. Use 0 to include all roles, locations, or partners, respectively. |
Where to Find the Required IDs
Use the relevant QEval APIs to retrieve the IDs required for the request.
| Parameter | Reference API |
|---|---|
| ClientID | Get Client By Parent |
| ProgramID | Get Client Programs |
| EvalFormID | Get Evaluation Forms |
| Roles | Get Role |
| LocationId | Get Client Location |
| PartnerId | Get Client Partners |
| AgentId | Get User List |
| SupervisorId | Get Client Supervisor |
3. Response Examples
Success
Status Codes
| Code | Status | Description |
|---|---|---|
| 200 | OK | Request succeeded. Returns an Evaluations array and a Page object. |
| 406 | Not Acceptable | Validation failed. The response contains details of the first failing field. |
| 404 | Not Found | No records match the specified filters. |
| 401 | Unauthorized | The Bearer token is missing, expired, or invalid. |
| 400 | Bad Request | An unexpected server exception occurred. The response may include details in the Message field. |
Response Parameters
The API response contains an Evaluations array with evaluation metadata, scoring details, review information, and question-level responses. The Page object provides pagination details.
Evaluation Response Fields
| S.No. | Name | Type | Description |
|---|---|---|---|
| 1 | Evaluations | Array | Contains evaluation records returned based on the specified filters. |
| 2 | Evaluation ID | BigInt | Unique identifier of the evaluation record. |
| 3 | Supervisor | String | Full name of the supervisor associated with the evaluation. |
| 4 | Supervisior ID | String | Identifier of the supervisor. |
| 5 | Agent | String | Full name of the evaluated agent. |
| 6 | Agent ID | String | Identifier of the evaluated agent. |
| 7 | Evaluator | String | Full name of the evaluator who performed the evaluation. |
| 8 | PartnerName | String | Name of the partner, when partner access is enabled. |
| 9 | Interaction Date | String | Date and time associated with the interaction. |
| 10 | Call Date | String | Date associated with the call. |
| 11 | Evaluation Date | String | Date the evaluation was completed. |
| 12 | Review Date | String | Date the evaluation was reviewed, when available. |
| 13 | Number | String | Phone number or interaction reference associated with the evaluation. |
| 14 | Location | String | Name or identifier of the location associated with the evaluation. |
| 15 | QA Alert | String | Indicates the QA alert or auto-failure status. |
| 16 | Possible Score | Double | Maximum achievable score for the evaluation. |
| 17 | Actual Score | Double | Actual score achieved in the evaluation. |
| 18 | QA Score | Number | Overall evaluation score expressed as a percentage. |
| 19 | Call Length | String | Duration of the call, generally represented in HH:MM:SS format. |
| 20 | Review Status | String | Current review status, such as Pending, Reviewed, or Disputed. |
| 21 | AgentStatus | String | Status of the agent, such as Active or Inactive. |
| 22 | Disposition | String | Call disposition or outcome. May be empty. |
| 23 | Call-ID | String | External call or interaction reference ID, when available. |
| 24 | Dispute Comment | String | Comment associated with a disputed evaluation, when available. |
Question-Level Response Fields
The API returns evaluation-form questions as individual columns. Column names correspond to the question text configured in the evaluation form, and values contain the recorded answers, scores, comments, or other question responses.
| S.No. | Name | Type | Description |
|---|---|---|---|
| 1 | Question Text (dynamic column) | String | Contains the response recorded for the corresponding evaluation question. Each question appears as a separate column. |
| 2 | Comment | String | Contains a comment or text response associated with a question, when applicable. |
| 3 | HTML Text Question | String | Example of a question-specific field that may contain formatted text or conversation content. |
| 4 | Essay Question | String | Example of a question-specific field that may contain a descriptive or long-text response. |
| 5 | Call Type | String | Additional response field indicating the call type, such as Inbound, when returned. |
Note: Question-specific fields vary depending on the evaluation form. The fields listed above are examples from the supplied response and are not a fixed set of columns for every evaluation.
Pagination Response Fields
| S.No. | Name | Type | Description |
|---|---|---|---|
| 1 | Page | Object | Contains pagination information for the response. |
| 2 | Page.PageSize | String | Number of records requested per page. |
| 3 | Page.PageNumber | String | Current page number. |
| 4 | Page.TotalRecord | Integer | Total number of records matching the specified filters across all pages. |
Notes
- Authentication is mandatory for accessing this API. Obtain the Bearer token and API key using the Login API.
- Include Authorization, X-API-KEY, and Content-Type headers in every request.
- ClientID, CampaignID, ProgramID, EvalFormID, StartDate, EndDate, DateFlag, Roles, LocationId, and PartnerId are required parameters.
- ClientID, CampaignID, and EvalFormID cannot be
0. - The maximum supported date range is 31 days.
- Use DateFlag to specify the date field for filtering. The guide lists
0for requests without a date filter; however, StartDate and EndDate are marked as required. Confirm the expected behaviour with the API team before using this combination. - The maximum page size is 50 records. Use PageNumber and PageSize to retrieve additional records.
- Question responses are returned as separate columns named after the evaluation questions.
- The Partner Name field is returned only when partner access is enabled.
- A 404 response indicates that no records match the selected filters.
Video