0 Replies Latest reply on Jul 16, 2017 1:43 PM by 3505322

    Is it possible to configure Eloqua Action Service to send Lead Score Model data to the notification URL?I

    3505322

      Hi there,

       

      I am building an Eloqua Action Service following the latest documentation http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/OMCAB.pdf.

       

      Whenever I try to update the DTO by sending a PUT request to https://secure.p03.eloqua.com/api/cloud/1.0/actions/instances/<instanceId> with a body looking like this:

      {

           "recordDefinition":{

                "ContactId":"{{Contact.Id}}",

                "EmailAddress":"{{Contact.Field(C_EmailAddress)}}",

                "Account":"{{Contact.Account.Field(M_CompanyName)}}",

                "Rating":"{{Contact.LeadScore.Model[1].Rating}}"

           },

           "requiresConfiguration":false

      }

       

      the request fails with "400 There was a validation error". If I remove the Rating from the DTO and send the request with the body looking like this:

      {

           "recordDefinition":{

                "ContactId":"{{Contact.Id}}",

                "EmailAddress":"{{Contact.Field(C_EmailAddress)}}",

                "Account":"{{Contact.Account.Field(M_CompanyName)}}"

           },

           "requiresConfiguration":false

      }

       

      There response is "200 OK".

      It seems that it is not possible to configure Eloqua Action Service to send Lead Score data to the notification URL. Is it true? If this is not true, then how could I do this?