Merge pull request #19936 from jmcclelland/only-include-completed
[civicrm-core.git] / tests / phpunit / api / v4 / DataSets / MultiContactMultiEmail.json
1 {
2 "Contact": [
3 {
4 "first_name": "First",
5 "last_name": "Contact",
6 "contact_type": "Individual",
7 "@ref": "test_contact_1"
8 },
9 {
10 "first_name": "Second",
11 "last_name": "Contact",
12 "contact_type": "Individual",
13 "@ref": "test_contact_2"
14 }
15 ],
16 "Email": [
17 {
18 "contact_id": "@ref test_contact_1.id",
19 "email": "test_contact_one_home@fakedomain.com",
20 "location_type_id": 1,
21 "@ref": "test_email_1"
22 },
23 {
24 "contact_id": "@ref test_contact_1.id",
25 "email": "test_contact_one_work@fakedomain.com",
26 "location_type_id": 2,
27 "@ref": "test_email_2"
28 },
29 {
30 "contact_id": "@ref test_contact_2.id",
31 "email": "test_contact_two_home@fakedomain.com",
32 "location_type_id": 1,
33 "@ref": "test_email_3"
34 },
35 {
36 "contact_id": "@ref test_contact_2.id",
37 "email": "test_contact_two_work@fakedomain.com",
38 "location_type_id": 2,
39 "@ref": "test_email_4"
40 }
41 ]
42 }