Make a text on the phone on laravel with activetrail
-
Help me get a text on the phone. Laravel Using https://app.activetrail.com/Public/Login.aspx ♪
I can't do that. Maybe someone worked with this service, please explain.
My request is:
$params = array( 'details' => array( 'name' => 'Deliveries', 'name' => 'Deliveries', 'unsubscribe_text' => 'test', 'can_unsubscribe' => true, 'from_name' => 'Deliveries', 'sms_sending_profile_id' => 1, 'content' => 'test', ), 'scheduling' => array( 'send_now' => true, ), 'mobiles' => array( 'phone_number' => '***', ), );
Answer:
string(225) "{"details":{"name":"Deliveries","unsubscribe_text":"test","can_unsubscribe":true,"from_name":"Deliveries","sms_sending_profile_id":1,"content":"test"},"scheduling":{"send_now":true},"mobiles":{"phone_number":"***"}}" {"Message":"Value cannot be null.\r\nParameter name: source"}
The reference to the dock on this request is correct, but I don't get the right result: https://webapi.mymarketing.co.il/api/docs/User/Api/POST-api-smscampaign-OperationalMessage
-
$params = array( 'details' => array( 'name' => 'Deliveries', 'name' => 'Deliveries', 'unsubscribe_text' => 'test', 'can_unsubscribe' => true, 'from_name' => 'Deliveries', 'sms_sending_profile_id' => 1, 'content' => 'test', ), 'scheduling' => array( 'send_now' => true, ), 'mobiles' => array( array('phone_number' => '***',), ), );