This is an abstract model for the sms newsletters
'start_groups' comma separated list of groups that trigger the follow up
'end_groups' comma separated list of groups that exclude the client from follow ups
Functions
getNumberOfSentAddresses
Arguments
id
required, integer
clearHistory
Arguments
id
required, integer
rule_id
integer, required
executionGetall
Get all executions of a newsletter
when and with wich status
Arguments
newsletter_id
integer, required
executionGet
Get one execution of a newsletter
Arguments
id
integer, required
getall
Get all records with pagination.
The function accepts limit and has a maximum limit that can not be overwritten
Get Comments related to an object -
@param id is the object id and not the comment id
Arguments
id
integer, required
getComment
Get one comment
@param id is the object id
Arguments
id
integer, required
comment_id
integer, required
addComment
Add a comment to an object
@param id: id of the object to which a comment should be added
@param comment: text of the comment
Arguments
id
integer, required
comment
string, required
updateComment
Update a comment
@params comment_id is the id previously returned by getcomments
@param comment: text of the comment
@param id: id of the object to which a comment should be added
Arguments
id
integer, required
comment_id
integer, required
comment
string, required
deleteComment
Delete a comment
@params comment_id is the id previously returned by getcomments