{{:: 'controllers.documentation.chooseFramework' | translate }}
try{ $result = SendRequest('https://niksms.com/api/v2/send/p2p-async', array( 'username' => 'YourUsername', 'password' => 'YourPassword', 'p2p' => ArrayOfRecipientsNumbersAndTextMessage, 'senderNumber' => 'YourSenderNumber', 'sendDate' => 'DateTimeToSend', 'callBackId' => YourIdToCallBack, 'callBackUrl' => 'YourCallBackUrl' )); echo $result; } catch(Exception $e){ echo $e->getMessage(); }