projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test tweaks and updated examples
[civicrm-core.git]
/
api
/
v3
/
examples
/
Activity
/
ReturnAssigneeContact.php
diff --git
a/api/v3/examples/Activity/ReturnAssigneeContact.php
b/api/v3/examples/Activity/ReturnAssigneeContact.php
index dd5f9042398dce67d7450f58a744b56cd5f9a079..a9be1fcddc5a7b3ddd43b8fc8914d5f7a89d4815 100644
(file)
--- 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(
'is_current_revision' => '1',
'is_deleted' => 0,
'assignee_contact_id' => array(
- '0' => '
19
',
+ '0' => '
3
',
),
),
- 'source_contact_id' => '1
7
',
+ 'source_contact_id' => '1',
'api.contact.get' => array(
'is_error' => 0,
'version' => 3,
'count' => 1,
'api.contact.get' => array(
'is_error' => 0,
'version' => 3,
'count' => 1,
- 'id' => 1
7
,
+ 'id' => 1,
'values' => array(
'0' => array(
'values' => array(
'0' => array(
- 'contact_id' => '1
7
',
+ 'contact_id' => '1',
'contact_type' => 'Individual',
'contact_sub_type' => '',
'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' => '',
'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,
'job_title' => '',
'birth_date' => '',
'is_deceased' => 0,
@@
-102,22
+102,22
@@
function activity_get_expectedresult(){
'geo_code_1' => '',
'geo_code_2' => '',
'state_province_id' => '',
'geo_code_1' => '',
'geo_code_2' => '',
'state_province_id' => '',
- 'state_province_name' => '',
- 'state_province' => '',
'country_id' => '',
'country_id' => '',
- 'country' => '',
'phone_id' => '',
'phone_type_id' => '',
'phone' => '',
'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' => '',
'im_id' => '',
'provider_id' => '',
'im' => '',
'worldregion_id' => '',
'world_region' => '',
- 'id' => '17',
+ 'state_province_name' => '',
+ 'state_province' => '',
+ 'country' => '',
+ 'id' => '1',
),
),
),
),
),
),