Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

string - Salesforce Account ID

Example

The following example will create an account in Salesforce with the specified fields.

Code Block
SFDCConnection conn = connectToSalesforce("SFDC_test");

logPrint("WARN", "Connected to SF: " + conn.instance_url + " - " + conn.access_token);

SFDCAccount newAccount;
newAccount.Name = "Created with routine";
newAccount.Description = "This is my new account";
newAccount.NumberOfEmployees = 312;
newAccount.Industry = "Phone production";

string accId = sfdcCreateAccount(conn, newAccount);
logPrint("WARN",  "Created account with id: " + accId);

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "sfdc_routines"
labelsbasic_routines