활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
How to get Offer Engine (Propositions) via SOAP instead using a Java Script code?
In the documentation, at this url:
Is stated to use url like this:
https://ac284eu.adobesandbox.com/interaction/liveAnon/webAnon
But how's possible to get the wsdl in order to use tools like SoapUI to investigate the available methods?
Thanks
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
Hello,
Unfortunately there is no WSDL to call Interaction. The Javascript code in the documentation is actually building a soap call. You should be able to call the Interaction engine with a call like this
Get propositions:
<?xml version='1.0'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'> <SOAP-ENV:Body> <Propose> <targetId>xxx</targetId> <maxCount>1</maxCount> <context><interaction/></context> <!--optional--><categories></categories> <!--optional--><themes></themes> </Propose> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Update proposition status:
<?xml version='1.0'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'> <SOAP-ENV:Body> <UpdateStatus> <proposition>1242</proposition> <status>3</status> </UpdateStatus> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Best regards,
Thomas
Hello,
Unfortunately there is no WSDL to call Interaction. The Javascript code in the documentation is actually building a soap call. You should be able to call the Interaction engine with a call like this
Get propositions:
<?xml version='1.0'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'> <SOAP-ENV:Body> <Propose> <targetId>xxx</targetId> <maxCount>1</maxCount> <context><interaction/></context> <!--optional--><categories></categories> <!--optional--><themes></themes> </Propose> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Update proposition status:
<?xml version='1.0'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'> <SOAP-ENV:Body> <UpdateStatus> <proposition>1242</proposition> <status>3</status> </UpdateStatus> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Best regards,
Thomas
Thank you very much, i've made some test using PostMan and it works fine!
조회 수
답글
좋아요 수
Hi aveggiani47deck,
I am trying the same , wanted to know if you could share some examples.
Regards
Shiva
조회 수
답글
좋아요 수
Is there any possible ways to use <context/> parameter with the update step? I want to update few more fields apart from <status></status field>
Thanks,
Somasundaram
조회 수
답글
좋아요 수