Difference between revisions of "Interviewer getPerformaceListInTimeSpan"
Line 1: | Line 1: | ||
− | + | {{HelpFiles}} | |
− | {{HelpFiles}} | + | |
+ | ==== 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: | ||
+ | |||
+ | |||
+ | |||
+ | {| width="1067" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic" | ||
+ | |- align="left" valign="top" | ||
+ | | width="356" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''Index''' | ||
+ | |||
+ | | width="356" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''Data type''' | ||
+ | |||
+ | | width="356" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''Value''' | ||
+ | |||
+ | |- align="left" valign="top" | ||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | INTERVIEWER_PERFORMANCE_USER_RESOURCE_ID | ||
+ | |||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | Resource Id of user who belongs to the specified group | ||
+ | |||
+ | |- align="left" valign="top" | ||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | INTERVIEWER_PERFORMANCE_AVERAGE_PERFORMANCE | ||
+ | |||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | Average total performance of this interviewer on all Pqs which he/she worked on (in specified time span) | ||
+ | |||
+ | |- align="left" valign="top" | ||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | INTERVIEWER_PERFORMANCE_TOTAL_HOURS_WORKED | ||
+ | |||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | Total hours worked of this interviewer on all Pqs which he/she worked on (in specified time span) | ||
+ | |||
+ | |- align="left" valign="top" | ||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | INTERVIEWER_PERFORMANCE_QUESTIONNAIRE | ||
+ | |||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | array | ||
+ | |||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | List of all Interviewer PQ performance object array which interviewer worked on (in specified time span) | ||
+ | |||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | Item INTERVIEWER_PERFORMANCE_QUESTIONNAIRE is array has: | ||
+ | |||
+ | |||
+ | |||
+ | {| width="1067" cellspacing="0" cellpadding="2" border="1" style="border-collapse:collapse; border:1px solid #010101" class="tableintopic" | ||
+ | |- align="left" valign="top" | ||
+ | | width="408" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''Index''' | ||
+ | |||
+ | | width="303" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''Data type''' | ||
+ | |||
+ | | width="356" bgcolor="#C0C0C0" style="border:1px solid #010101;" | | ||
+ | '''Value''' | ||
+ | |||
+ | |- align="left" valign="top" | ||
+ | | width="408" style="border:1px solid #010101;" | | ||
+ | INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_RESOURCE_ID | ||
+ | |||
+ | | width="303" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | Resource Id of PQ which user worked on | ||
+ | |||
+ | |- align="left" valign="top" | ||
+ | | width="408" style="border:1px solid #010101;" | | ||
+ | INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_PERFORMANCE | ||
+ | |||
+ | | width="303" style="border:1px solid #010101;" | | ||
+ | number | ||
+ | |||
+ | | width="356" style="border:1px solid #010101;" | | ||
+ | Performance of that interviewer on this PQ (in specified time span) | ||
+ | |||
+ | |- align="left" valign="top" | ||
+ | | width="408" style="border:1px solid #010101;" | | ||
+ | INTERVIEWER_PERFORMANCE_QUESTIONNAIRE_HOURS_WORKED | ||
− | == | + | | width="303" style="border:1px solid #010101;" | |
+ | number | ||
− | + | | width="356" style="border:1px solid #010101;" | | |
+ | 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 | + | array a = Interviewer_getPerformanceListInTimeSpan(groupResourceId, sD, eD); |
− | + | print(a); | |
− | + | Availability | |
− | + | Version 5.8 | |
− | + | [[Category:General_Functions]] | |
− | |||
− |
Revision as of 08:08, 5 January 2012
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