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.

EmployeeAssignment addToResource: Difference between revisions

From Catglobe Wiki
Tungocman (talk | contribs)
No edit summary
Nguyentanphong (talk | contribs)
No edit summary
Line 1: Line 1:
'''EmployeeAssignment_addToResource'''  
'''EmployeeAssignment_addToResource'''  


   Assign the start date and time of users to a specific resource. This stat date and time is the date and time that users begin work with that resource.  
   Assign users to CATI Questionnaire with a specific time.


'''Syntax&nbsp;<br>'''&nbsp;&nbsp; EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID); <br><br>'''Arguments<br>'''&nbsp; userResourceID: is an array of user resource id. <br> &nbsp; timeStart:&nbsp;is an date time array.<br> &nbsp;&nbsp;resourceID: is a number. It is the resource id of resource which you want to assign users to. <br>
'''Syntax&nbsp;<br>'''&nbsp;&nbsp; EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID); <br><br>'''Arguments<br>'''&nbsp; userResourceID: is an array&nbsp;which contain&nbsp;user resource id. <br> &nbsp; timeStart:&nbsp;is an date time array, UTC time.<br> &nbsp;&nbsp;resourceID: is a number.  


'''Return type'''<br>&nbsp;&nbsp; Empty.  
'''Return type'''<br>&nbsp;&nbsp; Empty.  
Line 9: Line 9:
<br>'''Examples'''  
<br>'''Examples'''  


array userResourceID={ 37267087, 37267186, 37268086};<br>array timeStart={2011,10,10,6,37,50,975,40,40};<br>number resourceID=37246024;  
array userResourceID={ 37267087, 37267186, 37268086};&nbsp; // 03 users<br>array timeStart={2011,10,10,6,37,50,975,40,40};&nbsp;<br>number resourceID=37246024; // a CATI questionnaire.


EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID);<br>  
EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID);<br>  


[[Category:User_Functions]]
[[Category:User_Functions]]

Revision as of 04:52, 8 November 2011

EmployeeAssignment_addToResource

   Assign users to CATI Questionnaire with a specific time.

Syntax 
   EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID);

Arguments
  userResourceID: is an array which contain user resource id.
  timeStart: is an date time array, UTC time.
  resourceID: is a number.

Return type
   Empty.


Examples

array userResourceID={ 37267087, 37267186, 37268086};  // 03 users
array timeStart={2011,10,10,6,37,50,975,40,40}; 
number resourceID=37246024; // a CATI questionnaire.

EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID);