This module is used to get evaluation data from the system. The Service URL of the module is given by the following link-
https://qevalpro.com/api/EvalServices/GetEvaluationData
- Method– Post
- Json Formats-
1. Code snippet for Web Service Use–
{
“Token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImVicyIsImV4cCI6MTQ5MDk4MTgzOH0.9jUzPnkKXEMkvg4q7ZNZ4JmoM6JYwlsXyrdV4kNXP4E”,
“Number”: “4797515272”,
“AutoFail”: “Yes”;
“CriticalCall”: “All “;
“Reviewed”: “All “;
“Disputed”: “All “;
“RoleId”: “2”;
“ProgramID”: “225544”,
“ClientID”: “565”,
“StartDate”: “03/01/2017”,
“EndDate”: “03/01/2017”,
“DateFlag”: “2”,
“Location”: “0”,
“PartnerId”: “0”
}
Note: If dates are not provided, then Number is mandatory
2. Description for Request Parameters
S.No |
Name |
Type |
Description |
Allowed Values |
1 |
Token |
String |
Authentication Token |
Received from Login API once successfully authenticated |
2 |
Number |
String |
Number |
Maximum 50 allowed. Default value will be zero for all |
3 |
Autofail |
String |
Is Autofail or not |
Yes/No/All |
4 |
CriticalCall |
String |
Is Critical call or not |
Yes/No/All |
5 |
Reviewed |
String |
Is Reviewed or not |
Yes/No/All |
6 |
Disputed |
String |
Is disputed or not |
Yes/No/All |
7 |
RoleId |
String |
Role Id of user |
Comma separated roleids to filter multiple role IDs. Default value will be zero for all (Received from Get Roles API) |
8 |
ProgramID |
big int |
ID of Program |
Put Program ID to filter with program. Default value will be zero in the field. (Received from Get Client Programs) |
9 |
ClientID |
big int |
ID of client |
Put ClientID to filter with client. Default value will be zero for all (Received from Get Client from Parent) |
10 |
StartDate |
String |
Starting date |
Format will be in mm/dd/yyyy. Start date must be lesser than End date |
11 |
EndDate |
String |
End date |
mm/dd/yyyy – End date must be greater than Start date (Maximum allowed range will be for 31) |
12 |
DateFlag |
Int |
Date Flag |
1 – CallDate/ChatDate 2- ObservedDate/ Verified Date 3 – ModifiedDate (If date filter is not to be used. The default value will be zero) |
13 |
Location |
Int |
Location of program |
Put Location ID to search by location. Default value will be zero for all (Get Client Location API) |
14 |
PartnerId |
Int |
Id of partner |
Put partner ID in the filter to search by partner. Default value will be zero for all (Get Client Partners API) |
3. Response Example–
Success:
[
{
“EvaluationID”: 2703122,
“Supervisor”: “Jeani Haak”,
“AgentName”: “Aaron Jordan”,
“Evaluator”: “IMS User”,
“CallDate”: “2017-01-02T00:00:00”,
“Length”: 552,
“EvaluationDate”: “2017-03-01T00:00:00”,
“Disposition”: “SALE”,
“Number”: “4797515272”,
“Location”: “Lufkin”,
“AutoFailure”: “NA”,
“PossibleScore”: 92,
“ActualScore”: 87,
“QAScore”: 94.57,
“QuestionList”:
[
{
“QuestionText”: “Agent Name :”,
“AnswerText”: “JORDAN AARON(AJORDAN85574)”,
“Comment”: ” – 2703122″
},
{
“QuestionText”: “EVL ID”,
“AnswerText”: “bbtcbcj1s”,
“Comment”: ” – 2703122″
},
{
“QuestionText”: “CallOutcome”,
“AnswerText”: “SALE”,
“Comment”: ” – 2703122″
}
]
}
]
Fail–
{“Message”: “The request is invalid”}
Video