How to call offer engine using SOAP

Avatar

Avatar
Validate 1
Level 1
aveggiani47deck
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
aveggiani47deck
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aveggiani47deck
Level 1

16-01-2017

How to get Offer Engine (Propositions) via SOAP instead using a Java Script code?

In the documentation, at this url:

https://docs.campaign.adobe.com/doc/AC6.1/en/ITA_Unitary_interactions_Calling_the_offer_engine__inbo...

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Level 2
thomasb1964232
Level 2

Likes

8 likes

Total Posts

5 posts

Correct reply

3 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 5
Level 2
thomasb1964232
Level 2

Likes

8 likes

Total Posts

5 posts

Correct reply

3 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
thomasb1964232
Level 2

16-01-2017

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

Answers (3)

Answers (3)

Avatar

Avatar
Validate 1
Level 4
somasundaramhal
Level 4

Likes

73 likes

Total Posts

71 posts

Correct reply

12 solutions
Top badges earned
Validate 1
Shape 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 4
somasundaramhal
Level 4

Likes

73 likes

Total Posts

71 posts

Correct reply

12 solutions
Top badges earned
Validate 1
Shape 1
Boost 50
Boost 5
Boost 3
View profile
somasundaramhal
Level 4

03-10-2019

Hi thomasb1964232

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

Avatar

Avatar
Validate 1
Level 2
shivak41694392
Level 2

Likes

3 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
shivak41694392
Level 2

Likes

3 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
shivak41694392
Level 2

04-06-2018

Hi aveggiani47deck​,

I am trying the same , wanted to know if you could share some examples.

Regards

Shiva

Avatar

Avatar
Validate 1
Level 1
aveggiani47deck
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
aveggiani47deck
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aveggiani47deck
Level 1

16-01-2017

Thank you very much, i've made some test using PostMan and it works fine!