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 (Moderator: Donald Lobo) »
  • activity API
Pages: [1]

Author Topic: activity API  (Read 929 times)

rish208

  • Guest
activity API
May 07, 2010, 03:12:11 am
hye all,
am trying to call the activity api to get a list of activities, when am passing the contact_id as parameter its returning an error message could anyone help please thanks!!

sushant

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 8
  • CiviCRM version: v3.2.x,v3.3.x v4.0.x, v4.x,trunk
  • CMS version: Drupal 6/7 ,joomla 1.5,1.6
  • MySQL version: 5.1.51
  • PHP version: 5.3.3
Re: activity API
May 07, 2010, 04:37:00 am
Hi,
Could you please give the name of api that you are using.

 thanks
Sushant.
CiviCRM Priority Support
http://support.civigardens.com/
http://osseed.com

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: activity API
May 10, 2010, 07:49:59 am
Hi,

Have you installed civicrm from svn ? (that'd be a good idea if you start developing)

Ideally,  could you write a new test in the tests/phpunit/api/v2/ActivityContactTest.php ? (or check if there is one close to what you want to do that has the correct set of parameters ?

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 (Moderator: Donald Lobo) »
  • activity API

This forum was archived on 2017-11-26.