How does one go about updating a lead using a lookupField of 'id'? I attempted to perform an update but received a '1003 - Field 'id' not allowed' error. Below is my request data for reference.
{
"action": "updateOnly",
"lookupfield": "id",
"input": [
{
"id": "11",
"Company": "TestCompany",
"NumberOfEmployees": "100"
}
]
}
答案 0 :(得分:5)
您的" lookupField"参数需要是camel case才能指定查询字段,如下所示:
{
"action": "updateOnly",
"lookupField": "id",
"input": [
{
"id": "11",
"Company": "TestCompany",
"NumberOfEmployees": "100"
}
]
}
抛出此错误,以便如果未指定lookupField,重复数据删除不明确,则ID和电子邮件都包含在潜在客户的输入中。