CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • New ajax api end point (chainable and custom field ready)
Pages: [1]

Author Topic: New ajax api end point (chainable and custom field ready)  (Read 627 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
New ajax api end point (chainable and custom field ready)
May 25, 2011, 12:47:49 pm
so instead of
http://example.org/civicrm/ajax/rest?entity=Contact&action=Get&debug=1
you can call:
http://example.org/civicrm/api/json?{"entity":"Contact","action":"Get","debug":1}

and then you don't have any problem chaining:

http://example.org/civicrm/api/json?{"entity":"Contact","action":"Get","api.Activity.Get":{"activity_type_id":1}}

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • New ajax api end point (chainable and custom field ready)

This forum was archived on 2017-11-26.