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) »
  • Data Retrieval through REST API
Pages: [1]

Author Topic: Data Retrieval through REST API  (Read 845 times)

rednival

  • Guest
Data Retrieval through REST API
May 14, 2010, 11:04:26 am
I work for a company that provides database services for non-profits.  We have a client using CiviCRM to accept online contributions and they want us to interface with their system.  What I need to do is create a process that runs nightly on our system to retrieve the most recent contributions entered in CiviCRM.  I also need to retrieve any new contacts.  I have been looking at the REST interface.  It appears I can retrieve contributions by a date, but it doesn't appear that retrieving contacts by a date entered will be an option.  Am I wrong?

Retrieving contacts by a range of ID's could be a possible solution, but it doesn't appear the REST interface supports searching by ranges.  Am I wrong?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Data Retrieval through REST API
May 14, 2010, 12:18:54 pm
Hi,

Have a look at the advanced search, if the option there is good ok for your, should should be able to get it on the API. Check the name of the field, that's often the name of the param you need on the API
-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) »
  • Data Retrieval through REST API

This forum was archived on 2017-11-26.