Changes between Version 9 and Version 10 of CiviCRM HowTo Use Rest API
- Timestamp:
- 08/28/13 15:10:55 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CiviCRM HowTo Use Rest API
v9 v10 27 27 == Using the REST API 28 28 29 1. Login using the URL: !http://{CIVIPATH}/civicrm/extern/rest.php?q=civicrm/login&name={USERNAME}&pass={PASSWORD}&key={SITE_KEY}&json=1 30 2. Extract the {{{SESSION_ID}}} from the response. 31 3. Make a request supplying the {{{SITE_KEY}}} and {{{SESSION_ID}}} 29 An example: http://lcbru.xuhl-tr.nhs.uk/civicrm/ajax/rest?fnName=civicrm/contact/get&json=1&key={SITE_KEY}&name={USERNAME}&pass={PASSWORD} 30 31