AnsweredAssumed Answered

Priority not getting updated through Rest API

Question asked by 629fe46ee660abfd765674f1e6a0086b7ee4e13c on Sep 4, 2016
Latest reply on Sep 7, 2016 by sanford.whiteman

Hi, I'm giving the following input through rest API to upsert lead.

{

  "action": "createOrUpdate",

  "input": [

    {

      "email": "leadingestionsneha555@mip.com",

      "firstName": "Sneha123",

      "originatingSubscriptionID": "c53490f6-e17a-45f9-836e-487230c04b01",

      "originatingTenantID": "c53490f6-e17a-45f9-836e-487230c04b01",

      "updatedAt": "2016-08-31T22:13:50.6455915+00:00",

      "priority": 321,

      "relativeScore": 123,

      "urgency": 123.675,

      "lastName": "Soma"

    }

    ]

    }

The lead got created but the values for relativeScore, Priority and Urgency are not assigned. But the fields firstName and lastName were getting populated correctly.Below is response from Marketo when I made Get call to check the details of lead.

{

  "requestId": "9de#156f5dc0e76",

  "result": [

    {

      "id": 1248712,

      "updatedAt": "2016-09-03T18:25:54Z",

      "lastName": "Soma",

      "priority": null,

      "originatingTenantID": "c53490f6-e17a-45f9-836e-487230c04b01",

      "relativeScore": null,

      "originatingSubscriptionID": "c53490f6-e17a-45f9-836e-487230c04b01",

      "firstName": "Sneha123",

      "urgency": null

    }

  ],

  "success": true

}

Please let me know if the request is incorrect or if I'm missing anything.

Outcomes