Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

CatiStatistic getByInterviewers

From Catglobe Wiki
Revision as of 01:55, 28 February 2019 by Administrator (talk | contribs) (Created page with "Category:Questionnaire_Functions = CatiStatistic_getByInterviewers = Get CatiStatistic == Syntax == CatiStatistic_getByInterviewers(array intervie...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CatiStatistic_getByInterviewers

Get CatiStatistic

Syntax

CatiStatistic_getByInterviewers(array interviewers, number qnaireRid, DateTimestartDate, DateTime endDate);

Arguments

array interviewers

number qnaireRid

DateTime startDate

DateTime endDate

Return type

Array of CatiStatistic

Example

Array interviewers = {15620372, 15003004};
number qnaireRid = 15629214;
DateTime startDate = new DateTime ("2018/2/7");
DateTime endDate = new DateTime ("2018/5/10");
Array result = CatiStatistic_getByInterviewers(interviewers, qnaireRid, startDate, endDate);
print(result);//{CatiStatistic,CatiStatistic}
for(number i = 0; i<result.Count; i++ )
{
	CatiStatistic catiStat = result[i];	
	print(catiStat.InterviewerResourceId);//15003004, 15620372
	print(catiStat.TotalTime);//95280, 16740
	print(catiStat.RealTime);//89294, 16372 
	print(catiStat.AverageSuccessTime);//1725(126460512), 2962 (161290759)
	print(catiStat.TotalCallAttempts);	//643, 116
}