What exactly process for send SMS

  • 1
  • Problem
  • Updated 2 years ago
Hi everyone,

I am using AerFrame Api for send SMS. As I seen in documentation, threre is process for send SMS like:
1. Register account and get api key
2. Call api for channel and get channel url and callback url.
3. Call Inbound and outbound SMS Api.
4. Call SMS API for Send SMS.
5. Call SMS delivery notifications Api for get SMS delivery notifications.

So all this process is called every time for send sms ? if yes then I also see the channel limitation in documentation (has limit 10), so I need to call delete Api for 'channel and Inbound and outbound subscription'?

Please suggest the exact procedure, It is very helpful for us to implement this functionality.

Thanks.
Photo of Amishi Sharma

Amishi Sharma

  • 9 Posts
  • 0 Reply Likes
  • confused

Posted 2 years ago

  • 1
Photo of Piotr Szyk

Piotr Szyk

  • 28 Posts
  • 0 Reply Likes
Hi Amishi,

As advised on https://community.aeris.com/aeris/topics/gettting-401-unauthorized-access-error?utm_source=notificat... the following four steps have to be performed only once:

1. Creating SMS Applicatoin
2. Creating Notification Channel
3. Creating Inbound (MO) SMS Subscription
4. Creating Outbound (MT) SMS Delivery Subscription

Then every time you would like to send SMS you would go straight to Step 5: http://neo.aeris.com/support/accessing-the-aeris-network/send-receive-sms-api/#sendSMS


I hope this helps.

Kind regards,

Piotr 
Photo of Amishi Sharma

Amishi Sharma

  • 9 Posts
  • 0 Reply Likes
Thank for your quick response.

Is there any api for get response of particular SMS. I am using 'Retrieve SMS / Notifications'  api for this but it return all message response, I sent in past. But I need an api that only send response of particular message (i.e SMS delivery information means delivered or not and response from device ).


Thanks.
 
Photo of Amishi Sharma

Amishi Sharma

  • 9 Posts
  • 0 Reply Likes
Hi Piotr ,

I am using send mt sms api and check delivery status api  for outbound and inbound sms.As mention in your api documentation we call check delivery status api (for outbound and inbound sms) after sending msg but the response of  this api contain the response status of previosly sent SMS.And it  often show one or multiple array of response.

Would you tell me the exact way of getting response of particular SMS? 

Please send response asap.

Kind regards,

Amishi. 
Photo of Amishi Sharma

Amishi Sharma

  • 9 Posts
  • 0 Reply Likes
Hi Piotr ,

We are waiting for your response. 
Please reply as soon as possible. Also can you provide any contact number of your support team?

Kind regards,

Amishi. 
Photo of Piotr Szyk

Piotr Szyk

  • 28 Posts
  • 0 Reply Likes
Hi Amishi,

The API you are using is correct: Retrieve SMS / Notifications. This API will consume MO SMS and MT SMS Delivery info. The response will show all SMS messages sent/received but once the request is executed the messages are being deleted from AerFrame server and the next longpoll request will result in "empty" notification:

{
"deliveryInfoNotification": [],
"inboundSMSMessageNotification": [],
}


If you send the SMS message now (via Send SMS (MT) API) and longpoll (via Retrieve SMS / Notifications API) the result will show that specific SMS notification.

Could you please shed some light on your application? I would like to understand your requirements better, which would allow me to recommend appropriate solution.

In case what you trying to achive using AreFrame is not available currently I could make a recommendation for an enhancement. 

Please let me know.

Thank you very much.

Kind regards,

Piotr Szyk