Difference between revisions of "BulkSms save"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Email_and_SMS_Functions]]
 

 

  

Revision as of 05:31, 22 March 2011



BulkSms_save

Save bulk SMS

Syntax

BulkSms_save(bulkSmsObject)

Arguments

bulkSmsObject: is an array. (refer to BulkSms_new function to see bulkSmsObject)

Return type

empty

Example

string bulkSmsName = "TestSmsMail";

number parentResourceId = 34778803;

number mailTemplateResourceId = 501537;

string smsOutProviderName = "TeleNo";

array newBS = BulkSms_new(bulkSmsName, parentResourceId, mailTemplateResourceId, smsOutProviderName);

array userResourceIds = {34779312};

array groupResourceIds = {34780089};

newBS[BULKSMS_USER_RESOURCE_IDS] = userResourceIds;

newBS[BULKSMS_GROUP_RESOURCE_IDS] = groupResourceIds;

BulkSMS_save(newBS);

Availability

Version 5.8.1