Add v4 order api, access it via order
[civicrm-core.git] / tests / phpunit / api / v4 / DataSets / ConformanceTest.json
CommitLineData
19b53e5b
C
1{
2 "Contact": [
3 {
4 "first_name": "Janice",
5 "last_name": "Voss",
6 "contact_type": "Individual",
7 "@ref": "test_contact_1"
96f09dda
CW
8 },
9 {
10 "first_name": "Jim",
11 "last_name": "Henson",
12 "contact_type": "Individual",
13 "@ref": "test_contact_2"
14 }
15 ],
a62d97f3
CW
16 "Case": [
17 {
96f09dda 18 "case_type_id": "@ref test_case_type_1.id",
a62d97f3
CW
19 "status_id": 1,
20 "contact_id": "@ref test_contact_1.id",
21 "creator_id": "@ref test_contact_1.id"
22 }
23 ],
19b53e5b
C
24 "CustomGroup": [
25 {
26 "name": "MyFavoriteThings",
27 "extends": "Contact"
28 }
29 ],
30 "Event": [
31 {
32 "start_date": "20401010000000",
33 "title": "The Singularity",
34 "event_type_id": "major_historical_event"
35 }
36 ],
37 "Group": [
38 {
39 "name": "the_group",
40 "title": "The Group"
41 }
42 ],
43 "Mapping": [
44 {
45 "name": "the_mapping",
46 "mapping_type_id": "1"
47 }
48 ],
49 "Activity": [
50 {
51 "subject": "Test A Phone Activity",
03b67004 52 "activity_type_id:name": "Phone Call",
19b53e5b
C
53 "source_contact_id": "@ref test_contact_1.id"
54 }
da1ec2be 55 ],
56 "Contribution": [
57 {
58 "total_amount": 999.89,
59 "financial_type_id:name": "Donation",
60 "contact_id": "@ref test_contact_1.id"
61 }
627bfc6b 62 ],
63 "Pledge" : [
64 {
65 "contact_id": "@ref test_contact_1.id",
66 "original_installment_amount" : 10,
67 "amount" : 10,
68 "start_date" : "now",
69 "create_date" : "now",
70 "status_id:name" : "Pending"
71 }
1c017431 72 ],
73 "PaymentProcessor" : [
74 {
75 "payment_processor_type_id:name": "Dummy"
76 }
7c08d7b8
MD
77 ],
78 "Batch": [
79 {
80 "title": "Batch 433397",
81 "name": "Batch_433397",
82 "status_id": "1"
83 }
ff797aa0
SL
84 ],
85 "Product": [
86 {
87 "name": "Test Product",
88 "price": "10.00",
89 "sku": "Test SKU",
90 "financial_type_id:name": "Donation",
91 "min_contribution": "10.00"
92 }
88060045
EM
93 ],
94 "MembershipType": [
95 {
96 "name": "General",
97 "period_type" : "fixed",
98 "financial_type_id:name": "Donation",
99 "duration_unit" : "month",
100 "member_of_contact_id" : "@ref test_contact_1.id"
101 }
102 ],
103 "ContributionPage": [
104 {
105 "name": "General"
106 }
107 ],
108 "Membership": [
109 {
110 "membership_type_id:name": "General",
111 "contact_id" : "@ref test_contact_1.id",
112 "status_id:name" : "Pending"
113 }
19b53e5b
C
114 ]
115}