Using your development environment, you can construct Web service client applications that use standard Web service protocols to programmatically:
See Core Calls, Describe Calls, andUtility Calls for complete details about each call.
All API calls are:
When using the API, the following factors affect access to your organization’s data:
For more information, see Generating the WSDL File for Your Organization.
For certain objects, the user profile is configured with one of the following permissions:
These permissions apply to many objects, including: Account, Asset, Campaign, Case, Contact, Contract, Document, Lead, Opportunity, Pricebook2, Product2, and Solution. Other objects (such as AccountTeamMember) follow sharing on the associated permission-assigned object (such as the Account record). Similarly, a Partner depends on the permissions in the associated Account.
User permissions do not affect field-level security or sharing. If field-level security specifies that a field is hidden, users with “Read” on that object can view only those fields that are not hidden on the record. In addition, users with “Read” on an object can view only those records that sharing settings allow. The one exception is the “Edit Read Only Fields” permission, which gives users the ability to edit fields marked as read only via field-level security.
The API respects object-level and field-level security configured in the Salesforce user interface. You can access objects and fields only if the security settings in the logged-in user’s profile permit such access. For example, fields that are not visible to a given user are not returned in a query() or describeSObjects() call. For more information, see Security and the API.
There are certain exceptions which prevent the execution of a cascadeDelete. For example, you cannot delete an account if it has associated cases, if it has related opportunities that are owned by other users, or if associated contacts are enabled for the Self-Service portal. In addition, if you attempt to delete an account that has closed/won opportunities owned by you or has active contracts, then the delete request for that record will fail.
If any such constraints are required, it is up to business logic in the client application to enforce them explicitly.