summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/plugins/civicrm/civicrm/ext/api4/tests/phpunit/DataSets/DefaultDataSet.json
blob: 7d4a91bc7797d5d71d59f232c6ed326f0c39d899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  "Contact": [
    {
      "first_name": "Phoney",
      "last_name": "Contact",
      "contact_type": "Individual",
      "@ref": "test_contact_1"
    },
    {
      "first_name": "Second",
      "last_name": "Test",
      "contact_type": "Individual",
      "@ref": "test_contact_2"
    }
  ],
  "Activity": [
    {
      "subject": "Test Phone Activity",
      "activity_type": "Phone Call",
      "source_contact_id": "@ref test_contact_1.id"
    },
    {
      "subject": "Another Activity",
      "activity_type": "Meeting",
      "source_contact_id": "@ref test_contact_1.id",
      "assignee_contact_id": [
        "@ref test_contact_1.id",
        "@ref test_contact_2.id"
      ]
    }
  ],
  "Phone": [
    {
      "contact_id": "@ref test_contact_1.id",
      "phone": "+35355439483",
      "location_type_id": "1",
      "@ref": "test_phone_1"
    },
    {
      "contact_id": "@ref test_contact_1.id",
      "phone": "+3538733439483",
      "location_type_id": "2"
    }
  ]
}