They are 5 different way of using the APIs:
Most of the examples and API descriptions are using the syntax for the 1. (direct php call). However, all these APIs can be acessed via the other channels as well, provided you adapt the syntax (eg. the list of return variables is either a php array, several get parameters or a comma separated list). API OverviewScope and Definitions, Permissioning, Remote Invocation, Error Handling... Using CiviCRM APIs - Code SnippetsCollection of code snippets which demonstrate use of CiviCRM APIs Changes in CiviCRM 2What's new in CiviCRM 2 Contact and Contact Search APIsCreate, update, find and delete contacts... Contribution APIsCreate, update, get and delete CiviContribute contribution records... Group APIsCreate groups, get members of groups, add and remove group members... Activity APIsCreate, update, delete and get Activities Location APIsRelationship APIsCreate, retrieve supported relationship types (spouse, employer, etc.). Create, get, delete relationships between contacts (individuals, households and/or organizations... Custom Data Group and Custom Field APIsCreate and / or delete custom data groups and fields... Note APIsCreate, update, get and delete Notes... Tagging APIsCreate and delete tags. Assign tags to contacts, remove tags from contacts... File APIsCreate files. Assign files to contacts... Profile APIsDefinition of the User Profile Group of the CRM API. Membership APIsAssign or remove Memberships for Contacts, manage Membership Types, Membership Statuses Event APIsCreate, update, get and delete Events... Participant and Participant Payment APIsCreate ,update ,get and delete Participant and Participant Payment Upgrading api's from v1 to v2Naming Convention:: Upgrading from V1 to V2 |
