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

nms:interaction via soap call returns an offer-id , which does not exist in the database

Level 1
Level 1


I am fetching offer proposition using soap call.

There are 5 offers which are eligible for my recipient.

Issue 1 :

I get a result with one propositions, where the returned ‘offer-id’ does not exist in database



  <proposition id="28007" offer-id="-2082934409" offerSpace-id="xxxx" rank="1" weight="1">










The above offer id does not exist in database.

Issue 2 :

I get only one result while,I put the count as 10.

Here is my soap call

var cnx = new HttpSoapConnection("https://server/interaction/liveRcp/email")

var session = new SoapService(cnx, "nms:interaction")

var count = 10

var target = xxxx

function propose(){




     session.addMethod('Propose', "nms:proposition#Propose",

       ["targetId",      "string",

        "maxCount",      "string",

        "categories",    "string",

        "themes",        "string",

        "context",       "NLElement"],

       ["interactionId", "string",

        "propositions",  "NLElement"])

     var result = session.Propose(target, count, category, theme, <empty/>)

     var props = result[1]



   return props;



catch( e )


      document.write('in catch - ' +  e)



Any help would be appreciated



0 Replies