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) »
  • API, Events and participants
Pages: [1]

Author Topic: API, Events and participants  (Read 466 times)

elcongrio

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 3.6.1
  • CMS version: Wordpress
  • MySQL version: 5.3
  • PHP version: 5.3.3
API, Events and participants
January 28, 2014, 07:09:23 am
Hi everybody:

I have a problem when I'm trying to add participants to an event with limited seats. Even when the max_participants limit is reached, all news attendee are added to the partcipant's list and no one go to the waiting list.
¿Is this control useless when I register from the API? It seems that the must_wait return's parameter from Create Participant never return a true value. I can make some kins of control with the max_participants and the length of the participants list, but that's far from optimal (think about concurrence).

Thanks in advance for any tip or sample code.

elcongrio

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 3.6.1
  • CMS version: Wordpress
  • MySQL version: 5.3
  • PHP version: 5.3.3
Re: API, Events and participants
January 28, 2014, 07:38:29 am
And another question. It seems that when I register a participant by API, no confirmation mail is sent. Am I rigth or I making a mistake?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • API, Events and participants

This forum was archived on 2017-11-26.