Skip to end of banner
Go to start of banner

Create Salesforce account

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Syntax

sfdcCreateAccount(sfdcConnection, sfdcAccount, [sfdcAPIVersion])

Description

Creates an account in the Salesforce environment.

Parameters

Parameter

Type

Required

Description

sfdcConnection

SFDCConnection

Yes

The Salesforce Connection - it is the object resulted from the call to connectToSalesforce routine

sfdcAccountSFDCAccountYesStructure containing the fields of the account that will be created. This is a predefined structure type described below. When creating an account, only field Name is mandatory.
sfdcAPIVersionstringNoThe Salesforce API Version to be called when creating the account; it should have the following form: "vXX.X" - eg: "v43.0", "v42.0". It is not mandatory, if missing the latest available version will be used.


SFDCAccount type:

NameFieldType

SFDCAccount 


Name

string

AccountNumber

string
AnnualRevenuestring
BillingCitystring
BillingCountrystring
BillingPostalCodestring
BillingStatestring
BillingStreetstring
Descriptionstring
Faxstring
Industrystring
NumberOfEmployeesnumber
Ownershipstring
Phonestring
Ratingstring
ShippingCitystring
ShippingCountrystring
ShippingPostalCodestring
ShippingStatestring
ShippingStreetstring
Sicstring
Sitestring
TickerSymbolstring
Typestring
Websitestring

Return type

string - the Salesforce Account ID

  • No labels