Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 08:54, 20 December 2011 by Cg huyphong (talk | contribs) (→‎BulkSms_save)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



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