简体   繁体   English

通过第三方站点的查询返回与帐户关联的所有Salesforce联系人

[英]Returning all Salesforce contacts associated with an account via query from third-party site

I'm using Survey Gizmo and I want to pull in all contact emails associated with an account. 我正在使用Survey Gizmo,并且希望提取与帐户相关联的所有联系电子邮件。

This query works, but it only pulls in the first contact and I need them all: 此查询有效,但仅引入第一个联系人,而我全部需要它们:

SELECT Id,Contact.Email FROM Contact WHERE AccountId = 'Insert_Account_Id_Here'

How can I pull in more than one contact? 如何引入多个联系人?

If that's not possible, is it possible to specifically pull in contact "N"? 如果不可能,是否可以专门拉入触点“ N”? Then, question 1 could pull in contact 1, question 2 could pull in contact 2 and so forth. 然后,问题1可以拉动触点1,问题2可以拉动触点2,依此类推。

Thanks... I'm new to this so let me know if that was unclear. 谢谢...我是新来的,所以请让我知道是否不清楚。

从Acount中选择id,(从联系人中选择电子邮件),其中id =:'acountLd代表(联系人con:acc.Contacts){con.Email ....}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 salesforce.com数据的第三方同步(联系人和约会) - Third-party synchronization of salesforce.com data (contacts and appointments) 查询Salesforce中特定类型的联系人的所有客户记录 - Query all account records of certain type of contacts in salesforce 如何使用API​​从第三方Web应用程序在Salesforce中创建新案例 - How to Create New Case in Salesforce from third-party web application using API 尝试显示与Salesforce帐户相关的所有联系人 - Trying to show all contacts related to salesforce account Salesforce 中的动态映射 - 生成用于调用第三方 API 的 JSON 请求 - Dynamic mapping in Salesforce - generate JSON request for call third-party API Salesforce:有没有办法可以查询我的自定义佣金表以返回特定帐户下所有联系人下的所有佣金 - Salesforce: Is there a way I can query my custom Commission table to return all the commissions under all contacts under a specific Account 向Salesforce向第三方应用程序提供用户数据 - Provide users data from Salesforce to third party application 如何从salesforce上传大文件到第三方? - How to upload large files from salesforce to third party? Soql查询以获取机会中帐户的所有相关联系人 - Soql query to get all related contacts of an account in an opportunity Salesforce从“联系人”获取MailingAddress - Salesforce getting MailingAddress from Contacts
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM