Interviewer getPerformanceListInTimeSpan

From Catglobe Wiki
Jump to: navigation, search



Interviewer_getPerformaceListInTimeSpan

Return Performance List

Syntax

Interviewer_getPerformanceListInTimeSpan(groupResourceId, startDate, endDate);

Arguments

  • groupResourceId: is number. It is the group containing interviewers we want to get Performance info
  • startDate, endDate: are arrays. We get performance list in this timespan

Return value

Array has 5 item:


Index

Data type

Value

INTERVIEWER_PERFORMANCE_USER_RESOURCE_ID

number

Resource Id of user who belongs to the specified group

INTERVIEWER_PERFORMANCE_AVERAGE_PERFORMANCE

number

Average total performance of this interviewer on all Pqs which he/she worked on (in specified time span)

INTERVIEWER_PERFORMANCE_TOTAL_HOURS_WORKED

number

Total hours worked of this interviewer on all Pqs which he/she worked on (in specified time span)

INTERVIEWER_PERFORMANCE_QUESTIONNAIRE

array

List of all Interviewer PQ performance object array which interviewer worked on (in specified time span)


Item INTERVIEWER_PERFORMANCE_QUESTIONNAIRE is array has:


Index

Data type

Value

INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_RESOURCE_ID

number

Resource Id of PQ which user worked on

INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_PERFORMANCE

number

Performance of that interviewer on this PQ (in specified time span)

INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_HOURS_WORKED

number

Hours worked of that interviewer on this PQ (in specified time span)

Example

number groupResourceId = 123456;

array sD = getCurrentDateTime();

sD[DateTime_Day] = sD[DateTime_Day] - 1;

array eD = getCurrentDateTime();

array a = Interviewer_getPerformanceListInTimeSpan(groupResourceId, sD, eD);

print(a);

Availability

Version 5.8