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

Learn more

View all

Sign in to view all badges

Customizing Interaction API Response

Level 5
Level 5

Hello Folks,

We have a requirement to use OOTB Interaction API for Proposing Offers to the Inbound Communications. However there is a bit of customization required here, wherein we have to include few additional fields in the offer proposition that is returned back as response.

These fields are of 2 types:

i. Fields passed in the initial request to Offer Engine and ii. Custom fields defined and derived in Campaign

Below is how a sample request look like and response we are expecting:


<soapenv:Envelope xmlns:soapenv="" xmlns:urn="urn:nms:interaction">
<productName>Cricket Kit</productName>
<transaction account="4193146737" amount="102.00"/>


<SOAP-ENV:Envelope xmlns:xsd="" xmlns:xsi="" xmlns:ns="" xmlns:SOAP-ENV="">
<ProposeResponse xmlns="urn:nms:interaction">
<interactionId xsi:type="xsd:string">0</interactionId>
<propositions xsi:type="ns:Element" SOAP-ENV:encodingStyle="">
<proposition id="a617303" offer-id="535003" offerSpace-id="535243" weight="1" rank="1">
<textSource>Dear Customer, Thanks for making purchase with us!</textSource>
<!-- Rest of the fields from offer content will be present here -->
<!-- Custom Fields -->
<productId>P1001</productId> <!-- Passed in the Initial Request -->
<isCustomerNew>Yes</isCustomerNew> <!-- Defined and Derived from Campaign -->

I have tried adding custom fields by overriding XML Rendering Function, explored some options available in Integrating Server-side and tried adding under Offer Space definition. But still missing some clarity in this process. So would request you to please help with some inputs on how we can implement this in a feasible way.


Sri Bhargav

Adobe Campaign Classic Interaction Offers
3 Replies
Level 5
Level 5
Hi Folks, Any pointers on how can we do this ? Please help
Level 5
Level 5
Hi Folks, Any suggestions on this query please?