/**
* Create SMS keyword service.
*
* @param string $country Service country code (LT, LV etc.)
* @param string $number Service short number (1679, 1656, 1654, etc.)
* @param string $keyword Service keyword on given number
* @param integer $price Price in cents (0, 30, 100, 200, etc.)
* @param string $url Project URL
* @param integer $category_id Service category id (see possible service categories)
* @param array $service_params [optional] Service additional parameters structure:
notify_url - [optional] URL where notifications should be sent
notify_admin_url - [optional] URL where notifications about service changes should be sent (activate, reject, comment, archive, operator_enable, operator_disable events)
secret_key - [optional] Password, used to for secure notification sending
notify_count - [optional] How many times failed URL notification should be repeated, default 0 times
notify_mail - [optional] Email where mails about errors should be sent
error_level - [optional] Which errors should be notified to URL (none,money,operator,all), default 'none'
* @param array $service_langs [optional] List of service description structures:
language - Language code (LT, LV, EN etc.)
description - Service description in given language (from 32 to 160 symbols)
* @param array $price_exceptions [optional] List of price exception structures:
operator - Price operator (bite_lt, tele2_lv, etc.)
price - Price in cents (0, 30, 100, 200, etc.)
* @param array $price_additional [optional] List of additional services prices in cents (0, 30, 100, 200, etc.)
* @param string - [optional] $partner_service_certificate Service owner certificate (Individualios veiklos nr.) e.g. (18.30-69.1) - S(A) - 531
* @param string - [optional] $partner_service_certificate_date Service ownter certificate registration date e.g. 2010-10-10
*
* @return object Service information structure
*
*
* Usage example:
*
$client = new Zend_Soap_Client('http://partners.vero.lt/MBS/services-server?wsdl');
$client->setHttpLogin('partners_username');
$client->setHttpPassword('partners_password');
$params = array(
'country' => 'LT',
'number' => '1679',
'keyword' => 'HORO',
'price' => 100,
'url' => 'http://my.project.com/',
'category_id' => 1,
'service_params' => array(
'notify_url' => 'http://my.project.com/notify/sms',
'notify_admin_url' => 'http://my.project.com/notify/admin',
'secret_key' => '789_very_long_secret_key_123',
),
'service_langs' => array(
array('language' => 'LT', 'description' => 'Lietuviškas paslaugos aprašymas'),
array('language' => 'EN', 'description' => 'English service description'),
),
'price_exceptions' => array(
array('operator' => 'bite_lt', 'price' => '150'),
array('operator' => 'test_lt', 'price' => 200),
),
);
try{
$resp = $client->__call('keywordCreate', $params);
var_export($resp);
}catch(Exception $e){
echo "Code: {$e->getCode()} Message: {$e->getMessage()}";
}
*/