Changes between Version 5 and Version 6 of CiviCRM HowTo Use Rest API
- Timestamp:
- 08/28/13 13:57:42 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CiviCRM HowTo Use Rest API
v5 v6 9 9 * [[http://lcbru-test.xuhl-tr.nhs.uk/civicrm/ajax/doc/api#explorer|Test Server API Explorer]] 10 10 * [[http://lcbru-test.xuhl-tr.nhs.uk/civicrm/api/doc|Parameter list for Test Server]] - What parameters are available for each entity in the API. 11 12 == Steps to Enable the Rest API 13 14 1. Create a site key 15 2. Create a user 16 3. Enable the user to access the REST api 17 18 == Using the REST API 19 20 1. Login using the URL: !https://{CIVIPATH}/civicrm/extern/rest.php?q=civicrm/login&name={USERNAME}&pass={PASSWORD}&key={SITE_KEY}&json=1 21 2. Extract the {{{SESSION_ID}}} from the response. 22 3. Make a request supplying the {{{SITE_KEY}}} and {{{SESSION_ID}}}