This .NET library provides a way for interacting with Salesforce's Force.com SOAP APIs.
Перейти к файлу
Wade Wegner fe5f59b807 Fixed unit tests and updated to PCL profile 111 2016-04-22 06:53:41 -07:00
nuget Added support for creating Connected Apps 2014-05-22 21:38:16 -05:00
src Fixed unit tests and updated to PCL profile 111 2016-04-22 06:53:41 -07:00
.gitattributes Initial commit of source 2014-02-22 16:09:33 -07:00
.gitignore Initial commit 2014-02-22 10:54:50 -08:00
LICENSE Initial commit 2014-02-22 10:54:50 -08:00
README.md Update README.md 2014-02-24 10:00:20 -07:00

README.md

Salesforce.SOAPHelpers

This .NET library provides a way for interacting with Salesforce's Force.com SOAP APIs.

Getting Started

  1. Install the NuGet package:

     Install-Package WadeWegner.Salesforce.SOAPHelpers
    
  2. Create an instance of the SalesforceClient:

     var salesforceClient = new SalesforceClient();
    
  3. Call login and accept the results:

     var loginResult = await salesforceClient.Login(_username, _password, _organizationId);
    
  4. Create the custom object by calling CreateCustomObject:

     var customObject = "MyCustomObject";
     var createObjectResult =
       await salesforceClient.CreateCustomObject(
         customObject, loginResult.SessionId, loginResult.MetadataServerUrl);`
    
  5. Create the custom field by calling CreateCustomField:

     var customField = "MyCustomField";
     var createFieldResult =
       await salesforceClient.CreateCustomField(
         customObject, customField, loginResult.SessionId, loginResult.MetadataServerUrl);
    

Enjoy!