BulkSms save

From Catglobe Wiki
Revision as of 10:02, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



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