Expand my Community achievements bar.

SOLVED

how to use dynamic JavaScript page

Avatar

Level 3

Dear all,

i had use js code and external system can via adobe campaign API use SOAP.

 

but they said use RESTFUL API to call Campaign API, and i had know can use dynamic JavaScript page to modify.

 

i am not know how external system user can call the dynamic JavaScript page, becase i can use it even has a html code..., so after i create one dynamic JavaScript page, how to tigger it use postman, i wish request data are json, and ACC reponse also json.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @wankang,

 

 

 

https://somedomain.com/<name_space>/<your_jssp_endpoint>.jssp

example:

https://somedomain.com/xtk/home.jssp 
// will go to the home page as you can see in the rich client when you click on home and the file is located under JSSP pages with namespace xtk and called home.jssp

 

 

 

 

Marcel

View solution in original post

3 Replies

Avatar

Level 7

I don't understand your question at all, you can send the variables values in the Postman call, and the body of the call is an XML 

 

Is this what you were asking?

Avatar

Level 3

use restful API not a SOAP request, but i am not know how to do, because the official document describes how to send requests to ACC using SOAP, not has a restful method to call ACC API 

 

the other engineer told me use dynamic javascript pages to do, but i am not konw how to call dynamic javascript pages from external system

Avatar

Correct answer by
Community Advisor

Hello @wankang,

 

 

 

https://somedomain.com/<name_space>/<your_jssp_endpoint>.jssp

example:

https://somedomain.com/xtk/home.jssp 
// will go to the home page as you can see in the rich client when you click on home and the file is located under JSSP pages with namespace xtk and called home.jssp

 

 

 

 

Marcel