You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/06/13 06:35:00 UTC
[jira] [Updated] (CAMEL-13638) camel-salesforce - Lookups to
polymorphic relationship fields must include an attributes object with a
type property
[ https://issues.apache.org/jira/browse/CAMEL-13638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-13638:
--------------------------------
Summary: camel-salesforce - Lookups to polymorphic relationship fields must include an attributes object with a type property (was: Lookups to polymorphic relationship fields must include an attributes object with a type property)
> camel-salesforce - Lookups to polymorphic relationship fields must include an attributes object with a type property
> --------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-13638
> URL: https://issues.apache.org/jira/browse/CAMEL-13638
> Project: Camel
> Issue Type: Bug
> Components: camel-salesforce
> Affects Versions: 2.24.0, 3.0.0-M2
> Reporter: Jeremy Ross
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When referencing a related record that is a polymorphic lookup, the JSON must include an {{attributes}} object with a {{type}} property indicating which type of Object is being referenced.
> E.g.:
> {code:json}
> {
> "Description": "Contact HR for further information",
> "Status": "Completed",
> "Who": {
> "attributes": {
> "type": "Contact"
> },
> "External_Id_Field__c": "cfcec54d-5d77-4ffa-a2ec-7fa2ce0e9616"
> },
> "Subject": "Comment"
> }
> {code}
> This {{attributes}} object is optional for non-polymorphic lookups, so no harm in including it in all lookups.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)