Difference between revisions of "EmployeeAssignment addToResource"
Line 1: | Line 1: | ||
'''EmployeeAssignment_addToResource''' | '''EmployeeAssignment_addToResource''' | ||
− | Assign users to CATI Questionnaire with a specific time. | + | Assign users to CATI Questionnaire with a specific time. Information will be put on My Cati portal of users. |
'''Syntax <br>''' EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID); <br><br>'''Arguments<br>''' userResourceID: is an array which contain user resource id. <br> timeStart: is an date time array, UTC time.<br> resourceID: is a number. | '''Syntax <br>''' EmployeeAssignment_addToResource(userResourceID, timeStart, resourceID); <br><br>'''Arguments<br>''' userResourceID: is an array which contain user resource id. <br> timeStart: is an date time array, UTC time.<br> resourceID: is a number. | ||
Line 9: | Line 9: | ||
<br>'''Examples''' | <br>'''Examples''' | ||
− | array userResourceID={ 37267087, 37267186, 37268086}; // 03 users<br>array timeStart={2011,10,10,6,37,50,975,40,40}; <br>number resourceID=37246024; // a CATI questionnaire. | + | array userResourceID={ 37267087, 37267186, 37268086}; // 03 users<br>array timeStart={2011,10,10,6,37,50,975,40,40}; <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 09:07, 8 November 2011
EmployeeAssignment_addToResource
Assign users to CATI Questionnaire with a specific time. Information will be put on My Cati portal of users.
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);