X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=api%2Fv3%2Fexamples%2FActivity%2FReturnAssigneeContact.php;h=a9be1fcddc5a7b3ddd43b8fc8914d5f7a89d4815;hb=9f1b81e0ac968205dc1aa169eea1dc1d243957f8;hp=dd5f9042398dce67d7450f58a744b56cd5f9a079;hpb=359e2c1d2090baaacc43478765782ae9383f7bd5;p=civicrm-core.git diff --git a/api/v3/examples/Activity/ReturnAssigneeContact.php b/api/v3/examples/Activity/ReturnAssigneeContact.php index dd5f904239..a9be1fcddc 100644 --- a/api/v3/examples/Activity/ReturnAssigneeContact.php +++ b/api/v3/examples/Activity/ReturnAssigneeContact.php @@ -53,36 +53,36 @@ function activity_get_expectedresult(){ 'is_current_revision' => '1', 'is_deleted' => 0, 'assignee_contact_id' => array( - '0' => '19', + '0' => '3', ), - 'source_contact_id' => '17', + 'source_contact_id' => '1', 'api.contact.get' => array( 'is_error' => 0, 'version' => 3, 'count' => 1, - 'id' => 17, + 'id' => 1, 'values' => array( '0' => array( - 'contact_id' => '17', + 'contact_id' => '1', 'contact_type' => 'Individual', 'contact_sub_type' => '', - 'sort_name' => '', - 'display_name' => 'Test Contact', - 'do_not_email' => '', - 'do_not_phone' => '', - 'do_not_mail' => '', - 'do_not_sms' => '', - 'do_not_trade' => '', + 'sort_name' => 'Anderson, Anthony', + 'display_name' => 'Mr. Anthony Anderson II', + 'do_not_email' => 0, + 'do_not_phone' => 0, + 'do_not_mail' => 0, + 'do_not_sms' => 0, + 'do_not_trade' => 0, 'is_opt_out' => 0, 'legal_identifier' => '', 'external_identifier' => '', 'nick_name' => '', 'legal_name' => '', 'image_URL' => '', - 'preferred_mail_format' => '', - 'first_name' => 'Test', - 'middle_name' => '', - 'last_name' => 'Contact', + 'preferred_mail_format' => 'Both', + 'first_name' => 'Anthony', + 'middle_name' => 'J.', + 'last_name' => 'Anderson', 'job_title' => '', 'birth_date' => '', 'is_deceased' => 0, @@ -102,22 +102,22 @@ function activity_get_expectedresult(){ 'geo_code_1' => '', 'geo_code_2' => '', 'state_province_id' => '', - 'state_province_name' => '', - 'state_province' => '', 'country_id' => '', - 'country' => '', 'phone_id' => '', 'phone_type_id' => '', 'phone' => '', - 'email_id' => '', - 'email' => '', - 'on_hold' => '', + 'email_id' => '1', + 'email' => 'anthony_anderson@civicrm.org', + 'on_hold' => 0, 'im_id' => '', 'provider_id' => '', 'im' => '', 'worldregion_id' => '', 'world_region' => '', - 'id' => '17', + 'state_province_name' => '', + 'state_province' => '', + 'country' => '', + 'id' => '1', ), ), ),