[SMS Carrier] Update on API

[SMS Carrier] Update on API

  
Forge Component
(8)
Published on 2017-09-06 by Diogo Capitão Pedrosa
8 votes
Published on 2017-09-06 by Diogo Capitão Pedrosa

Hi Diogo,

First of all, nice simplification, i am using it right know and it is flawless. Just one thiing, the API changed (i think) and the responses for the refresh state of the SMSs are now:

-UNDELIV

-DELIVRD

So, as it is right now, it doesn't change the status of messages.

Best regards,

Filipe Ramires

Hi Filipe,

Please provide more explanation.

Suraj Borade wrote:

Hi Filipe,

Please provide more explanation.


Hi Suraj,


It's easy, there is a method to refresh the status of the messages (Delivered, Undelivered, Pending, Error), those status are retrieved by SMSCarrier.eu API. At this point (with the solution currently on the forge) when we invoke the method and the values mismatch, E.G:

(Retrieved by API) DELIVRD = (String in solution) DELIVERED

If the values dont match with any of the status retrieved by API then the status stays the same (leaving to a non refresh).


The solution must change the Strings to match the API so it can work again.


Best regards,

Filipe Ramires

Hello Filipe Ramires.

Thanks for your help. The new version of APP is already available with the new states.


Best regards, 

Diogo Capitão Pedrosa