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) »
  • event API is not returning registration profile configurations
Pages: [1]

Author Topic: event API is not returning registration profile configurations  (Read 288 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
event API is not returning registration profile configurations
July 18, 2014, 04:58:09 am
I am trying to use the "Event" "getsingle" API to retrieve the event configuration details. This is mostly working. However, if the event is configured to use one or more profiles for online registration, then none of that profile configuration detail is returned.  ( ie the data stored in the table civicrm_uf_join )  Is there another API I need to call to get the profile configs for the event?

I am using version 4.4.6

Thanks,
Sarah
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: event API is not returning registration profile configurations
July 18, 2014, 08:36:09 am
UFJoin is an entity you can use. I don't think you can chain them directly from the event get, but would need to check more to be sure.
-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) »
  • event API is not returning registration profile configurations

This forum was archived on 2017-11-26.