Retrieves a Salesforce Account record with the given Account Id.
This handler essentially has two phases: authentication and record retrieval.
The handler uses the SOAP API login method to retrieve the authentication details that are required for making the REST API requests. The required authentication values are instance and session id, these two values are retrieved by the login() helper method in the handler.
The handler uses the REST API to retrieve the Salesforce record. The handler's return variables are mapped from the Salesforce fields as show here (with the name of the Salesforce field on the left pointing to the name of the corresponding return variable):
Name => Account Name
Site => Account Site
Type => Type
Industry => Industry
AnnualRevenue => Annual Revenue
Rating => Rating
Phone => Phone
Fax => Fax
Website => Website
Ownership => Ownership
The username of the account that will be used for record retrieval
The password of the account that will be used for record retrieval.
The security token associated with the account used for record retrieval. To reset this value, log into Saleforce using the desired account and navigate to Setup -> My Personal Information -> Reset Security Token. A new token will be emailed to you.
The Id of the Salesforce Account record that will be retrieved