EmployeeAssignment addToResource

From Catglobe Wiki
Revision as of 09:26, 8 November 2011 by Nguyentanphong (talk | contribs)
Jump to: navigation, search

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);