Expand my Community achievements bar.

SOLVED

use js call third-party sms api to send message to mobile.

Avatar

Level 3

If there is already a SMS API interface for sending mobile messages, How to use the JavaScript in ACC to call a third-party interface to send emails and expose the email sending function written in ACC as a WSDL

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You need to develop your own JS code to call an external API, you can do it in JSSP (JavaScript Dynamic Pages) or through a workflow.

 

As for exposing the WSDL, details are on the following page.

https://experienceleague.adobe.com/docs/campaign-classic/using/configuring-campaign-classic/api/web-...

 

http://<yourinstance>/nl/jsp/schemawsdl.jsp?schema=nms:delivery

 

David__Garcia_0-1680605120095.png

 

David__Garcia_1-1680605260648.png

 

 

https://experienceleague.adobe.com/developer/campaign-api/api/sm-delivery-SubmitDelivery.html?hl=sub...

SubmitDelivery

Creation and submission of a delivery from a scenario (from its internal name).


            Number deliveryId = SubmitDelivery ( String       scenarioName, XML          content ) 

Perhaps this blog may be of help

https://blog.floriancourgey.com/2021/01/async-api-calls-in-adobe-campaign

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

You need to develop your own JS code to call an external API, you can do it in JSSP (JavaScript Dynamic Pages) or through a workflow.

 

As for exposing the WSDL, details are on the following page.

https://experienceleague.adobe.com/docs/campaign-classic/using/configuring-campaign-classic/api/web-...

 

http://<yourinstance>/nl/jsp/schemawsdl.jsp?schema=nms:delivery

 

David__Garcia_0-1680605120095.png

 

David__Garcia_1-1680605260648.png

 

 

https://experienceleague.adobe.com/developer/campaign-api/api/sm-delivery-SubmitDelivery.html?hl=sub...

SubmitDelivery

Creation and submission of a delivery from a scenario (from its internal name).


            Number deliveryId = SubmitDelivery ( String       scenarioName, XML          content ) 

Perhaps this blog may be of help

https://blog.floriancourgey.com/2021/01/async-api-calls-in-adobe-campaign

Avatar

Level 3

Dear David,

 

exposing the WSDL is very helpful for me, may be i need create a new db table, and methods and js code to do it

Avatar

Level 3

same as  your article "Adobe Campaign Classic Shortening Links with Bitly API"

Avatar

Level 3

this article not define the new table and method, just all code define in one js file to via Bitly API, but it is very good example for me