Difference between revisions of "BulkSms save"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Email_and_SMS_Functions]]
 
[[Category:Email_and_SMS_Functions]]

+
{{HelpFiles}}
  
 
====BulkSms_save====
 
====BulkSms_save====

Revision as of 09:02, 12 December 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