Difference between revisions of "EmployeeAssignment addToResource"
Line 3: | Line 3: | ||
Assign users to CATI Questionnaire with a specific time. Information will be put on My Cati portal of users. | Assign users to CATI Questionnaire with a specific time. Information will be put on My Cati portal of users. | ||
− | '''Syntax <br>''' EmployeeAssignment_addToResource( | + | '''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. |
'''Return type'''<br> Empty. | '''Return type'''<br> Empty. | ||
Line 9: | Line 9: | ||
<br>'''Examples''' | <br>'''Examples''' | ||
− | array | + | 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( | + | EmployeeAssignment_addToResource(UserResourceID, timeStart, ResourceID);<br> |
[[Category:User_Functions]] | [[Category:User_Functions]] |
Revision as of 09:27, 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);