QAS getIdsByBulkMail

From Catglobe Wiki
Revision as of 08:41, 2 February 2012 by Cg pham (talk | contribs)
Jump to: navigation, search



QAS_getIdsByBulkMail

Return an array of all questionnaire answer sheets whose users' mails have been generated using the bulkmail

Syntax

QAS_getIdsByBulkMail(bulkMail_resourceId, questionnaire_resourceId, getLatest)

Arguments

  • bulkMail_resourceId: is number.
  • questionnaire_resourceId: is number.
  • getLatest: is bool.

Return type

array. Given there were N mails generated in the last sending. Each of M users among them has QASs for the specified PQ. Return an array with O qas id (O is the number of QAS of M users)

Example

array qas_list = QAS_getIdsByBulkMail(33703367, 33686168, true);

print(user_list);

Availability

Version 5.7