myob-essentials-api 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.rspec +2 -0
- data/.ruby-version +1 -0
- data/.travis.yml +12 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +86 -0
- data/LICENSE +22 -0
- data/README.md +188 -0
- data/Rakefile +51 -0
- data/VERSION +1 -0
- data/lib/myob-essentials-api.rb +13 -0
- data/lib/myob/essentials/api/client.rb +86 -0
- data/lib/myob/essentials/api/helper.rb +29 -0
- data/lib/myob/essentials/api/model/account.rb +13 -0
- data/lib/myob/essentials/api/model/account_balance.rb +13 -0
- data/lib/myob/essentials/api/model/account_classification.rb +13 -0
- data/lib/myob/essentials/api/model/account_type.rb +13 -0
- data/lib/myob/essentials/api/model/base.rb +114 -0
- data/lib/myob/essentials/api/model/business.rb +13 -0
- data/lib/myob/essentials/api/model/contact.rb +13 -0
- data/lib/myob/essentials/api/model/inventory_item.rb +13 -0
- data/lib/myob/essentials/api/model/sale_invoice.rb +13 -0
- data/lib/myob/essentials/api/model/sale_payment.rb +13 -0
- data/lib/myob/essentials/api/model/tax_type.rb +13 -0
- data/myob-essentials-api.gemspec +102 -0
- data/spec/fixtures/account/classifications.json +104 -0
- data/spec/fixtures/account/classifications/1.json +11 -0
- data/spec/fixtures/account/types.json +170 -0
- data/spec/fixtures/account/types/1.json +11 -0
- data/spec/fixtures/base1.json +38 -0
- data/spec/fixtures/base2.json +42 -0
- data/spec/fixtures/base3.json +29 -0
- data/spec/fixtures/businesses.json +84 -0
- data/spec/fixtures/businesses/168254.json +34 -0
- data/spec/fixtures/businesses/168254/contacts.json +386 -0
- data/spec/fixtures/businesses/168254/contacts/3604150.json +37 -0
- data/spec/fixtures/businesses/168254/generalledger/accounts.json +1978 -0
- data/spec/fixtures/businesses/168254/generalledger/accounts/10108109.json +29 -0
- data/spec/fixtures/businesses/168254/inventory/items.json +331 -0
- data/spec/fixtures/businesses/168254/inventory/items/987816.json +45 -0
- data/spec/fixtures/businesses/168254/sale/invoices.json +131 -0
- data/spec/fixtures/businesses/168254/sale/invoices/35608735.json +55 -0
- data/spec/fixtures/tax/types.json +79 -0
- data/spec/fixtures/tax/types/5.json +7 -0
- data/spec/myob/essentials/api/client_spec.rb +78 -0
- data/spec/myob/essentials/api/model/account_classification_spec.rb +31 -0
- data/spec/myob/essentials/api/model/account_spec.rb +31 -0
- data/spec/myob/essentials/api/model/account_type_spec.rb +31 -0
- data/spec/myob/essentials/api/model/base_spec.rb +100 -0
- data/spec/myob/essentials/api/model/business_spec.rb +31 -0
- data/spec/myob/essentials/api/model/contact_spec.rb +32 -0
- data/spec/myob/essentials/api/model/inventory_item_spec.rb +32 -0
- data/spec/myob/essentials/api/model/sale_invoice_spec.rb +32 -0
- data/spec/myob/essentials/api/model/sale_payment_spec.rb +34 -0
- data/spec/myob/essentials/api/model/tax_type_spec.rb +31 -0
- data/spec/spec_helper.rb +94 -0
- metadata +143 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_links": [
|
|
3
|
+
{
|
|
4
|
+
"rel": "self",
|
|
5
|
+
"href": "https://essentials.myob.com.au/LA/api/public/account/types"
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"items": [
|
|
9
|
+
{
|
|
10
|
+
"uid": "1",
|
|
11
|
+
"uri": null,
|
|
12
|
+
"name": "Banking",
|
|
13
|
+
"classification": {
|
|
14
|
+
"uid": "1",
|
|
15
|
+
"uri": null,
|
|
16
|
+
"name": "Asset"
|
|
17
|
+
},
|
|
18
|
+
"_links": []
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"uid": "2",
|
|
22
|
+
"uri": null,
|
|
23
|
+
"name": "Current Assets",
|
|
24
|
+
"classification": {
|
|
25
|
+
"uid": "1",
|
|
26
|
+
"uri": null,
|
|
27
|
+
"name": "Asset"
|
|
28
|
+
},
|
|
29
|
+
"_links": []
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"uid": "3",
|
|
33
|
+
"uri": null,
|
|
34
|
+
"name": "Fixed Assets",
|
|
35
|
+
"classification": {
|
|
36
|
+
"uid": "1",
|
|
37
|
+
"uri": null,
|
|
38
|
+
"name": "Asset"
|
|
39
|
+
},
|
|
40
|
+
"_links": []
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"uid": "4",
|
|
44
|
+
"uri": null,
|
|
45
|
+
"name": "Current Liabilities",
|
|
46
|
+
"classification": {
|
|
47
|
+
"uid": "2",
|
|
48
|
+
"uri": null,
|
|
49
|
+
"name": "Liability"
|
|
50
|
+
},
|
|
51
|
+
"_links": []
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"uid": "5",
|
|
55
|
+
"uri": null,
|
|
56
|
+
"name": "Long Term Liabilities",
|
|
57
|
+
"classification": {
|
|
58
|
+
"uid": "2",
|
|
59
|
+
"uri": null,
|
|
60
|
+
"name": "Liability"
|
|
61
|
+
},
|
|
62
|
+
"_links": []
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"uid": "6",
|
|
66
|
+
"uri": null,
|
|
67
|
+
"name": "Credit Card",
|
|
68
|
+
"classification": {
|
|
69
|
+
"uid": "2",
|
|
70
|
+
"uri": null,
|
|
71
|
+
"name": "Liability"
|
|
72
|
+
},
|
|
73
|
+
"_links": []
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"uid": "7",
|
|
77
|
+
"uri": null,
|
|
78
|
+
"name": "Equity",
|
|
79
|
+
"classification": {
|
|
80
|
+
"uid": "3",
|
|
81
|
+
"uri": null,
|
|
82
|
+
"name": "Equity"
|
|
83
|
+
},
|
|
84
|
+
"_links": []
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"uid": "8",
|
|
88
|
+
"uri": null,
|
|
89
|
+
"name": "Cost of Sales",
|
|
90
|
+
"classification": {
|
|
91
|
+
"uid": "5",
|
|
92
|
+
"uri": null,
|
|
93
|
+
"name": "Cost Of Goods Sold"
|
|
94
|
+
},
|
|
95
|
+
"_links": []
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"uid": "9",
|
|
99
|
+
"uri": null,
|
|
100
|
+
"name": "Income",
|
|
101
|
+
"classification": {
|
|
102
|
+
"uid": "4",
|
|
103
|
+
"uri": null,
|
|
104
|
+
"name": "Income"
|
|
105
|
+
},
|
|
106
|
+
"_links": []
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"uid": "10",
|
|
110
|
+
"uri": null,
|
|
111
|
+
"name": "Other Income",
|
|
112
|
+
"classification": {
|
|
113
|
+
"uid": "8",
|
|
114
|
+
"uri": null,
|
|
115
|
+
"name": "Other Income"
|
|
116
|
+
},
|
|
117
|
+
"_links": []
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"uid": "11",
|
|
121
|
+
"uri": null,
|
|
122
|
+
"name": "Expense",
|
|
123
|
+
"classification": {
|
|
124
|
+
"uid": "6",
|
|
125
|
+
"uri": null,
|
|
126
|
+
"name": "Expense"
|
|
127
|
+
},
|
|
128
|
+
"_links": []
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"uid": "12",
|
|
132
|
+
"uri": null,
|
|
133
|
+
"name": "Other Expense",
|
|
134
|
+
"classification": {
|
|
135
|
+
"uid": "9",
|
|
136
|
+
"uri": null,
|
|
137
|
+
"name": "Other Expenses"
|
|
138
|
+
},
|
|
139
|
+
"_links": []
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"uid": "13",
|
|
143
|
+
"uri": null,
|
|
144
|
+
"name": "Retained Earnings",
|
|
145
|
+
"classification": {
|
|
146
|
+
"uid": "3",
|
|
147
|
+
"uri": null,
|
|
148
|
+
"name": "Equity"
|
|
149
|
+
},
|
|
150
|
+
"_links": []
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"uid": "14",
|
|
154
|
+
"uri": null,
|
|
155
|
+
"name": "Current Earnings",
|
|
156
|
+
"classification": {
|
|
157
|
+
"uid": "3",
|
|
158
|
+
"uri": null,
|
|
159
|
+
"name": "Equity"
|
|
160
|
+
},
|
|
161
|
+
"_links": []
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"page": {
|
|
165
|
+
"size": 14,
|
|
166
|
+
"totalElements": 14,
|
|
167
|
+
"totalPages": 1,
|
|
168
|
+
"number": 1
|
|
169
|
+
}
|
|
170
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_links": [
|
|
3
|
+
{
|
|
4
|
+
"rel": "self",
|
|
5
|
+
"href": "https://api.myob.com/au/essentials/base"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"rel": "next",
|
|
9
|
+
"href": "https://api.myob.com/au/essentials/base?page=2&size=2"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"items": [
|
|
13
|
+
{
|
|
14
|
+
"uid": "1",
|
|
15
|
+
"_links": [
|
|
16
|
+
{
|
|
17
|
+
"rel": "self",
|
|
18
|
+
"href": "https://api.myob.com/au/essentials/base/1"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"uid": "2",
|
|
24
|
+
"_links": [
|
|
25
|
+
{
|
|
26
|
+
"rel": "self",
|
|
27
|
+
"href": "https://api.myob.com/au/essentials/base/2"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"page": {
|
|
33
|
+
"size": 2,
|
|
34
|
+
"totalElements": 5,
|
|
35
|
+
"totalPages": 3,
|
|
36
|
+
"number": 1
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_links": [
|
|
3
|
+
{
|
|
4
|
+
"rel": "self",
|
|
5
|
+
"href": "https://api.myob.com/au/essentials/base?page=2&size=2"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"rel": "previous",
|
|
9
|
+
"href": "https://api.myob.com/au/essentials/base?page=1&size=2"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"rel": "next",
|
|
13
|
+
"href": "https://api.myob.com/au/essentials/base?page=3&size=2"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"items": [
|
|
17
|
+
{
|
|
18
|
+
"uid": "3",
|
|
19
|
+
"_links": [
|
|
20
|
+
{
|
|
21
|
+
"rel": "self",
|
|
22
|
+
"href": "https://api.myob.com/au/essentials/base/3"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"uid": "4",
|
|
28
|
+
"_links": [
|
|
29
|
+
{
|
|
30
|
+
"rel": "self",
|
|
31
|
+
"href": "https://api.myob.com/au/essentials/base/4"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"page": {
|
|
37
|
+
"size": 2,
|
|
38
|
+
"totalElements": 5,
|
|
39
|
+
"totalPages": 3,
|
|
40
|
+
"number": 2
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_links": [
|
|
3
|
+
{
|
|
4
|
+
"rel": "self",
|
|
5
|
+
"href": "https://api.myob.com/au/essentials/base?page=3&size=2"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"rel": "previous",
|
|
9
|
+
"href": "https://api.myob.com/au/essentials/base?page=2&size=2"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"items": [
|
|
13
|
+
{
|
|
14
|
+
"uid": "5",
|
|
15
|
+
"_links": [
|
|
16
|
+
{
|
|
17
|
+
"rel": "self",
|
|
18
|
+
"href": "https://api.myob.com/au/essentials/base/5"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"page": {
|
|
24
|
+
"size": 2,
|
|
25
|
+
"totalElements": 5,
|
|
26
|
+
"totalPages": 3,
|
|
27
|
+
"number": 3
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_links": [
|
|
3
|
+
{
|
|
4
|
+
"rel": "self",
|
|
5
|
+
"href": "https://api.myob.com/au/essentials/businesses"
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"items": [
|
|
9
|
+
{
|
|
10
|
+
"uid": "182820",
|
|
11
|
+
"uri": "https://api.myob.com/au/essentials/businesses/182820",
|
|
12
|
+
"name": "Bruno - Maestrano",
|
|
13
|
+
"abn": " ",
|
|
14
|
+
"ird": null,
|
|
15
|
+
"abnBranch": " ",
|
|
16
|
+
"serialNumber": "613590867273",
|
|
17
|
+
"status": "SUSPENDED",
|
|
18
|
+
"gstRegistered": true,
|
|
19
|
+
"firstName": "Bruno",
|
|
20
|
+
"lastName": "Chauvet",
|
|
21
|
+
"email": "bruno.chauvet@maestrano.com",
|
|
22
|
+
"phone": "0406420569",
|
|
23
|
+
"streetAddress": {
|
|
24
|
+
"addressLine1": "410 Elisabeth Street",
|
|
25
|
+
"addressLine2": "",
|
|
26
|
+
"suburb": "Surry Hills",
|
|
27
|
+
"state": "NSW",
|
|
28
|
+
"postCode": "2010",
|
|
29
|
+
"country": "Australia"
|
|
30
|
+
},
|
|
31
|
+
"postalAddress": {
|
|
32
|
+
"addressLine1": "410 Elisabeth Street",
|
|
33
|
+
"addressLine2": "",
|
|
34
|
+
"suburb": "Surry Hills",
|
|
35
|
+
"state": "NSW",
|
|
36
|
+
"postCode": "2010",
|
|
37
|
+
"country": "Australia"
|
|
38
|
+
},
|
|
39
|
+
"financialYearStart": "July",
|
|
40
|
+
"financialYearEnd": "June",
|
|
41
|
+
"_links": []
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"uid": "168254",
|
|
45
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254",
|
|
46
|
+
"name": "Demo Business",
|
|
47
|
+
"abn": "53086760303",
|
|
48
|
+
"ird": null,
|
|
49
|
+
"abnBranch": " ",
|
|
50
|
+
"serialNumber": "619932405553",
|
|
51
|
+
"status": "ACTIVE",
|
|
52
|
+
"gstRegistered": true,
|
|
53
|
+
"firstName": "John",
|
|
54
|
+
"lastName": "Smith",
|
|
55
|
+
"email": "demo.biz.1233070@au.myob.com",
|
|
56
|
+
"phone": "12345678",
|
|
57
|
+
"streetAddress": {
|
|
58
|
+
"addressLine1": "12/100 Church Street",
|
|
59
|
+
"addressLine2": "",
|
|
60
|
+
"suburb": "Brighton",
|
|
61
|
+
"state": "VIC",
|
|
62
|
+
"postCode": "3199",
|
|
63
|
+
"country": "Australia"
|
|
64
|
+
},
|
|
65
|
+
"postalAddress": {
|
|
66
|
+
"addressLine1": "12/100 Church Street",
|
|
67
|
+
"addressLine2": "",
|
|
68
|
+
"suburb": "Brighton",
|
|
69
|
+
"state": "VIC",
|
|
70
|
+
"postCode": "3199",
|
|
71
|
+
"country": "Australia"
|
|
72
|
+
},
|
|
73
|
+
"financialYearStart": "July",
|
|
74
|
+
"financialYearEnd": "June",
|
|
75
|
+
"_links": []
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"page": {
|
|
79
|
+
"size": 2,
|
|
80
|
+
"totalElements": 2,
|
|
81
|
+
"totalPages": 1,
|
|
82
|
+
"number": 1
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"uid": "168254",
|
|
3
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254",
|
|
4
|
+
"name": "Demo Business",
|
|
5
|
+
"abn": "53086760303",
|
|
6
|
+
"ird": null,
|
|
7
|
+
"abnBranch": " ",
|
|
8
|
+
"serialNumber": "619932405553",
|
|
9
|
+
"status": "ACTIVE",
|
|
10
|
+
"gstRegistered": true,
|
|
11
|
+
"firstName": "John",
|
|
12
|
+
"lastName": "Smith",
|
|
13
|
+
"email": "demo.biz.1233070@au.myob.com",
|
|
14
|
+
"phone": "12345678",
|
|
15
|
+
"streetAddress": {
|
|
16
|
+
"addressLine1": "12/100 Church Street",
|
|
17
|
+
"addressLine2": "",
|
|
18
|
+
"suburb": "Brighton",
|
|
19
|
+
"state": "VIC",
|
|
20
|
+
"postCode": "3199",
|
|
21
|
+
"country": "Australia"
|
|
22
|
+
},
|
|
23
|
+
"postalAddress": {
|
|
24
|
+
"addressLine1": "12/100 Church Street",
|
|
25
|
+
"addressLine2": "",
|
|
26
|
+
"suburb": "Brighton",
|
|
27
|
+
"state": "VIC",
|
|
28
|
+
"postCode": "3199",
|
|
29
|
+
"country": "Australia"
|
|
30
|
+
},
|
|
31
|
+
"financialYearStart": "July",
|
|
32
|
+
"financialYearEnd": "June",
|
|
33
|
+
"_links": []
|
|
34
|
+
}
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_links": [
|
|
3
|
+
{
|
|
4
|
+
"rel": "self",
|
|
5
|
+
"href": "https://api.myob.com/au/essentials/businesses/168254/contacts"
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"items": [
|
|
9
|
+
{
|
|
10
|
+
"uid": "3604150",
|
|
11
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604150",
|
|
12
|
+
"name": "Brighton Body Works",
|
|
13
|
+
"types": [
|
|
14
|
+
"Customer"
|
|
15
|
+
],
|
|
16
|
+
"firstName": "",
|
|
17
|
+
"lastName": "",
|
|
18
|
+
"phone": "",
|
|
19
|
+
"fax": "",
|
|
20
|
+
"position": "",
|
|
21
|
+
"notes": "",
|
|
22
|
+
"mobile": "",
|
|
23
|
+
"email": "",
|
|
24
|
+
"abn": "",
|
|
25
|
+
"ird": "",
|
|
26
|
+
"reportable": false,
|
|
27
|
+
"active": true,
|
|
28
|
+
"individual": false,
|
|
29
|
+
"shippingAddress": {
|
|
30
|
+
"addressLine1": "2/34 Church Street",
|
|
31
|
+
"addressLine2": "",
|
|
32
|
+
"suburb": "Brighton",
|
|
33
|
+
"state": "VIC",
|
|
34
|
+
"postCode": "3186",
|
|
35
|
+
"country": "Australia"
|
|
36
|
+
},
|
|
37
|
+
"billingAddress": null,
|
|
38
|
+
"website": "",
|
|
39
|
+
"_links": [
|
|
40
|
+
{
|
|
41
|
+
"rel": "self",
|
|
42
|
+
"href": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604150"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"uid": "3604156",
|
|
48
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604156",
|
|
49
|
+
"name": "Bunnings",
|
|
50
|
+
"types": [
|
|
51
|
+
"Supplier"
|
|
52
|
+
],
|
|
53
|
+
"firstName": "",
|
|
54
|
+
"lastName": "",
|
|
55
|
+
"phone": "",
|
|
56
|
+
"fax": "",
|
|
57
|
+
"position": "",
|
|
58
|
+
"notes": "",
|
|
59
|
+
"mobile": "",
|
|
60
|
+
"email": "",
|
|
61
|
+
"abn": "",
|
|
62
|
+
"ird": "",
|
|
63
|
+
"reportable": false,
|
|
64
|
+
"active": true,
|
|
65
|
+
"individual": false,
|
|
66
|
+
"shippingAddress": {
|
|
67
|
+
"addressLine1": "340 Bourke Street",
|
|
68
|
+
"addressLine2": "",
|
|
69
|
+
"suburb": "Malvern",
|
|
70
|
+
"state": "VIC",
|
|
71
|
+
"postCode": "3167",
|
|
72
|
+
"country": "Australia"
|
|
73
|
+
},
|
|
74
|
+
"billingAddress": null,
|
|
75
|
+
"website": "",
|
|
76
|
+
"_links": [
|
|
77
|
+
{
|
|
78
|
+
"rel": "self",
|
|
79
|
+
"href": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604156"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"uid": "3604149",
|
|
85
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604149",
|
|
86
|
+
"name": "Footloose Dance Studio",
|
|
87
|
+
"types": [
|
|
88
|
+
"Customer"
|
|
89
|
+
],
|
|
90
|
+
"firstName": "",
|
|
91
|
+
"lastName": "",
|
|
92
|
+
"phone": "",
|
|
93
|
+
"fax": "",
|
|
94
|
+
"position": "",
|
|
95
|
+
"notes": "",
|
|
96
|
+
"mobile": "",
|
|
97
|
+
"email": "",
|
|
98
|
+
"abn": "",
|
|
99
|
+
"ird": "",
|
|
100
|
+
"reportable": false,
|
|
101
|
+
"active": true,
|
|
102
|
+
"individual": false,
|
|
103
|
+
"shippingAddress": {
|
|
104
|
+
"addressLine1": "468 Nepean Highway",
|
|
105
|
+
"addressLine2": "",
|
|
106
|
+
"suburb": "Moorabbin",
|
|
107
|
+
"state": "VIC",
|
|
108
|
+
"postCode": "3189",
|
|
109
|
+
"country": "Australia"
|
|
110
|
+
},
|
|
111
|
+
"billingAddress": null,
|
|
112
|
+
"website": "",
|
|
113
|
+
"_links": [
|
|
114
|
+
{
|
|
115
|
+
"rel": "self",
|
|
116
|
+
"href": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604149"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"uid": "3604148",
|
|
122
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604148",
|
|
123
|
+
"name": "Malvern Glass",
|
|
124
|
+
"types": [
|
|
125
|
+
"Customer"
|
|
126
|
+
],
|
|
127
|
+
"firstName": "",
|
|
128
|
+
"lastName": "",
|
|
129
|
+
"phone": "",
|
|
130
|
+
"fax": "",
|
|
131
|
+
"position": "",
|
|
132
|
+
"notes": "",
|
|
133
|
+
"mobile": "",
|
|
134
|
+
"email": "",
|
|
135
|
+
"abn": "",
|
|
136
|
+
"ird": "",
|
|
137
|
+
"reportable": false,
|
|
138
|
+
"active": true,
|
|
139
|
+
"individual": false,
|
|
140
|
+
"shippingAddress": {
|
|
141
|
+
"addressLine1": "23 Nicholson Street",
|
|
142
|
+
"addressLine2": "",
|
|
143
|
+
"suburb": "Malvern",
|
|
144
|
+
"state": "VIC",
|
|
145
|
+
"postCode": "3167",
|
|
146
|
+
"country": "Australia"
|
|
147
|
+
},
|
|
148
|
+
"billingAddress": null,
|
|
149
|
+
"website": "",
|
|
150
|
+
"_links": [
|
|
151
|
+
{
|
|
152
|
+
"rel": "self",
|
|
153
|
+
"href": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604148"
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"uid": "3604152",
|
|
159
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604152",
|
|
160
|
+
"name": "Manchester",
|
|
161
|
+
"types": [
|
|
162
|
+
"Customer"
|
|
163
|
+
],
|
|
164
|
+
"firstName": "",
|
|
165
|
+
"lastName": "",
|
|
166
|
+
"phone": "",
|
|
167
|
+
"fax": "",
|
|
168
|
+
"position": "",
|
|
169
|
+
"notes": "",
|
|
170
|
+
"mobile": "",
|
|
171
|
+
"email": "",
|
|
172
|
+
"abn": "",
|
|
173
|
+
"ird": "",
|
|
174
|
+
"reportable": false,
|
|
175
|
+
"active": true,
|
|
176
|
+
"individual": false,
|
|
177
|
+
"shippingAddress": {
|
|
178
|
+
"addressLine1": "288 Punt Road",
|
|
179
|
+
"addressLine2": "",
|
|
180
|
+
"suburb": "Richmond",
|
|
181
|
+
"state": "VIC",
|
|
182
|
+
"postCode": "3189",
|
|
183
|
+
"country": "Australia"
|
|
184
|
+
},
|
|
185
|
+
"billingAddress": null,
|
|
186
|
+
"website": "",
|
|
187
|
+
"_links": [
|
|
188
|
+
{
|
|
189
|
+
"rel": "self",
|
|
190
|
+
"href": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604152"
|
|
191
|
+
}
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"uid": "3604155",
|
|
196
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604155",
|
|
197
|
+
"name": "Officeworks",
|
|
198
|
+
"types": [
|
|
199
|
+
"Supplier"
|
|
200
|
+
],
|
|
201
|
+
"firstName": "",
|
|
202
|
+
"lastName": "",
|
|
203
|
+
"phone": "",
|
|
204
|
+
"fax": "",
|
|
205
|
+
"position": "",
|
|
206
|
+
"notes": "",
|
|
207
|
+
"mobile": "",
|
|
208
|
+
"email": "",
|
|
209
|
+
"abn": "",
|
|
210
|
+
"ird": "",
|
|
211
|
+
"reportable": false,
|
|
212
|
+
"active": true,
|
|
213
|
+
"individual": false,
|
|
214
|
+
"shippingAddress": {
|
|
215
|
+
"addressLine1": "2/34 Church Street",
|
|
216
|
+
"addressLine2": "",
|
|
217
|
+
"suburb": "Brighton",
|
|
218
|
+
"state": "VIC",
|
|
219
|
+
"postCode": "3186",
|
|
220
|
+
"country": "Australia"
|
|
221
|
+
},
|
|
222
|
+
"billingAddress": null,
|
|
223
|
+
"website": "",
|
|
224
|
+
"_links": [
|
|
225
|
+
{
|
|
226
|
+
"rel": "self",
|
|
227
|
+
"href": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604155"
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"uid": "3604154",
|
|
233
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604154",
|
|
234
|
+
"name": "Origin Energy",
|
|
235
|
+
"types": [
|
|
236
|
+
"Supplier"
|
|
237
|
+
],
|
|
238
|
+
"firstName": "",
|
|
239
|
+
"lastName": "",
|
|
240
|
+
"phone": "",
|
|
241
|
+
"fax": "",
|
|
242
|
+
"position": "",
|
|
243
|
+
"notes": "",
|
|
244
|
+
"mobile": "",
|
|
245
|
+
"email": "",
|
|
246
|
+
"abn": "",
|
|
247
|
+
"ird": "",
|
|
248
|
+
"reportable": false,
|
|
249
|
+
"active": true,
|
|
250
|
+
"individual": false,
|
|
251
|
+
"shippingAddress": {
|
|
252
|
+
"addressLine1": "468 Nepean Highway",
|
|
253
|
+
"addressLine2": "",
|
|
254
|
+
"suburb": "Moorabbin",
|
|
255
|
+
"state": "VIC",
|
|
256
|
+
"postCode": "3189",
|
|
257
|
+
"country": "Australia"
|
|
258
|
+
},
|
|
259
|
+
"billingAddress": null,
|
|
260
|
+
"website": "",
|
|
261
|
+
"_links": [
|
|
262
|
+
{
|
|
263
|
+
"rel": "self",
|
|
264
|
+
"href": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604154"
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"uid": "3604151",
|
|
270
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604151",
|
|
271
|
+
"name": "Red Dragon",
|
|
272
|
+
"types": [
|
|
273
|
+
"Customer"
|
|
274
|
+
],
|
|
275
|
+
"firstName": "",
|
|
276
|
+
"lastName": "",
|
|
277
|
+
"phone": "",
|
|
278
|
+
"fax": "",
|
|
279
|
+
"position": "",
|
|
280
|
+
"notes": "",
|
|
281
|
+
"mobile": "",
|
|
282
|
+
"email": "",
|
|
283
|
+
"abn": "",
|
|
284
|
+
"ird": "",
|
|
285
|
+
"reportable": false,
|
|
286
|
+
"active": true,
|
|
287
|
+
"individual": false,
|
|
288
|
+
"shippingAddress": {
|
|
289
|
+
"addressLine1": "42 South Road",
|
|
290
|
+
"addressLine2": "",
|
|
291
|
+
"suburb": "Ashwood",
|
|
292
|
+
"state": "VIC",
|
|
293
|
+
"postCode": "3167",
|
|
294
|
+
"country": "Australia"
|
|
295
|
+
},
|
|
296
|
+
"billingAddress": null,
|
|
297
|
+
"website": "",
|
|
298
|
+
"_links": [
|
|
299
|
+
{
|
|
300
|
+
"rel": "self",
|
|
301
|
+
"href": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604151"
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"uid": "3604157",
|
|
307
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604157",
|
|
308
|
+
"name": "South East Water",
|
|
309
|
+
"types": [
|
|
310
|
+
"Supplier"
|
|
311
|
+
],
|
|
312
|
+
"firstName": "",
|
|
313
|
+
"lastName": "",
|
|
314
|
+
"phone": "",
|
|
315
|
+
"fax": "",
|
|
316
|
+
"position": "",
|
|
317
|
+
"notes": "",
|
|
318
|
+
"mobile": "",
|
|
319
|
+
"email": "",
|
|
320
|
+
"abn": "",
|
|
321
|
+
"ird": "",
|
|
322
|
+
"reportable": false,
|
|
323
|
+
"active": true,
|
|
324
|
+
"individual": false,
|
|
325
|
+
"shippingAddress": {
|
|
326
|
+
"addressLine1": "204 Warrigal Road",
|
|
327
|
+
"addressLine2": "",
|
|
328
|
+
"suburb": "Oakleigh",
|
|
329
|
+
"state": "VIC",
|
|
330
|
+
"postCode": "3166",
|
|
331
|
+
"country": "Australia"
|
|
332
|
+
},
|
|
333
|
+
"billingAddress": null,
|
|
334
|
+
"website": "",
|
|
335
|
+
"_links": [
|
|
336
|
+
{
|
|
337
|
+
"rel": "self",
|
|
338
|
+
"href": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604157"
|
|
339
|
+
}
|
|
340
|
+
]
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"uid": "3604153",
|
|
344
|
+
"uri": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604153",
|
|
345
|
+
"name": "Telstra",
|
|
346
|
+
"types": [
|
|
347
|
+
"Supplier"
|
|
348
|
+
],
|
|
349
|
+
"firstName": "",
|
|
350
|
+
"lastName": "",
|
|
351
|
+
"phone": "",
|
|
352
|
+
"fax": "",
|
|
353
|
+
"position": "",
|
|
354
|
+
"notes": "",
|
|
355
|
+
"mobile": "",
|
|
356
|
+
"email": "",
|
|
357
|
+
"abn": "",
|
|
358
|
+
"ird": "",
|
|
359
|
+
"reportable": false,
|
|
360
|
+
"active": true,
|
|
361
|
+
"individual": false,
|
|
362
|
+
"shippingAddress": {
|
|
363
|
+
"addressLine1": "23 Nicholson Street",
|
|
364
|
+
"addressLine2": "",
|
|
365
|
+
"suburb": "Malvern",
|
|
366
|
+
"state": "VIC",
|
|
367
|
+
"postCode": "3167",
|
|
368
|
+
"country": "Australia"
|
|
369
|
+
},
|
|
370
|
+
"billingAddress": null,
|
|
371
|
+
"website": "",
|
|
372
|
+
"_links": [
|
|
373
|
+
{
|
|
374
|
+
"rel": "self",
|
|
375
|
+
"href": "https://api.myob.com/au/essentials/businesses/168254/contacts/3604153"
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
}
|
|
379
|
+
],
|
|
380
|
+
"page": {
|
|
381
|
+
"size": 400,
|
|
382
|
+
"totalElements": 10,
|
|
383
|
+
"totalPages": 1,
|
|
384
|
+
"number": 1
|
|
385
|
+
}
|
|
386
|
+
}
|