X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2Fexamples%2FParticipant%2FCreateParticipantPayment.php;h=1f70d8f36e3f4ad5f4281b8944bd24bb482d9d51;hb=89bf81b443c470849323a82a9992e4aee822a229;hp=1242fe3a83ec806f266a1298fe6a49c93e1b29c6;hpb=feb07870854e6e0081670f2fe33faf579b737eba;p=civicrm-core.git diff --git a/api/v3/examples/Participant/CreateParticipantPayment.php b/api/v3/examples/Participant/CreateParticipantPayment.php index 1242fe3a83..1f70d8f36e 100644 --- a/api/v3/examples/Participant/CreateParticipantPayment.php +++ b/api/v3/examples/Participant/CreateParticipantPayment.php @@ -9,7 +9,7 @@ $params = array( 'contact_type' => 'Individual', 'display_name' => 'dlobo', 'api.participant' => array( - 'event_id' => 39, + 'event_id' => 40, 'status_id' => 1, 'role_id' => 1, 'format.only_id' => 1, @@ -77,6 +77,8 @@ function participant_create_expectedresult(){ 'last_name' => '', 'prefix_id' => '', 'suffix_id' => '', + 'formal_title' => '', + 'communication_style_id' => '', 'email_greeting_id' => '1', 'email_greeting_custom' => '', 'email_greeting_display' => '', @@ -125,20 +127,20 @@ function participant_create_expectedresult(){ * This example has been generated from the API test suite. The test that created it is called * * testCreateParticipantWithPayment and can be found in -* http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/ParticipantTest.php +* https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantTest.php * * You can see the outcome of the API tests at -* http://tests.dev.civicrm.org/trunk/results-api_v3 +* https://test.civicrm.org/job/CiviCRM-master-git/ * * To Learn about the API read -* http://book.civicrm.org/developer/current/techniques/api/ +* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API * -* and review the wiki at -* http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs +* Browse the api on your own site with the api explorer +* http://MYSITE.ORG/path/to/civicrm/api/explorer * * Read more about testing here * http://wiki.civicrm.org/confluence/display/CRM/Testing * * API Standards documentation: * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards -*/ \ No newline at end of file +*/