Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Calling the offer engine - using SOAP API

Avatar

Avatar
Validate 1
Level 2
someshwark90973
Level 2

Likes

4 likes

Total Posts

5 posts

Correct Reply

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

Avatar
Validate 1
Level 2
someshwark90973
Level 2

Likes

4 likes

Total Posts

5 posts

Correct Reply

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

26-09-2019

Has anyone tried to use the Soap Call using offer engine.

We tried to use the below document, but could not retrieve the offer.

Integration via SOAP (server side)

Can you help us with any supporting document or sample code for this API call would be helpful ?

Thanks in advance !

Replies

Avatar

Avatar
Contributor
MVP
Raj_bounteous
MVP

Likes

89 likes

Total Posts

94 posts

Correct Reply

32 solutions
Top badges earned
Contributor
Shape 1
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Contributor
MVP
Raj_bounteous
MVP

Likes

89 likes

Total Posts

94 posts

Correct Reply

32 solutions
Top badges earned
Contributor
Shape 1
Give Back 10
Give Back 5
Give Back 3
View profile
Raj_bounteous
MVP

02-10-2019

#!/usr/bin/env bash

URL='http://xxxxxxx:8080/interaction/liveRcp/email'

cat <<- SOAP | curl -4 \

-X POST \

-H 'Content-Type: application/soap+xml;charset=UTF-8' \

-H 'SOAPAction: nms:proposition#Propose' \

-d \@- \

-kv \

$URL

<?xml version='1.0' encoding='utf-8'?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:nms:proposition">

  <soapenv:Header/>

  <soapenv:Body>

  <Propose>

  <targetId>xx</targetId>

  <maxCount>xx</maxCount>

  <themes>xx</themes>

  </Propose>

  </soapenv:Body>

</soapenv:Envelope>

SOAP

the above shell script.

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

@rajbounteous

I too had the same question. I achieved propose method similar to the above that you mentioned.

In Update status method, we can update 'status' field. Can we update any other fields using updateStatus method? I've raised a question for the same in the following link. https://forums.adobe.com/thread/2653191  Any thoughts on this?

Thanks,

Somasundaram.

Avatar

Avatar
Shape 1
MVP
Jyoti_Y
MVP

Likes

87 likes

Total Posts

123 posts

Correct Reply

55 solutions
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Shape 1
MVP
Jyoti_Y
MVP

Likes

87 likes

Total Posts

123 posts

Correct Reply

55 solutions
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
Jyoti_Y
MVP

24-10-2019

Hi,

You need to change it in interaction.js javascript present at location: Administration --> Configuration --> Javascript --> interaction.js

Search for below block of code:

else if( "UpdateStatus" == strCommand )

      {

        var ctx = <ctx/>;

        var iStatus = undefined;

     

You need to write your logic for custom field update. Currently it is doing only for status update.

Thanks,

Jyoti

Avatar

Avatar
Contributor
MVP
wodnicki
MVP

Likes

923 likes

Total Posts

1,054 posts

Correct Reply

493 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile

Avatar
Contributor
MVP
wodnicki
MVP

Likes

923 likes

Total Posts

1,054 posts

Correct Reply

493 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile
wodnicki
MVP

25-10-2019

Hi,

Send extra params in <context/>, shouldn't be editing that js.

The shell script you posted looks familiar Raj...

Thanks,

-Jon

Avatar

Avatar
Give Back
Level 1
scottk42870935
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
scottk42870935
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Give Back
View profile
scottk42870935
Level 1

17-02-2021

Hi Jon,

 

Do you have an example of context data I've tried a few versions seen in forums but no luck.

Ta Scott