Difference between revisions of "QuestionnaireStatistics class"

From Catglobe Wiki
Jump to: navigation, search
Line 8: Line 8:
 
|Methods=
 
|Methods=
 
{{CGscriptMethods_Template|ReturnType=string|Name=AverageInterviewSucceededTime|Parameters=
 
{{CGscriptMethods_Template|ReturnType=string|Name=AverageInterviewSucceededTime|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of AverageInterviewSucceededTime}}
 
|Description=Get count of AverageInterviewSucceededTime}}
 
{{CGscriptMethods_Template|ReturnType=number|Name=EstimatedTime|Parameters=
 
{{CGscriptMethods_Template|ReturnType=number|Name=EstimatedTime|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
|Description=Get count of EstimatedTime}}
+
|Description=Get estimated time to complete based on current time estimate of the pq}}
 
{{CGscriptMethods_Template|ReturnType=number|Name=EstimatedTotalTime|Parameters=
 
{{CGscriptMethods_Template|ReturnType=number|Name=EstimatedTotalTime|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
|Description=Get count of EstimatedTotalTime}}
+
|Description=Get sum of estimated time to complete based on current time estimate of the pq}}
{{CGscriptMethods_Template|ReturnType=number|Name=NonSampleRules|Parameters=
+
{{CGscriptMethods_Template|ReturnType=DateTime|Name=FirstInterview|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 +
|Description=Get start date of the first interview}}
 +
{{CGscriptMethods_Template|ReturnType=DateTime|Name=LatestInterview|Parameters=
 +
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 +
|Description=Get end date of the latest interview}}
 +
{{CGscriptMethods_Template|ReturnType=int|Name=NonSampleRules|Parameters=
 +
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NonSampleRules}}
 
|Description=Get count of NonSampleRules}}
{{CGscriptMethods_Template|ReturnType=number|Name=NonSampleRulesWithData|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NonSampleRulesWithData|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NonSampleRulesWithData}}
 
|Description=Get count of NonSampleRulesWithData}}
{{CGscriptMethods_Template|ReturnType=number|Name=NonSampleRulesWithoutData|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NonSampleRulesWithoutData|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NonSampleRulesWithoutData}}
 
|Description=Get count of NonSampleRulesWithoutData}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfActiveNotContactedRpq|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfActiveNotContactedRpq|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfActiveNotContactedRpq}}
 
|Description=Get count of NumberOfActiveNotContactedRpq}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfActiveSample|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfActiveSample|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfActiveSample}}
 
|Description=Get count of NumberOfActiveSample}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfAvailable|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfAvailable|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfAvailable}}
 
|Description=Get count of NumberOfAvailable}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfAvailableActive|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfAvailableActive|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfAvailableActive}}
 
|Description=Get count of NumberOfAvailableActive}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfCompleted|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfCompleted|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfCompleted}}
 
|Description=Get count of NumberOfCompleted}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfCompletedToday|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfCompletedToday|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfCompletedToday}}
 
|Description=Get count of NumberOfCompletedToday}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfCompletedYesterday|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfCompletedYesterday|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfCompletedYesterday}}
 
|Description=Get count of NumberOfCompletedYesterday}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfInterviewSucceeded|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfEmails|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 +
|Description=Get number of emails sent}}
 +
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfInterviewSucceeded|Parameters=
 +
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfInterviewSucceeded}}
 
|Description=Get count of NumberOfInterviewSucceeded}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfInterviewSucceededToday|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfInterviewSucceededToday|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfInterviewSucceededToday}}
 
|Description=Get count of NumberOfInterviewSucceededToday}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfInterviewSucceededYesterday|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfInterviewSucceededYesterday|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfInterviewSucceededYesterday}}
 
|Description=Get count of NumberOfInterviewSucceededYesterday}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfNotContactedRpq|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfNotContactedRpq|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfNotContactedRpq}}
 
|Description=Get count of NumberOfNotContactedRpq}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfPartly|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfPartly|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfPartly}}
 
|Description=Get count of NumberOfPartly}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfSample|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfSample|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfSample}}
 
|Description=Get count of NumberOfSample}}
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfTestLink|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=NumberOfTestLink|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of NumberOfTestLink}}
 
|Description=Get count of NumberOfTestLink}}
{{CGscriptMethods_Template|ReturnType=number|Name=TargetReachedCount|Parameters=
+
{{CGscriptMethods_Template|ReturnType=int|Name=TargetReachedCount|Parameters=
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
+
{{CGscriptParameters_Template|Type=int|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get count of TargetReachedCount}}
 
|Description=Get count of TargetReachedCount}}
{{CGscriptMethods_Template|ReturnType=DateTime|Name=FirstInterview|Parameters=
 
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get start date of the first interview}}
 
{{CGscriptMethods_Template|ReturnType=DateTime|Name=LatestInterview|Parameters=
 
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get end date of the latest interview}}
 
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfEmails|Parameters=
 
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}
 
|Description=Get number of emails was send out}}
 
 
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}
 
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}
 
|Properties=
 
|Properties=

Revision as of 03:53, 25 November 2016

QuestionnaireStatistics



The questionnaire statistics collection. To view information like how big a sample is used, how large is the active samples etc.

Constructors

  • (array qids "An array of questionnaire resource ids. Invalid ids are ignored. Deleted ids are ok. Must have Read permission.") - Constructor to take many questionnaires

Methods

  • string AverageInterviewSucceededTime(int QuestionnaireResourceId "The Id to get the info from") - Get count of AverageInterviewSucceededTime
  • number EstimatedTime(int QuestionnaireResourceId "The Id to get the info from") - Get estimated time to complete based on current time estimate of the pq
  • number EstimatedTotalTime(int QuestionnaireResourceId "The Id to get the info from") - Get sum of estimated time to complete based on current time estimate of the pq
  • DateTime FirstInterview(int QuestionnaireResourceId "The Id to get the info from") - Get start date of the first interview
  • DateTime LatestInterview(int QuestionnaireResourceId "The Id to get the info from") - Get end date of the latest interview
  • int NonSampleRules(int QuestionnaireResourceId "The Id to get the info from") - Get count of NonSampleRules
  • int NonSampleRulesWithData(int QuestionnaireResourceId "The Id to get the info from") - Get count of NonSampleRulesWithData
  • int NonSampleRulesWithoutData(int QuestionnaireResourceId "The Id to get the info from") - Get count of NonSampleRulesWithoutData
  • int NumberOfActiveNotContactedRpq(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfActiveNotContactedRpq
  • int NumberOfActiveSample(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfActiveSample
  • int NumberOfAvailable(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfAvailable
  • int NumberOfAvailableActive(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfAvailableActive
  • int NumberOfCompleted(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfCompleted
  • int NumberOfCompletedToday(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfCompletedToday
  • int NumberOfCompletedYesterday(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfCompletedYesterday
  • int NumberOfEmails(int QuestionnaireResourceId "The Id to get the info from") - Get number of emails sent
  • int NumberOfInterviewSucceeded(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfInterviewSucceeded
  • int NumberOfInterviewSucceededToday(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfInterviewSucceededToday
  • int NumberOfInterviewSucceededYesterday(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfInterviewSucceededYesterday
  • int NumberOfNotContactedRpq(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfNotContactedRpq
  • int NumberOfPartly(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfPartly
  • int NumberOfSample(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfSample
  • int NumberOfTestLink(int QuestionnaireResourceId "The Id to get the info from") - Get count of NumberOfTestLink
  • int TargetReachedCount(int QuestionnaireResourceId "The Id to get the info from") - Get count of TargetReachedCount
  • string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • TypeInformation TypeInformation { get; } - Get information about this class.