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,
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:
by replacing "my.sever", "myLiveOfferEnv", "myOfferSpace" and "my.website.com" with proper values.
<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>
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?
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.
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?