Priority not getting updated through Rest API

Anonymous
Not applicable

Priority not getting updated through Rest API

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.

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Priority not getting updated through Rest API

AFAIK those MSI-related fields aren't updateable via API (nor even via UI).