function smsAddCampaign(callback, sender_name, addressbook_id, body, date, transliterate){
    if (sender_name === undefined) {
        return callback(returnError("Empty sender name"));
    }
    if (addressbook_id === undefined) {
        return callback(returnError("Empty book id"));
    }
    if (body === undefined) {
        return callback(returnError("Empty sms text"));
    }
    var data = {
        'sender': sender_name,
        'addressBookId': addressbook_id,
        'body': body,
        'date': date,
        'transliterate': transliterate
    }

    sendRequest('sms/campaigns', 'POST', data, true, callback);
}
function smsAddCampaign(callback, sender_name, addressbook_id, body, date, transliterate){
    if (sender_name === undefined) {
        return callback(returnError("Empty sender name"));
    }
    if (addressbook_id === undefined) {
        return callback(returnError("Empty book id"));
    }
    if (body === undefined) {
        return callback(returnError("Empty sms text"));
    }
    var data = {
        'sender': sender_name,
        'addressBookId': addressbook_id,
        'body': body,
        'date': date,
        'transliterate': transliterate
    }

    sendRequest('sms/campaigns', 'POST', data, true, callback);
}
function smsAddCampaign ( callback , sender_name , addressbook_id , body , date , transliterate ) { if ( sender_name === undefined ) { return callback ( returnError ( "Empty sender name" ) ) ; } if ( addressbook_id === undefined ) { return callback ( returnError ( "Empty book id" ) ) ; } if ( body === undefined ) { return callback ( returnError ( "Empty sms text" ) ) ; } var data = { 'sender' : sender_name , 'addressBookId' : addressbook_id , 'body' : body , 'date' : date , 'transliterate' : transliterate } sendRequest ( 'sms/campaigns' , 'POST' , data , true , callback ) ; }
Create new sms campaign

@param callback
@param sender_name
@param addressbook_id
@param body
@param date
@param transliterate
Create new sms campaign