Discussions

Automatically map to company when posting trough the API to the custom object

User_2COYC
User_2COYC Posts: 2 Green Ribbon

I would like to map automatically the company in our custom object, I already set the 'Default Entity Mapping used in upload' and the 'Entity Type' to Companies and set the  'Entity Field' to the field that will like to match in Company. How can I map to the field when I POST?

1 votes

Already Offered · Last Updated

Comments

  • Lou Patrick
    Lou Patrick Posts: 195 Bronze Trophy

    The Default Entity Field Mapping in the CDO UI only applies to uploads, and has no impact on APIs. It only sets the default on step 4 of the Custom Object Record Upload Wizard, for which you can change it once you arrive on the step.

    With that said, the ability to map Custom Object records is currently available using the Application API (Contacts only) and the Bulk API (Contacts and Accounts).

    See the first comment on this post for details.