Changes between Version 9 and Version 10 of CiviCRM HowTo Use Rest API


Ignore:
Timestamp:
08/28/13 15:10:55 (11 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CiviCRM HowTo Use Rest API

    v9 v10  
    2727== Using the REST API
    2828
    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}}}
     29An 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