Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

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

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 2

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

View solution in original post

4 Replies

Avatar

Level 10

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.

Avatar

Level 2

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

Correct answer by
Level 2

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

Avatar

Level 2

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