BulkSms save
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