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

Using “?a=UpdateStatus” parameter with Interaction (Offer Engine)

Avatar

Avatar
Validate 1
Level 2
nicolletta
Level 2

Likes

5 likes

Total Posts

26 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
nicolletta
Level 2

Likes

5 likes

Total Posts

26 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
nicolletta
Level 2

02-11-2016

Hello everyone,

I’m new to Adobe and I’m trying to use Interaction Engine and “?a=UpdateStatus”  parameter as described in interaction-v6.1-en.pdf page 26 for “Inbound interaction” from a web page but the status of the proposition doesn’t change. I’m not sure to understanding where to put:

<BASE_URL>?a=UpdateStatus&p=<PRIMARY_KEY_OF_THE_PROPOSITION>&st=<NEW_STATUS_OF_THE_PROPOSITION>&r=<REDIRECT_URL> and what BASE_URL stands for.

I’ve tried to put http:// [url of the Offer Engine]?a=UpdateStatus&p=<%= proposition.proposition_id %>&st=<2>&r="https://page.html" in the web page that I used for calling the offer module, but it doesn’t work.

As per my understanding I don’t need to write extra code to modify proposition status, using UpdateStatus is enough. Can you please tell me if this is right?

 

Thank you for your suggestions and best regards,

Nicoleta

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

03-11-2016

Hello Nicoleta,

This link can be put directly in the offer content so that the person seeing the offer can just click on it, resulting in a status update. Can you try the following:

  • Pick a real proposition id from the DB and try the following link in your browser (notice that there is no "<>" arround the "st" parameter value, nor quotes around the "r" parameter value):
http://my.server/interaction/myLiveOfferEnv/myOfferSpace?a=UpdateStatus&st=2&p=<%=proposition.propos...

by replacing "my.sever", "myLiveOfferEnv", "myOfferSpace" and "my.website.com" with proper values.

  • When it works, you can for instance put a link in the offer content:
<a href="http://my.server/interaction/myOfferEnv/myOfferSpace?a=UpdateStatus&st=2&p=<%=proposition.proposition_id%>&r=http://my.website.com">Accept the offer</a>

Best regards,

Thomas

Answers (3)

Answers (3)

Avatar

Avatar
Validate 1
Level 2
nicolletta
Level 2

Likes

5 likes

Total Posts

26 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
nicolletta
Level 2

Likes

5 likes

Total Posts

26 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
nicolletta
Level 2

04-11-2016

Hello Thomas,

 

Thank you so much for your answer. It works now. So I’ve took the BASE_URL from “Offer – live” à “Administration”à “Offer Space” à Proprieties à URL and then added ?a=UpdateStatus&p=<%= proposition.proposition_id %>&st=2&r=https://www.nissan.it/veicoli/veicoli-nuovi/qashqai/offerte/qashqai-n-vision.html.

Can you please tell me if it is recommended to “Define the acceptance URL” also?  Or this is not required information on the offer?

Best regards,

Nicoleta 

Avatar

Avatar
Validate 1
Level 2
nicolletta
Level 2

Likes

5 likes

Total Posts

26 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
nicolletta
Level 2

Likes

5 likes

Total Posts

26 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
nicolletta
Level 2

03-11-2016

Hello Fleltuerto,

I’ve used a Query object on NmsPropositionRcp to see the status (Status field) of the proposition I’ve send to the client. Please see attached file. Status field doesn’t change to ‘Interested’ (value 2) that I’ve put in my URL.

SELECT   P0.iPropositionId, P0.iOfferId, O1.iOfferId FROM NmsPropositionRcp P0 JOIN NmsOffer O1 ON (O1.iOfferId = P0.iOfferId) WHERE (O1.sName LIKE E'%' || E'OFR100' || E'%' ESCAPE E'\\') LIMIT 10001

I’ll send you the direct link in private message.

Regards,

Nicoleta

Avatar

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile
florentlb
Level 10

03-11-2016

Hello Nicoleta,

Can you share more details about what you obtain when you say "it doesn't work"? Do you get an error message?

Also, can you share the exact link you obtain for the page in a direct message to me?

Thanks,

Florent.