24
Views
3
Comments
[SMS Carrier] Update on API
Question
sms-carrier
Web icon
Forge asset 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

2018-11-06 14-26-44
Suraj Borade

Hi Filipe,

Please provide more explanation.

2021-03-16 13-04-29
Filipe Ramires

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

2018-05-18 14-08-02
Diogo Capitão Pedrosa

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.