Consuming the API within Apex

If you are developing Apex classes, triggers or Visualforce controllers, you may call the FinancialForce Apex classes directly to integrate with FinancialForce. You do not need to go via the Web Services interface.

Note
There is a Force.com platform restriction that means you cannot use API calls in Visualforce controller constructors.

See "Documentation Resources for Force.com Developers" in the Salesforce Help for more information.

Viewing a list of FinancialForce API Apex Classes

To view a list of all the relevant Apex classes:

  1. If necessary, create a new Apex class view called the "FinancialForce API Classes" as described in the related topic below.
  2. Click Setup | Develop | Apex Classes.
  3. From the View field, select the "FinancialForce API Classes" option.

    A list of all relevant Apex classes is displayed.

  4. Click the Apex class name to view its detail.
Related Topics:
Consuming the API using Web Services
Data Type Mapping
Creating an API Apex Class View
 
For complete documentation, sample code, and developer community, visit developer.salesforce.com and developer.financialforce.com.

© Copyright 2009-2012 FinancialForce.com, inc. All rights reserved.
Various trademarks held by their respective owners.