API Documentation

Get Evaluation Raw Data

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) 

</> JSON
{
    "ClientID": "14",
    "CampaignID": "7",
    "ProgramID": "3",
    "EvalFormID": "5",
    "StartDate": "01/01/2025",
    "EndDate": "01/31/2025",
    "DateFlag": "1",
    "Roles": "0",
    "LocationId": "0",
    "PartnerId": "0",
    "PageNumber": "1",
    "PageSize": "25"
}

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  

</> JSON
{
  "Evaluations": [
    {
      "Evaluation ID": 10000001,
      "Supervisor": "Sample Supervisor",
      "Supervisor ID": "100001",
      "Agent": "Sample Agent",
      "Agent ID": "100002",
      "Evaluator": "Sample Evaluator",
      "PartnerName": "Sample Partner",
      "Call Date": "01/15/25 00:00:00",
      "Evaluation Date": "01/16/25", / CST
      "Number": "5550000000",
      "Location": "Sample Location",
      "QA Alert": "NA",
      "Possible Score": 100.0,
      "Actual Score": 85.0,
      "QA Score": 85.0,
      "Call Length": "00:08:00",
      "Review Status": "Pending",
      "AgentStatus": "Active",
      "Disposition": "",
      "Call-ID": "99990001",
      / - Question columns: one per form question, named by question text -
      "1.(All Call Types) Did DSR greet with their name and nonprofit name from the screen
      pop/record? If not available, did they use generic intro and confirm nonprofit?": "Yes",
      "2.(All Call Types) Did DSR mention the nonprofit the required number of times based
      on talk time?": "Yes",

      "3.(All Call Types) Did DSR consistently demonstrate professionalism, active
      listening, empathy, and ownership throughout the call?": "Yes",
      "4.(All Call Types) Did DSR express gratitude at least once during the call and again
      in the closing?": "No",
      "5.(All Call Types) For outbound calls, did DSR disclose the call is being
      recorded?": "Yes",
      "6.(All Call Types) For inbound calls, was PII procedure followed prior to discussing
      donation details?": "N/A",
      "7.(Pre-Pickup Only) Did DSR read tax mandate verbatim?": "Yes",
      "8.(Pre-Pickup Only) For converted records without TIN/refusal noted, did DSR request
      SSN/TIN directly?": "Yes",
      "9.(Pre-Pickup Only) If donation is being submitted, did DSR offer or explain pickup
      procedures?": "Yes",
      "10.(All Call Types) Did DSR follow & complete all applicable policies &
      procedures?": "Yes",
      "11.(Pre-Pickup Only) For unsubmitted/self-service follow-ups, did DSR ask all
      nonprofit-specific questions and promotions?": "Yes",
      "12.(Mid-Pickup Only) Did the DSR attempt to save the donations (if applicable) &
      provide a rebuttal?": "N/A",
      "13.(Pre-Pickup Only) Did DSR collect or verify mailing address, phone, and email?":
      "Yes",

      "14.(Pre-Pickup Only) Did DSR confirm VIN decode, Y/M/M, mileage, and color?": "Yes",
      "15.(Pre-Pickup Only) For missing title info, did DSR confirm or remove unconfirmed
      fields?": "Yes",
      "16.(Pre-Pickup Only) For missing condition info, did DSR confirm and notate all
      required details and select the correct drop downs?": "Yes",
      "17.(Pre-Pickup And Mid-Pickup) Did DSR confirm pickup address and accessibility?":
      "Yes",
      "18.(Pre-Pickup And Post-Pickup) Did DSR offer state requirements?": "Yes"
    }
  ],
  "Page": {
    "PageSize": "25",
    "PageNumber": "1",
    "TotalRecord": 332
  }
}

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 0 for 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.

    ×

    Contact Us