Difference between revisions of "CatiSettings class"

From Catglobe Wiki
Jump to: navigation, search
Line 2: Line 2:
 
|Name=<nowiki>CatiSettings</nowiki>
 
|Name=<nowiki>CatiSettings</nowiki>
 
|Description=<nowiki>Settings for cati questionnaires.</nowiki>
 
|Description=<nowiki>Settings for cati questionnaires.</nowiki>
|Constructors=
+
|InheritsFrom=object|Constructors=
 
{{CGscriptConstructors_Template|Parameters=
 
{{CGscriptConstructors_Template|Parameters=
 
{{CGscriptParameters_Template|Type=int|Name=<nowiki>questionnaireResourceId</nowiki>|Description=<nowiki>Resource id of the questionnaire</nowiki>}}
 
{{CGscriptParameters_Template|Type=int|Name=<nowiki>questionnaireResourceId</nowiki>|Description=<nowiki>Resource id of the questionnaire</nowiki>}}
Line 11: Line 11:
 
{{CGscriptParameters_Template|Type=OutcomeSet|Name=<nowiki>set</nowiki>|Description=<nowiki>Outcome set to update to</nowiki>}}
 
{{CGscriptParameters_Template|Type=OutcomeSet|Name=<nowiki>set</nowiki>|Description=<nowiki>Outcome set to update to</nowiki>}}
 
|Description=<nowiki>Change the outcome set of the questionnaire.</nowiki>}}
 
|Description=<nowiki>Change the outcome set of the questionnaire.</nowiki>}}
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}}
+
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}}
 
|Properties=
 
|Properties=
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>AfterCallScriptResourceId</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>After saving outcome status for a call, invoke this script. It gets 2 parameters: The chosen outcome, see CATI_getCATIContacts and the number of times called. The current context is set the the qas.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>AfterCallScriptResourceId</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>After saving outcome status for a call, invoke this script. It gets 2 parameters: The chosen outcome, see CATI_getCATIContacts and the number of times called. The current context is set the the qas.</nowiki>}}
Line 26: Line 26:
 
{{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>SuccessPerHour</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Number of expected successes an interviewer per hour is expected to do to get 100% performance. This can be altered throughout the duration of the project to reflect harder to get quotas.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>SuccessPerHour</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Number of expected successes an interviewer per hour is expected to do to get 100% performance. This can be altered throughout the duration of the project to reflect harder to get quotas.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>TimeoutExceed</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>After how many minutes is an ongoing qas seen as lost and put back in queue. Use negative to disable.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>TimeoutExceed</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>After how many minutes is an ongoing qas seen as lost and put back in queue. Use negative to disable.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
+
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}}
 
}}
 
}}
  

Revision as of 06:33, 2 July 2020

CatiSettings



Settings for cati questionnaires.

Parent class

Inherits from object

Constructors

  • (int questionnaireResourceId "Resource id of the questionnaire") - Load existing settings for questionnaire.

Methods

  • Empty Save() - Save settings.
  • Empty SetOutcomeSetAndSave(OutcomeSet set "Outcome set to update to") - Change the outcome set of the questionnaire.
  • (From object) string ToString() - The string representation of the object.

Properties

  • int AfterCallScriptResourceId { get; set; } - After saving outcome status for a call, invoke this script. It gets 2 parameters: The chosen outcome, see CATI_getCATIContacts and the number of times called. The current context is set the the qas.
  • string AstParam { get; set; } - Comma seperated list of parameters to send to the dialplan in asterisk when initiating a call (Requires dialplan support).
  • number ChanceForInterviewerNeeded { get; set; } - When using predictive, when cold-dialing the first couple of numbers what is the chance to get picked up. This determines how many predictive calls to make.
  • int ContactLimit { get; set; } - Maximum number of calls to a single qas, before being excluded.
  • int DialerType { get; set; } - Which dialer to use. 0 = Auto dial, 1 = Auto pick, but don't start dialing until user ok, 2 = Auto pick, but don't use Voip/Asterisk, 3 = Predictive dialing.
  • int HighPriorityTimeFrameAfter { get; set; } - When scheduling a meeting/retry how many minutes after is it ok to pick, before picking other on-time appointments.
  • int HighPriorityTimeFrameBefore { get; set; } - When scheduling a meeting/retry how many minutes before is it ok to pick.
  • int MaxDialingThreads { get; set; } - When using predictive, how many maximum call attempts can happen at the same time.
  • string ObjectTypeName { get; } - The name of the type of object.
  • OutcomeSet OutcomeSet { get; } - Get the outcome set.
  • int PickTimeout { get; set; } - When call is finished, how long in seconds does the interviewer have to pick an outcome before it is picked automatically.
  • number SuccessPerHour { get; set; } - Number of expected successes an interviewer per hour is expected to do to get 100% performance. This can be altered throughout the duration of the project to reflect harder to get quotas.
  • int TimeoutExceed { get; set; } - After how many minutes is an ongoing qas seen as lost and put back in queue. Use negative to disable.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.


Note

AfterCallScriptResourceId see more here