AnsweredAssumed Answered

'Losing lead ids not specified' error returned for 'Merge Leads' resource even if I specify the leadIds

Question asked by Evanthika Amarasiri on Apr 25, 2018
Latest reply on Apr 25, 2018 by Evanthika Amarasiri

Hi,

 

I'm trying out the Merge Leads scenario passing values for leadIds but still I get the error response mentioned in $subject.

 

Below is the request I am sending.

 

POST https://743-YFC-765.mktorest.com/rest/v1/leads/67/merge.json

POST data:leadId=&leadIds=99%2C100&mergeInCRM=true
[no cookies]
Request Headers:
Connection: keep-alive
Authorization: Bearer 4f3w346e-abcd-1234-24d5-6sbf22f12b07:sn
Content-Type: application/json
Content-Length: 40
Host: 743-YFC-765.mktorest.com
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_91)

 

But still I'm seeing the below error.

 

{
:   "requestId":"5623#163001f056d",
:   "success":false,
:   "errors":
:   [
:   :   {
:   :   :   "code":"1003",
:   :   :   "message":"Losing lead ids not specified"
:   :   }
:   ]
}

 

What am I doing wrong here?

 

Regards,

Evanthika

Outcomes