简体   繁体   中英

upsert throws error when I pass Id as externalIdFieldName in Beatbox API while contacting Salesforce

I'm using beatbox API to update/insert data in to salesforce opportunity object.

upsert() throws INVALID FIELD error when I pass Id as externalIDFieldName. Currently I'm using another unique external Id and it's working fine but I want to use the salesforce Id.

Please shed some light on what I'm missing.

如果您已经知道记录的Salesforce ID,则只需致电update。

You can specify "Id" as an external key.

see REST upsert documentation

If you need to upsert based on Id, use SOAP API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM