I have written a webservice in .net that receive the outbound message from salesforce. With the Id received from the Salesforce outbound message, I want to query the related objects and its fields. Can I achieve this without salesforce authentication? With the session id I get from outbound message can I query the objects? I am confused. Please help me out.

有帮助吗?

解决方案

Yes, you can. Use the server URL and the session ID that are sent with the outbound message to make partner API calls back into Salesforce.

You will not need to call login again on the partner API. Just set the session id in the header and send the requests to the server URL.

其他提示

To integrate Salesforce with .NET you can use for example ADO.NET Provider for Salesforce.

This is a commercial product, but it supports all the functionality you need:

  • authorization via Session Id
  • executing SQL queries to Salesforce objects and their fields
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top