suitecrm-ruby 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +94 -0
- data/README.md +144 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/fixtures/vcr_cassettes/adds_relationship_to_module.yml +51 -0
- data/fixtures/vcr_cassettes/creates_a_module.yml +263 -0
- data/fixtures/vcr_cassettes/deletes_a_module.yml +512 -0
- data/fixtures/vcr_cassettes/deletes_module_relationship.yml +557 -0
- data/fixtures/vcr_cassettes/get_all_modules_of_type.yml +3789 -0
- data/fixtures/vcr_cassettes/gets_a_specific_module.yml +1353 -0
- data/fixtures/vcr_cassettes/gets_relationships_for_a_module.yml +879 -0
- data/fixtures/vcr_cassettes/updates_a_module.yml +440 -0
- data/lib/suitecrm-ruby.rb +23 -0
- data/lib/suitecrm/api_exception.rb +7 -0
- data/lib/suitecrm/configuration.rb +17 -0
- data/lib/suitecrm/connection.rb +109 -0
- data/lib/suitecrm/meta.rb +7 -0
- data/lib/suitecrm/module.rb +19 -0
- data/lib/suitecrm/modules.rb +7 -0
- data/lib/suitecrm/relationship.rb +15 -0
- data/lib/suitecrm/version.rb +3 -0
- data/suitecrm-ruby.gemspec +38 -0
- metadata +243 -0
@@ -0,0 +1,879 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://18.236.231.13/suite/Api/V8/module/Contacts/669d86ed-e5a3-7605-0d68-60c22f69743a/relationships/fp_events_contacts
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "{}"
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjI3OGQ0NjYyNmNiZTQ3OTg3NjNjY2QxYzk5MTRiYzcxZDkzMDRhNWM4ZTZkMWVmNzZlNDgyMDE2NmRlMmJhODI1YjI5YjhhODM3ODhkNDI2In0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiIyNzhkNDY2MjZjYmU0Nzk4NzYzY2NkMWM5OTE0YmM3MWQ5MzA0YTVjOGU2ZDFlZjc2ZTQ4MjAxNjZkZTJiYTgyNWIyOWI4YTgzNzg4ZDQyNiIsImlhdCI6MTYyNjgwNTQ2MiwibmJmIjoxNjI2ODA1NDYyLCJleHAiOjE2MjY4MDkwNjIsInN1YiI6IiIsInNjb3BlcyI6W119.rU7E_ZMDLwYvCdFGPMpoKoYJI9TiBz8Cwdj3e-Rb4aJl-5Ay3bzAGnn5_syWa0XARakPez3cR3lTS3kf3GnGMhdf_tuXG4i-NCQB-vzW8Ci-ITbSE4x99uR1_JY958mg-uYtxi6Vbrxa7X6c-Bs9UDL6XQKJrESNUC05yXtlYPVS0LS7hgwEUIzQ6FBsA3O1ZOEsKzigaoi5VxOs5ZdL8xn9fRtxs8iFnKlGFWDEA_isYS0LUFlNHANY-HnXBxzhKGlCWGTWW0Ja-jaw1LfC-FMEkg4PYUDf__Fbmf21cY429jrAyZVXEAosq6LSSB_WjwuU-RY5AVvi84dFuigBdw
|
12
|
+
User-Agent:
|
13
|
+
- Faraday v1.5.1
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Tue, 20 Jul 2021 18:49:34 GMT
|
27
|
+
Server:
|
28
|
+
- Apache/2.4.41 (Ubuntu)
|
29
|
+
Access-Control-Allow-Origin:
|
30
|
+
- "*"
|
31
|
+
Access-Control-Allow-Methods:
|
32
|
+
- POST, GET, OPTIONS, PUT, DELETE
|
33
|
+
Access-Control-Allow-Headers:
|
34
|
+
- Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
|
35
|
+
Accept:
|
36
|
+
- application/vnd.api+json
|
37
|
+
Content-Length:
|
38
|
+
- '1900'
|
39
|
+
Content-Type:
|
40
|
+
- application/vnd.api+json
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: |-
|
44
|
+
{
|
45
|
+
"meta": {
|
46
|
+
"total-records": 1,
|
47
|
+
"total-pages": 1,
|
48
|
+
"records-on-this-page": 1
|
49
|
+
},
|
50
|
+
"data": [
|
51
|
+
{
|
52
|
+
"type": "FP_events",
|
53
|
+
"id": "3984f494-e149-88e1-8c69-60f71a1202d4",
|
54
|
+
"attributes": {
|
55
|
+
"name": "bim boom",
|
56
|
+
"date_entered": "2021-07-20T18:47:00+00:00",
|
57
|
+
"date_modified": "2021-07-20T18:47:00+00:00",
|
58
|
+
"modified_user_id": "1",
|
59
|
+
"modified_by_name": "Dino Simone",
|
60
|
+
"created_by": "1",
|
61
|
+
"created_by_name": "Dino Simone",
|
62
|
+
"description": "",
|
63
|
+
"deleted": "0",
|
64
|
+
"created_by_link": "",
|
65
|
+
"modified_user_link": "",
|
66
|
+
"assigned_user_id": "1",
|
67
|
+
"assigned_user_name": "Dino Simone",
|
68
|
+
"assigned_user_link": "",
|
69
|
+
"SecurityGroups": "",
|
70
|
+
"duration_hours": "0",
|
71
|
+
"duration_minutes": "",
|
72
|
+
"date_start": "2021-07-20T12:45:00+00:00",
|
73
|
+
"date_end": "2021-07-20T13:45:00+00:00",
|
74
|
+
"link": "",
|
75
|
+
"link_declined": "",
|
76
|
+
"budget": "",
|
77
|
+
"currency_id": "",
|
78
|
+
"duration": "",
|
79
|
+
"invite_templates": "",
|
80
|
+
"accept_redirect": "",
|
81
|
+
"decline_redirect": "",
|
82
|
+
"fp_events_contacts": "",
|
83
|
+
"fp_events_prospects_1": "",
|
84
|
+
"fp_events_leads_1": "",
|
85
|
+
"fp_event_locations_fp_events_1": "",
|
86
|
+
"fp_event_locations_fp_events_1_name": "",
|
87
|
+
"fp_event_locations_fp_events_1fp_event_locations_ida": "",
|
88
|
+
"activity_status_type": ""
|
89
|
+
},
|
90
|
+
"links": {
|
91
|
+
"self": "V8/module/FP_events/3984f494-e149-88e1-8c69-60f71a1202d4"
|
92
|
+
}
|
93
|
+
}
|
94
|
+
]
|
95
|
+
}
|
96
|
+
recorded_at: Tue, 20 Jul 2021 18:49:34 GMT
|
97
|
+
- request:
|
98
|
+
method: post
|
99
|
+
uri: http://18.236.231.13/suite/Api/V8/module/Contacts/9aa58bdf-574c-5d18-f9c4-60f72483ef6d/relationships
|
100
|
+
body:
|
101
|
+
encoding: UTF-8
|
102
|
+
string: '{"data":{"type":"FP_events","id":"dcc023bd-6222-79e2-bc41-60f72483d055"}}'
|
103
|
+
headers:
|
104
|
+
Authorization:
|
105
|
+
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjNhOTI0ZGJiYWJmNjg5ZWM4NGM5MDRlMjAwYjYzNDZiN2Y0MzMzNzIwNTk4Y2QwMTcxZWVjMWE0YjVlNGRlM2IwNmUzMGRjN2JkNzc2YjE1In0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiIzYTkyNGRiYmFiZjY4OWVjODRjOTA0ZTIwMGI2MzQ2YjdmNDMzMzcyMDU5OGNkMDE3MWVlYzFhNGI1ZTRkZTNiMDZlMzBkYzdiZDc3NmIxNSIsImlhdCI6MTYyNjgwOTQ1NiwibmJmIjoxNjI2ODA5NDU2LCJleHAiOjE2MjY4MTMwNTYsInN1YiI6IiIsInNjb3BlcyI6W119.nEgGhHQufwFkFhMQAsPlA-J6ka8ISp_G0lD60_1KlUlS8QVDHfdXh7r_S1hcKkavmf8qxipxBvYtuj1rPpJ5eHCPTYpC44ErCjguA3e8uqcJ8jhJ1C3mLGpZ9zh2sHR1JGF9rrzkry2Hd55PxFEzoPPLBp_yxVeJIHKTwET-WpvgyKTm4cCOEqTUAwdaNYF43oAQX13qX3bKtqBW3seLNhTg8wootGQUxhdjkWYqGb0_ywVckopk_1zKAEq1oh2cydBU84giDXzLc46Obd20DNyx7npqZ1GySWAYv3rXtBYq2U2_Vq0E4VDgP5yxZLyy8Zn7fVe4XviObP7yj1U2Gg
|
106
|
+
User-Agent:
|
107
|
+
- Faraday v1.5.1
|
108
|
+
Content-Type:
|
109
|
+
- application/json
|
110
|
+
Accept-Encoding:
|
111
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
112
|
+
Accept:
|
113
|
+
- "*/*"
|
114
|
+
response:
|
115
|
+
status:
|
116
|
+
code: 201
|
117
|
+
message: Created
|
118
|
+
headers:
|
119
|
+
Date:
|
120
|
+
- Tue, 20 Jul 2021 19:30:57 GMT
|
121
|
+
Server:
|
122
|
+
- Apache/2.4.41 (Ubuntu)
|
123
|
+
Access-Control-Allow-Origin:
|
124
|
+
- "*"
|
125
|
+
Access-Control-Allow-Methods:
|
126
|
+
- POST, GET, OPTIONS, PUT, DELETE
|
127
|
+
Access-Control-Allow-Headers:
|
128
|
+
- Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
|
129
|
+
Accept:
|
130
|
+
- application/vnd.api+json
|
131
|
+
Content-Length:
|
132
|
+
- '186'
|
133
|
+
Content-Type:
|
134
|
+
- application/vnd.api+json
|
135
|
+
body:
|
136
|
+
encoding: UTF-8
|
137
|
+
string: |-
|
138
|
+
{
|
139
|
+
"meta": {
|
140
|
+
"message": "FP_events with id dcc023bd-6222-79e2-bc41-60f72483d055 has been added to Contact with id 9aa58bdf-574c-5d18-f9c4-60f72483ef6d"
|
141
|
+
},
|
142
|
+
"data": []
|
143
|
+
}
|
144
|
+
recorded_at: Tue, 20 Jul 2021 19:30:57 GMT
|
145
|
+
- request:
|
146
|
+
method: get
|
147
|
+
uri: http://18.236.231.13/suite/Api/V8/module/Contacts/9aa58bdf-574c-5d18-f9c4-60f72483ef6d/relationships/fp_events_contacts
|
148
|
+
body:
|
149
|
+
encoding: UTF-8
|
150
|
+
string: "{}"
|
151
|
+
headers:
|
152
|
+
Authorization:
|
153
|
+
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjNhOTI0ZGJiYWJmNjg5ZWM4NGM5MDRlMjAwYjYzNDZiN2Y0MzMzNzIwNTk4Y2QwMTcxZWVjMWE0YjVlNGRlM2IwNmUzMGRjN2JkNzc2YjE1In0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiIzYTkyNGRiYmFiZjY4OWVjODRjOTA0ZTIwMGI2MzQ2YjdmNDMzMzcyMDU5OGNkMDE3MWVlYzFhNGI1ZTRkZTNiMDZlMzBkYzdiZDc3NmIxNSIsImlhdCI6MTYyNjgwOTQ1NiwibmJmIjoxNjI2ODA5NDU2LCJleHAiOjE2MjY4MTMwNTYsInN1YiI6IiIsInNjb3BlcyI6W119.nEgGhHQufwFkFhMQAsPlA-J6ka8ISp_G0lD60_1KlUlS8QVDHfdXh7r_S1hcKkavmf8qxipxBvYtuj1rPpJ5eHCPTYpC44ErCjguA3e8uqcJ8jhJ1C3mLGpZ9zh2sHR1JGF9rrzkry2Hd55PxFEzoPPLBp_yxVeJIHKTwET-WpvgyKTm4cCOEqTUAwdaNYF43oAQX13qX3bKtqBW3seLNhTg8wootGQUxhdjkWYqGb0_ywVckopk_1zKAEq1oh2cydBU84giDXzLc46Obd20DNyx7npqZ1GySWAYv3rXtBYq2U2_Vq0E4VDgP5yxZLyy8Zn7fVe4XviObP7yj1U2Gg
|
154
|
+
User-Agent:
|
155
|
+
- Faraday v1.5.1
|
156
|
+
Content-Type:
|
157
|
+
- application/json
|
158
|
+
Accept-Encoding:
|
159
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
160
|
+
Accept:
|
161
|
+
- "*/*"
|
162
|
+
response:
|
163
|
+
status:
|
164
|
+
code: 200
|
165
|
+
message: OK
|
166
|
+
headers:
|
167
|
+
Date:
|
168
|
+
- Tue, 20 Jul 2021 19:30:57 GMT
|
169
|
+
Server:
|
170
|
+
- Apache/2.4.41 (Ubuntu)
|
171
|
+
Access-Control-Allow-Origin:
|
172
|
+
- "*"
|
173
|
+
Access-Control-Allow-Methods:
|
174
|
+
- POST, GET, OPTIONS, PUT, DELETE
|
175
|
+
Access-Control-Allow-Headers:
|
176
|
+
- Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
|
177
|
+
Accept:
|
178
|
+
- application/vnd.api+json
|
179
|
+
Content-Length:
|
180
|
+
- '1898'
|
181
|
+
Content-Type:
|
182
|
+
- application/vnd.api+json
|
183
|
+
body:
|
184
|
+
encoding: UTF-8
|
185
|
+
string: |-
|
186
|
+
{
|
187
|
+
"meta": {
|
188
|
+
"total-records": 1,
|
189
|
+
"total-pages": 1,
|
190
|
+
"records-on-this-page": 1
|
191
|
+
},
|
192
|
+
"data": [
|
193
|
+
{
|
194
|
+
"type": "FP_events",
|
195
|
+
"id": "dcc023bd-6222-79e2-bc41-60f72483d055",
|
196
|
+
"attributes": {
|
197
|
+
"name": "Another Fake Event",
|
198
|
+
"date_entered": "2021-07-20T19:30:00+00:00",
|
199
|
+
"date_modified": "2021-07-20T19:30:00+00:00",
|
200
|
+
"modified_user_id": "1",
|
201
|
+
"modified_by_name": "Dino Simone",
|
202
|
+
"created_by": "1",
|
203
|
+
"created_by_name": "Dino Simone",
|
204
|
+
"description": "",
|
205
|
+
"deleted": "0",
|
206
|
+
"created_by_link": "",
|
207
|
+
"modified_user_link": "",
|
208
|
+
"assigned_user_id": "",
|
209
|
+
"assigned_user_name": "",
|
210
|
+
"assigned_user_link": "",
|
211
|
+
"SecurityGroups": "",
|
212
|
+
"duration_hours": "0",
|
213
|
+
"duration_minutes": "",
|
214
|
+
"date_start": "2021-07-20T12:45:00+00:00",
|
215
|
+
"date_end": "2021-07-20T13:45:00+00:00",
|
216
|
+
"link": "",
|
217
|
+
"link_declined": "",
|
218
|
+
"budget": "",
|
219
|
+
"currency_id": "",
|
220
|
+
"duration": "",
|
221
|
+
"invite_templates": "",
|
222
|
+
"accept_redirect": "",
|
223
|
+
"decline_redirect": "",
|
224
|
+
"fp_events_contacts": "",
|
225
|
+
"fp_events_prospects_1": "",
|
226
|
+
"fp_events_leads_1": "",
|
227
|
+
"fp_event_locations_fp_events_1": "",
|
228
|
+
"fp_event_locations_fp_events_1_name": "",
|
229
|
+
"fp_event_locations_fp_events_1fp_event_locations_ida": "",
|
230
|
+
"activity_status_type": ""
|
231
|
+
},
|
232
|
+
"links": {
|
233
|
+
"self": "V8/module/FP_events/dcc023bd-6222-79e2-bc41-60f72483d055"
|
234
|
+
}
|
235
|
+
}
|
236
|
+
]
|
237
|
+
}
|
238
|
+
recorded_at: Tue, 20 Jul 2021 19:30:57 GMT
|
239
|
+
- request:
|
240
|
+
method: post
|
241
|
+
uri: http://18.236.231.13/suite/Api/V8/module/Contacts/13c15df1-116b-19e6-c060-60f724c7e770/relationships
|
242
|
+
body:
|
243
|
+
encoding: UTF-8
|
244
|
+
string: '{"data":{"type":"FP_events","id":"539c8bc2-d1c8-12e6-36a7-60f7244bfc6d"}}'
|
245
|
+
headers:
|
246
|
+
Authorization:
|
247
|
+
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM3YTJiMmRlMjQwNjhhMTUxMzBhMDM3MzUwZjA4MDBhNzUzOTYzOWM5M2FkMTc3MTNkNjU0OTgzZTI4ZTk1MWFlMGRjMmQ4YmE2Y2NiZmVkIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiIzN2EyYjJkZTI0MDY4YTE1MTMwYTAzNzM1MGYwODAwYTc1Mzk2MzljOTNhZDE3NzEzZDY1NDk4M2UyOGU5NTFhZTBkYzJkOGJhNmNjYmZlZCIsImlhdCI6MTYyNjgwOTQ3MCwibmJmIjoxNjI2ODA5NDcwLCJleHAiOjE2MjY4MTMwNzAsInN1YiI6IiIsInNjb3BlcyI6W119.SGnNcsy0dlitcn4goT3KhOvN0bmuOgiJ88otAdgnldkqOza0p8GAJcdxBJEl82uReoVm64WYs-eDYgscEzdeEO_Nd3bNh8pjB0o_G3a6F_1DA9XuUZ5kjEv98_j9gtcRvuej_DaaJG1pNUgMR7lpAAR-pOtoBuSPx0yFDGA0Uwnki4FSnim02OFTn01MoHs3Vb7R7c2MIbiLp5iLgtZN57U6NVIh-bdR1XsB8HZ_Sjnn27kku8QyXeWhCJXD59AyTGx1-Hhz_fl-TNs9YeBHM__cWgXtAC4UFavYEn_hZcZM0vocUGC-fGg5ZnMEmGXDQUtZGhpwLbYEm1YwUIDOGg
|
248
|
+
User-Agent:
|
249
|
+
- Faraday v1.5.1
|
250
|
+
Content-Type:
|
251
|
+
- application/json
|
252
|
+
Accept-Encoding:
|
253
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
254
|
+
Accept:
|
255
|
+
- "*/*"
|
256
|
+
response:
|
257
|
+
status:
|
258
|
+
code: 201
|
259
|
+
message: Created
|
260
|
+
headers:
|
261
|
+
Date:
|
262
|
+
- Tue, 20 Jul 2021 19:31:11 GMT
|
263
|
+
Server:
|
264
|
+
- Apache/2.4.41 (Ubuntu)
|
265
|
+
Access-Control-Allow-Origin:
|
266
|
+
- "*"
|
267
|
+
Access-Control-Allow-Methods:
|
268
|
+
- POST, GET, OPTIONS, PUT, DELETE
|
269
|
+
Access-Control-Allow-Headers:
|
270
|
+
- Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
|
271
|
+
Accept:
|
272
|
+
- application/vnd.api+json
|
273
|
+
Content-Length:
|
274
|
+
- '186'
|
275
|
+
Content-Type:
|
276
|
+
- application/vnd.api+json
|
277
|
+
body:
|
278
|
+
encoding: UTF-8
|
279
|
+
string: |-
|
280
|
+
{
|
281
|
+
"meta": {
|
282
|
+
"message": "FP_events with id 539c8bc2-d1c8-12e6-36a7-60f7244bfc6d has been added to Contact with id 13c15df1-116b-19e6-c060-60f724c7e770"
|
283
|
+
},
|
284
|
+
"data": []
|
285
|
+
}
|
286
|
+
recorded_at: Tue, 20 Jul 2021 19:31:11 GMT
|
287
|
+
- request:
|
288
|
+
method: get
|
289
|
+
uri: http://18.236.231.13/suite/Api/V8/module/Contacts/13c15df1-116b-19e6-c060-60f724c7e770/relationships/fp_events_contacts
|
290
|
+
body:
|
291
|
+
encoding: UTF-8
|
292
|
+
string: "{}"
|
293
|
+
headers:
|
294
|
+
Authorization:
|
295
|
+
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM3YTJiMmRlMjQwNjhhMTUxMzBhMDM3MzUwZjA4MDBhNzUzOTYzOWM5M2FkMTc3MTNkNjU0OTgzZTI4ZTk1MWFlMGRjMmQ4YmE2Y2NiZmVkIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiIzN2EyYjJkZTI0MDY4YTE1MTMwYTAzNzM1MGYwODAwYTc1Mzk2MzljOTNhZDE3NzEzZDY1NDk4M2UyOGU5NTFhZTBkYzJkOGJhNmNjYmZlZCIsImlhdCI6MTYyNjgwOTQ3MCwibmJmIjoxNjI2ODA5NDcwLCJleHAiOjE2MjY4MTMwNzAsInN1YiI6IiIsInNjb3BlcyI6W119.SGnNcsy0dlitcn4goT3KhOvN0bmuOgiJ88otAdgnldkqOza0p8GAJcdxBJEl82uReoVm64WYs-eDYgscEzdeEO_Nd3bNh8pjB0o_G3a6F_1DA9XuUZ5kjEv98_j9gtcRvuej_DaaJG1pNUgMR7lpAAR-pOtoBuSPx0yFDGA0Uwnki4FSnim02OFTn01MoHs3Vb7R7c2MIbiLp5iLgtZN57U6NVIh-bdR1XsB8HZ_Sjnn27kku8QyXeWhCJXD59AyTGx1-Hhz_fl-TNs9YeBHM__cWgXtAC4UFavYEn_hZcZM0vocUGC-fGg5ZnMEmGXDQUtZGhpwLbYEm1YwUIDOGg
|
296
|
+
User-Agent:
|
297
|
+
- Faraday v1.5.1
|
298
|
+
Content-Type:
|
299
|
+
- application/json
|
300
|
+
Accept-Encoding:
|
301
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
302
|
+
Accept:
|
303
|
+
- "*/*"
|
304
|
+
response:
|
305
|
+
status:
|
306
|
+
code: 200
|
307
|
+
message: OK
|
308
|
+
headers:
|
309
|
+
Date:
|
310
|
+
- Tue, 20 Jul 2021 19:31:11 GMT
|
311
|
+
Server:
|
312
|
+
- Apache/2.4.41 (Ubuntu)
|
313
|
+
Access-Control-Allow-Origin:
|
314
|
+
- "*"
|
315
|
+
Access-Control-Allow-Methods:
|
316
|
+
- POST, GET, OPTIONS, PUT, DELETE
|
317
|
+
Access-Control-Allow-Headers:
|
318
|
+
- Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
|
319
|
+
Accept:
|
320
|
+
- application/vnd.api+json
|
321
|
+
Content-Length:
|
322
|
+
- '1898'
|
323
|
+
Content-Type:
|
324
|
+
- application/vnd.api+json
|
325
|
+
body:
|
326
|
+
encoding: UTF-8
|
327
|
+
string: |-
|
328
|
+
{
|
329
|
+
"meta": {
|
330
|
+
"total-records": 1,
|
331
|
+
"total-pages": 1,
|
332
|
+
"records-on-this-page": 1
|
333
|
+
},
|
334
|
+
"data": [
|
335
|
+
{
|
336
|
+
"type": "FP_events",
|
337
|
+
"id": "539c8bc2-d1c8-12e6-36a7-60f7244bfc6d",
|
338
|
+
"attributes": {
|
339
|
+
"name": "Another Fake Event",
|
340
|
+
"date_entered": "2021-07-20T19:31:00+00:00",
|
341
|
+
"date_modified": "2021-07-20T19:31:00+00:00",
|
342
|
+
"modified_user_id": "1",
|
343
|
+
"modified_by_name": "Dino Simone",
|
344
|
+
"created_by": "1",
|
345
|
+
"created_by_name": "Dino Simone",
|
346
|
+
"description": "",
|
347
|
+
"deleted": "0",
|
348
|
+
"created_by_link": "",
|
349
|
+
"modified_user_link": "",
|
350
|
+
"assigned_user_id": "",
|
351
|
+
"assigned_user_name": "",
|
352
|
+
"assigned_user_link": "",
|
353
|
+
"SecurityGroups": "",
|
354
|
+
"duration_hours": "0",
|
355
|
+
"duration_minutes": "",
|
356
|
+
"date_start": "2021-07-20T12:45:00+00:00",
|
357
|
+
"date_end": "2021-07-20T13:45:00+00:00",
|
358
|
+
"link": "",
|
359
|
+
"link_declined": "",
|
360
|
+
"budget": "",
|
361
|
+
"currency_id": "",
|
362
|
+
"duration": "",
|
363
|
+
"invite_templates": "",
|
364
|
+
"accept_redirect": "",
|
365
|
+
"decline_redirect": "",
|
366
|
+
"fp_events_contacts": "",
|
367
|
+
"fp_events_prospects_1": "",
|
368
|
+
"fp_events_leads_1": "",
|
369
|
+
"fp_event_locations_fp_events_1": "",
|
370
|
+
"fp_event_locations_fp_events_1_name": "",
|
371
|
+
"fp_event_locations_fp_events_1fp_event_locations_ida": "",
|
372
|
+
"activity_status_type": ""
|
373
|
+
},
|
374
|
+
"links": {
|
375
|
+
"self": "V8/module/FP_events/539c8bc2-d1c8-12e6-36a7-60f7244bfc6d"
|
376
|
+
}
|
377
|
+
}
|
378
|
+
]
|
379
|
+
}
|
380
|
+
recorded_at: Tue, 20 Jul 2021 19:31:11 GMT
|
381
|
+
- request:
|
382
|
+
method: post
|
383
|
+
uri: http://18.236.231.13/suite/Api/access_token
|
384
|
+
body:
|
385
|
+
encoding: UTF-8
|
386
|
+
string: '{"grant_type":"client_credentials","client_id":"41fdff46-0499-ade8-f4d5-60eefcd2d5d6","client_secret":"VjB_S2PICeQTCKYJYGS8Eys_3NAdYydItUGs4S36SzxKslPXFKFApMPPlc_k6ajD"}'
|
387
|
+
headers:
|
388
|
+
User-Agent:
|
389
|
+
- Faraday v1.5.1
|
390
|
+
Content-Type:
|
391
|
+
- application/json
|
392
|
+
Accept-Encoding:
|
393
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
394
|
+
Accept:
|
395
|
+
- "*/*"
|
396
|
+
response:
|
397
|
+
status:
|
398
|
+
code: 200
|
399
|
+
message: OK
|
400
|
+
headers:
|
401
|
+
Date:
|
402
|
+
- Wed, 21 Jul 2021 14:51:47 GMT
|
403
|
+
Server:
|
404
|
+
- Apache/2.4.41 (Ubuntu)
|
405
|
+
Access-Control-Allow-Origin:
|
406
|
+
- "*"
|
407
|
+
Access-Control-Allow-Methods:
|
408
|
+
- POST, GET, OPTIONS, PUT, DELETE
|
409
|
+
Access-Control-Allow-Headers:
|
410
|
+
- Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
|
411
|
+
Pragma:
|
412
|
+
- no-cache
|
413
|
+
Cache-Control:
|
414
|
+
- no-store
|
415
|
+
Content-Length:
|
416
|
+
- '834'
|
417
|
+
Content-Type:
|
418
|
+
- application/json; charset=UTF-8
|
419
|
+
body:
|
420
|
+
encoding: UTF-8
|
421
|
+
string: '{"token_type":"Bearer","expires_in":3600,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjgxNmY1ZDNiZTY1YWE5Y2U1Mjk4NjVmYmEyYTI4YjVhNDhjOWIxNDQyMjZiOWUwYjE5NjNhYWNiYWUxMWE3Y2QyMWM3YjczOGJiMGIyNGIxIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiI4MTZmNWQzYmU2NWFhOWNlNTI5ODY1ZmJhMmEyOGI1YTQ4YzliMTQ0MjI2YjllMGIxOTYzYWFjYmFlMTFhN2NkMjFjN2I3MzhiYjBiMjRiMSIsImlhdCI6MTYyNjg3OTEwNywibmJmIjoxNjI2ODc5MTA3LCJleHAiOjE2MjY4ODI3MDcsInN1YiI6IiIsInNjb3BlcyI6W119.Sb-_Pe6f58mTadkfjD8U663YB9GswYAIO39bPpCYjTTub3om3W8HnimIIorlIK0HFupYU-FucuvXd1L7C1Cpvb2G7xHlydkJzCV8SKVjxJswCdbsKLp10rejRGCFeVT4EigvbWJrMrkFD909aUOUL3K0sOP3kppvvkwaQArORAofp6DRokYhY1jfO1EFzhtE1lNuGoMAY5QrI33-F2HnE37MeEe03DQz2uPBjStUbp5T2k-O96j03ew6I5U5A4gmRWuiEVfVMHnX4OgdYmreU0g9WZjCa_aGCH1uchbhZvZolko9TqcKttILPiknsxve2gVRRPMUouHbZMh9Bx_HCQ"}'
|
422
|
+
recorded_at: Wed, 21 Jul 2021 14:51:47 GMT
|
423
|
+
- request:
|
424
|
+
method: post
|
425
|
+
uri: http://18.236.231.13/suite/Api/V8/module
|
426
|
+
body:
|
427
|
+
encoding: UTF-8
|
428
|
+
string: '{"data":{"type":"Contacts","attributes":{"last_name":"API Tester"}}}'
|
429
|
+
headers:
|
430
|
+
Authorization:
|
431
|
+
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjgxNmY1ZDNiZTY1YWE5Y2U1Mjk4NjVmYmEyYTI4YjVhNDhjOWIxNDQyMjZiOWUwYjE5NjNhYWNiYWUxMWE3Y2QyMWM3YjczOGJiMGIyNGIxIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiI4MTZmNWQzYmU2NWFhOWNlNTI5ODY1ZmJhMmEyOGI1YTQ4YzliMTQ0MjI2YjllMGIxOTYzYWFjYmFlMTFhN2NkMjFjN2I3MzhiYjBiMjRiMSIsImlhdCI6MTYyNjg3OTEwNywibmJmIjoxNjI2ODc5MTA3LCJleHAiOjE2MjY4ODI3MDcsInN1YiI6IiIsInNjb3BlcyI6W119.Sb-_Pe6f58mTadkfjD8U663YB9GswYAIO39bPpCYjTTub3om3W8HnimIIorlIK0HFupYU-FucuvXd1L7C1Cpvb2G7xHlydkJzCV8SKVjxJswCdbsKLp10rejRGCFeVT4EigvbWJrMrkFD909aUOUL3K0sOP3kppvvkwaQArORAofp6DRokYhY1jfO1EFzhtE1lNuGoMAY5QrI33-F2HnE37MeEe03DQz2uPBjStUbp5T2k-O96j03ew6I5U5A4gmRWuiEVfVMHnX4OgdYmreU0g9WZjCa_aGCH1uchbhZvZolko9TqcKttILPiknsxve2gVRRPMUouHbZMh9Bx_HCQ
|
432
|
+
User-Agent:
|
433
|
+
- Faraday v1.5.1
|
434
|
+
Content-Type:
|
435
|
+
- application/json
|
436
|
+
Accept-Encoding:
|
437
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
438
|
+
Accept:
|
439
|
+
- "*/*"
|
440
|
+
response:
|
441
|
+
status:
|
442
|
+
code: 201
|
443
|
+
message: Created
|
444
|
+
headers:
|
445
|
+
Date:
|
446
|
+
- Wed, 21 Jul 2021 14:51:47 GMT
|
447
|
+
Server:
|
448
|
+
- Apache/2.4.41 (Ubuntu)
|
449
|
+
Access-Control-Allow-Origin:
|
450
|
+
- "*"
|
451
|
+
Access-Control-Allow-Methods:
|
452
|
+
- POST, GET, OPTIONS, PUT, DELETE
|
453
|
+
Access-Control-Allow-Headers:
|
454
|
+
- Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
|
455
|
+
Accept:
|
456
|
+
- application/vnd.api+json
|
457
|
+
Content-Length:
|
458
|
+
- '6283'
|
459
|
+
Content-Type:
|
460
|
+
- application/vnd.api+json
|
461
|
+
body:
|
462
|
+
encoding: UTF-8
|
463
|
+
string: |-
|
464
|
+
{
|
465
|
+
"data": {
|
466
|
+
"type": "Contact",
|
467
|
+
"id": "43457728-2d26-27ea-88ac-60f834219f71",
|
468
|
+
"attributes": {
|
469
|
+
"name": "API Tester",
|
470
|
+
"date_entered": "2021-07-21T14:51:00+00:00",
|
471
|
+
"date_modified": "2021-07-21T14:51:00+00:00",
|
472
|
+
"modified_user_id": "1",
|
473
|
+
"modified_by_name": "Dino Simone",
|
474
|
+
"created_by": "1",
|
475
|
+
"created_by_name": "Dino Simone",
|
476
|
+
"description": "",
|
477
|
+
"deleted": "0",
|
478
|
+
"created_by_link": "",
|
479
|
+
"modified_user_link": "",
|
480
|
+
"assigned_user_id": "",
|
481
|
+
"assigned_user_name": "",
|
482
|
+
"assigned_user_link": "",
|
483
|
+
"SecurityGroups": "",
|
484
|
+
"salutation": "",
|
485
|
+
"first_name": "",
|
486
|
+
"last_name": "API Tester",
|
487
|
+
"full_name": "API Tester",
|
488
|
+
"title": "",
|
489
|
+
"photo": "",
|
490
|
+
"department": "",
|
491
|
+
"do_not_call": "0",
|
492
|
+
"phone_home": "",
|
493
|
+
"email": "",
|
494
|
+
"phone_mobile": "",
|
495
|
+
"phone_work": "",
|
496
|
+
"phone_other": "",
|
497
|
+
"phone_fax": "",
|
498
|
+
"email1": "",
|
499
|
+
"email2": "",
|
500
|
+
"invalid_email": "",
|
501
|
+
"email_opt_out": "",
|
502
|
+
"lawful_basis": "",
|
503
|
+
"date_reviewed": "",
|
504
|
+
"lawful_basis_source": "",
|
505
|
+
"primary_address_street": "",
|
506
|
+
"primary_address_street_2": "",
|
507
|
+
"primary_address_street_3": "",
|
508
|
+
"primary_address_city": "",
|
509
|
+
"primary_address_state": "",
|
510
|
+
"primary_address_postalcode": "",
|
511
|
+
"primary_address_country": "",
|
512
|
+
"alt_address_street": "",
|
513
|
+
"alt_address_street_2": "",
|
514
|
+
"alt_address_street_3": "",
|
515
|
+
"alt_address_city": "",
|
516
|
+
"alt_address_state": "",
|
517
|
+
"alt_address_postalcode": "",
|
518
|
+
"alt_address_country": "",
|
519
|
+
"assistant": "",
|
520
|
+
"assistant_phone": "",
|
521
|
+
"email_addresses_primary": "",
|
522
|
+
"email_addresses": "",
|
523
|
+
"email_addresses_non_primary": "",
|
524
|
+
"email_and_name1": "",
|
525
|
+
"lead_source": "",
|
526
|
+
"account_name": "",
|
527
|
+
"account_id": "",
|
528
|
+
"opportunity_role_fields": "",
|
529
|
+
"opportunity_role_id": "",
|
530
|
+
"opportunity_role": "",
|
531
|
+
"reports_to_id": "",
|
532
|
+
"report_to_name": "",
|
533
|
+
"birthdate": "",
|
534
|
+
"accounts": "",
|
535
|
+
"reports_to_link": {},
|
536
|
+
"opportunities": "",
|
537
|
+
"bugs": "",
|
538
|
+
"calls": "",
|
539
|
+
"cases": "",
|
540
|
+
"direct_reports": "",
|
541
|
+
"emails": "",
|
542
|
+
"documents": "",
|
543
|
+
"leads": "",
|
544
|
+
"meetings": "",
|
545
|
+
"notes": "",
|
546
|
+
"project": "",
|
547
|
+
"project_resource": "",
|
548
|
+
"am_projecttemplates_resources": "",
|
549
|
+
"am_projecttemplates_contacts_1": "",
|
550
|
+
"tasks": "",
|
551
|
+
"tasks_parent": "",
|
552
|
+
"notes_parent": "",
|
553
|
+
"user_sync": {},
|
554
|
+
"campaign_id": "",
|
555
|
+
"campaign_name": "",
|
556
|
+
"campaigns": "",
|
557
|
+
"campaign_contacts": {},
|
558
|
+
"c_accept_status_fields": "",
|
559
|
+
"m_accept_status_fields": "",
|
560
|
+
"accept_status_id": "",
|
561
|
+
"accept_status_name": "",
|
562
|
+
"prospect_lists": "",
|
563
|
+
"sync_contact": "",
|
564
|
+
"fp_events_contacts": "",
|
565
|
+
"aos_quotes": "",
|
566
|
+
"aos_invoices": "",
|
567
|
+
"aos_contracts": "",
|
568
|
+
"e_invite_status_fields": "",
|
569
|
+
"event_status_name": "",
|
570
|
+
"event_invite_id": "",
|
571
|
+
"e_accept_status_fields": "",
|
572
|
+
"event_accept_status": "",
|
573
|
+
"event_status_id": "",
|
574
|
+
"project_contacts_1": "",
|
575
|
+
"aop_case_updates": "",
|
576
|
+
"joomla_account_id": "",
|
577
|
+
"portal_account_disabled": false,
|
578
|
+
"joomla_account_access": "",
|
579
|
+
"portal_user_type": "Single"
|
580
|
+
},
|
581
|
+
"relationships": {
|
582
|
+
"AM_ProjectTemplates": {
|
583
|
+
"links": {
|
584
|
+
"related": "V8/module/43457728-2d26-27ea-88ac-60f834219f71/relationships/am_projecttemplates_contacts_1"
|
585
|
+
}
|
586
|
+
},
|
587
|
+
"AOS_Contracts": {
|
588
|
+
"links": {
|
589
|
+
"related": "V8/module/43457728-2d26-27ea-88ac-60f834219f71/relationships/aos_contracts"
|
590
|
+
}
|
591
|
+
},
|
592
|
+
"AOS_Invoices": {
|
593
|
+
"links": {
|
594
|
+
"related": "V8/module/43457728-2d26-27ea-88ac-60f834219f71/relationships/aos_invoices"
|
595
|
+
}
|
596
|
+
},
|
597
|
+
"AOS_Quotes": {
|
598
|
+
"links": {
|
599
|
+
"related": "V8/module/43457728-2d26-27ea-88ac-60f834219f71/relationships/aos_quotes"
|
600
|
+
}
|
601
|
+
},
|
602
|
+
"CampaignLog": {
|
603
|
+
"links": {
|
604
|
+
"related": "V8/module/43457728-2d26-27ea-88ac-60f834219f71/relationships/campaigns"
|
605
|
+
}
|
606
|
+
},
|
607
|
+
"EmailAddress": {
|
608
|
+
"links": {
|
609
|
+
"related": "V8/module/43457728-2d26-27ea-88ac-60f834219f71/relationships/email_addresses"
|
610
|
+
}
|
611
|
+
},
|
612
|
+
"Opportunities": {
|
613
|
+
"links": {
|
614
|
+
"related": "V8/module/43457728-2d26-27ea-88ac-60f834219f71/relationships/opportunities"
|
615
|
+
}
|
616
|
+
},
|
617
|
+
"Project": {
|
618
|
+
"links": {
|
619
|
+
"related": "V8/module/43457728-2d26-27ea-88ac-60f834219f71/relationships/project_contacts_1"
|
620
|
+
}
|
621
|
+
},
|
622
|
+
"ProspectLists": {
|
623
|
+
"links": {
|
624
|
+
"related": "V8/module/43457728-2d26-27ea-88ac-60f834219f71/relationships/prospect_lists"
|
625
|
+
}
|
626
|
+
},
|
627
|
+
"SecurityGroups": {
|
628
|
+
"links": {
|
629
|
+
"related": "V8/module/43457728-2d26-27ea-88ac-60f834219f71/relationships/SecurityGroups"
|
630
|
+
}
|
631
|
+
},
|
632
|
+
"Users": {
|
633
|
+
"links": {
|
634
|
+
"related": "V8/module/43457728-2d26-27ea-88ac-60f834219f71/relationships/created_by_link"
|
635
|
+
}
|
636
|
+
}
|
637
|
+
}
|
638
|
+
}
|
639
|
+
}
|
640
|
+
recorded_at: Wed, 21 Jul 2021 14:51:47 GMT
|
641
|
+
- request:
|
642
|
+
method: post
|
643
|
+
uri: http://18.236.231.13/suite/Api/V8/module
|
644
|
+
body:
|
645
|
+
encoding: UTF-8
|
646
|
+
string: '{"data":{"type":"FP_events","attributes":{"name":"Another Fake Event"}}}'
|
647
|
+
headers:
|
648
|
+
Authorization:
|
649
|
+
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjgxNmY1ZDNiZTY1YWE5Y2U1Mjk4NjVmYmEyYTI4YjVhNDhjOWIxNDQyMjZiOWUwYjE5NjNhYWNiYWUxMWE3Y2QyMWM3YjczOGJiMGIyNGIxIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiI4MTZmNWQzYmU2NWFhOWNlNTI5ODY1ZmJhMmEyOGI1YTQ4YzliMTQ0MjI2YjllMGIxOTYzYWFjYmFlMTFhN2NkMjFjN2I3MzhiYjBiMjRiMSIsImlhdCI6MTYyNjg3OTEwNywibmJmIjoxNjI2ODc5MTA3LCJleHAiOjE2MjY4ODI3MDcsInN1YiI6IiIsInNjb3BlcyI6W119.Sb-_Pe6f58mTadkfjD8U663YB9GswYAIO39bPpCYjTTub3om3W8HnimIIorlIK0HFupYU-FucuvXd1L7C1Cpvb2G7xHlydkJzCV8SKVjxJswCdbsKLp10rejRGCFeVT4EigvbWJrMrkFD909aUOUL3K0sOP3kppvvkwaQArORAofp6DRokYhY1jfO1EFzhtE1lNuGoMAY5QrI33-F2HnE37MeEe03DQz2uPBjStUbp5T2k-O96j03ew6I5U5A4gmRWuiEVfVMHnX4OgdYmreU0g9WZjCa_aGCH1uchbhZvZolko9TqcKttILPiknsxve2gVRRPMUouHbZMh9Bx_HCQ
|
650
|
+
User-Agent:
|
651
|
+
- Faraday v1.5.1
|
652
|
+
Content-Type:
|
653
|
+
- application/json
|
654
|
+
Accept-Encoding:
|
655
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
656
|
+
Accept:
|
657
|
+
- "*/*"
|
658
|
+
response:
|
659
|
+
status:
|
660
|
+
code: 201
|
661
|
+
message: Created
|
662
|
+
headers:
|
663
|
+
Date:
|
664
|
+
- Wed, 21 Jul 2021 14:51:47 GMT
|
665
|
+
Server:
|
666
|
+
- Apache/2.4.41 (Ubuntu)
|
667
|
+
Access-Control-Allow-Origin:
|
668
|
+
- "*"
|
669
|
+
Access-Control-Allow-Methods:
|
670
|
+
- POST, GET, OPTIONS, PUT, DELETE
|
671
|
+
Access-Control-Allow-Headers:
|
672
|
+
- Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
|
673
|
+
Accept:
|
674
|
+
- application/vnd.api+json
|
675
|
+
Content-Length:
|
676
|
+
- '1927'
|
677
|
+
Content-Type:
|
678
|
+
- application/vnd.api+json
|
679
|
+
body:
|
680
|
+
encoding: UTF-8
|
681
|
+
string: |-
|
682
|
+
{
|
683
|
+
"data": {
|
684
|
+
"type": "FP_events",
|
685
|
+
"id": "7f4d7ee8-497a-ad87-7395-60f8349fa974",
|
686
|
+
"attributes": {
|
687
|
+
"name": "Another Fake Event",
|
688
|
+
"date_entered": "2021-07-21T14:51:00+00:00",
|
689
|
+
"date_modified": "2021-07-21T14:51:00+00:00",
|
690
|
+
"modified_user_id": "1",
|
691
|
+
"modified_by_name": "Dino Simone",
|
692
|
+
"created_by": "1",
|
693
|
+
"created_by_name": "Dino Simone",
|
694
|
+
"description": "",
|
695
|
+
"deleted": "0",
|
696
|
+
"created_by_link": "",
|
697
|
+
"modified_user_link": "",
|
698
|
+
"assigned_user_id": "",
|
699
|
+
"assigned_user_name": "",
|
700
|
+
"assigned_user_link": "",
|
701
|
+
"SecurityGroups": "",
|
702
|
+
"duration_hours": "0",
|
703
|
+
"duration_minutes": "",
|
704
|
+
"date_start": "2021-07-21T12:45:00+00:00",
|
705
|
+
"date_end": "2021-07-21T13:45:00+00:00",
|
706
|
+
"link": "",
|
707
|
+
"link_declined": "",
|
708
|
+
"budget": "",
|
709
|
+
"currency_id": "",
|
710
|
+
"duration": "",
|
711
|
+
"invite_templates": "",
|
712
|
+
"accept_redirect": "",
|
713
|
+
"decline_redirect": "",
|
714
|
+
"fp_events_contacts": "",
|
715
|
+
"fp_events_prospects_1": "",
|
716
|
+
"fp_events_leads_1": "",
|
717
|
+
"fp_event_locations_fp_events_1": "",
|
718
|
+
"fp_event_locations_fp_events_1_name": "",
|
719
|
+
"fp_event_locations_fp_events_1fp_event_locations_ida": "",
|
720
|
+
"activity_status_type": ""
|
721
|
+
},
|
722
|
+
"relationships": {
|
723
|
+
"SecurityGroups": {
|
724
|
+
"links": {
|
725
|
+
"related": "V8/module/7f4d7ee8-497a-ad87-7395-60f8349fa974/relationships/SecurityGroups"
|
726
|
+
}
|
727
|
+
},
|
728
|
+
"Users": {
|
729
|
+
"links": {
|
730
|
+
"related": "V8/module/7f4d7ee8-497a-ad87-7395-60f8349fa974/relationships/created_by_link"
|
731
|
+
}
|
732
|
+
}
|
733
|
+
}
|
734
|
+
}
|
735
|
+
}
|
736
|
+
recorded_at: Wed, 21 Jul 2021 14:51:47 GMT
|
737
|
+
- request:
|
738
|
+
method: post
|
739
|
+
uri: http://18.236.231.13/suite/Api/V8/module/Contacts/43457728-2d26-27ea-88ac-60f834219f71/relationships
|
740
|
+
body:
|
741
|
+
encoding: UTF-8
|
742
|
+
string: '{"data":{"type":"FP_events","id":"7f4d7ee8-497a-ad87-7395-60f8349fa974"}}'
|
743
|
+
headers:
|
744
|
+
Authorization:
|
745
|
+
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjgxNmY1ZDNiZTY1YWE5Y2U1Mjk4NjVmYmEyYTI4YjVhNDhjOWIxNDQyMjZiOWUwYjE5NjNhYWNiYWUxMWE3Y2QyMWM3YjczOGJiMGIyNGIxIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiI4MTZmNWQzYmU2NWFhOWNlNTI5ODY1ZmJhMmEyOGI1YTQ4YzliMTQ0MjI2YjllMGIxOTYzYWFjYmFlMTFhN2NkMjFjN2I3MzhiYjBiMjRiMSIsImlhdCI6MTYyNjg3OTEwNywibmJmIjoxNjI2ODc5MTA3LCJleHAiOjE2MjY4ODI3MDcsInN1YiI6IiIsInNjb3BlcyI6W119.Sb-_Pe6f58mTadkfjD8U663YB9GswYAIO39bPpCYjTTub3om3W8HnimIIorlIK0HFupYU-FucuvXd1L7C1Cpvb2G7xHlydkJzCV8SKVjxJswCdbsKLp10rejRGCFeVT4EigvbWJrMrkFD909aUOUL3K0sOP3kppvvkwaQArORAofp6DRokYhY1jfO1EFzhtE1lNuGoMAY5QrI33-F2HnE37MeEe03DQz2uPBjStUbp5T2k-O96j03ew6I5U5A4gmRWuiEVfVMHnX4OgdYmreU0g9WZjCa_aGCH1uchbhZvZolko9TqcKttILPiknsxve2gVRRPMUouHbZMh9Bx_HCQ
|
746
|
+
User-Agent:
|
747
|
+
- Faraday v1.5.1
|
748
|
+
Content-Type:
|
749
|
+
- application/json
|
750
|
+
Accept-Encoding:
|
751
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
752
|
+
Accept:
|
753
|
+
- "*/*"
|
754
|
+
response:
|
755
|
+
status:
|
756
|
+
code: 201
|
757
|
+
message: Created
|
758
|
+
headers:
|
759
|
+
Date:
|
760
|
+
- Wed, 21 Jul 2021 14:51:47 GMT
|
761
|
+
Server:
|
762
|
+
- Apache/2.4.41 (Ubuntu)
|
763
|
+
Access-Control-Allow-Origin:
|
764
|
+
- "*"
|
765
|
+
Access-Control-Allow-Methods:
|
766
|
+
- POST, GET, OPTIONS, PUT, DELETE
|
767
|
+
Access-Control-Allow-Headers:
|
768
|
+
- Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
|
769
|
+
Accept:
|
770
|
+
- application/vnd.api+json
|
771
|
+
Content-Length:
|
772
|
+
- '186'
|
773
|
+
Content-Type:
|
774
|
+
- application/vnd.api+json
|
775
|
+
body:
|
776
|
+
encoding: UTF-8
|
777
|
+
string: |-
|
778
|
+
{
|
779
|
+
"meta": {
|
780
|
+
"message": "FP_events with id 7f4d7ee8-497a-ad87-7395-60f8349fa974 has been added to Contact with id 43457728-2d26-27ea-88ac-60f834219f71"
|
781
|
+
},
|
782
|
+
"data": []
|
783
|
+
}
|
784
|
+
recorded_at: Wed, 21 Jul 2021 14:51:47 GMT
|
785
|
+
- request:
|
786
|
+
method: get
|
787
|
+
uri: http://18.236.231.13/suite/Api/V8/module/Contacts/43457728-2d26-27ea-88ac-60f834219f71/relationships/fp_events_contacts
|
788
|
+
body:
|
789
|
+
encoding: UTF-8
|
790
|
+
string: "{}"
|
791
|
+
headers:
|
792
|
+
Authorization:
|
793
|
+
- Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjgxNmY1ZDNiZTY1YWE5Y2U1Mjk4NjVmYmEyYTI4YjVhNDhjOWIxNDQyMjZiOWUwYjE5NjNhYWNiYWUxMWE3Y2QyMWM3YjczOGJiMGIyNGIxIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiI4MTZmNWQzYmU2NWFhOWNlNTI5ODY1ZmJhMmEyOGI1YTQ4YzliMTQ0MjI2YjllMGIxOTYzYWFjYmFlMTFhN2NkMjFjN2I3MzhiYjBiMjRiMSIsImlhdCI6MTYyNjg3OTEwNywibmJmIjoxNjI2ODc5MTA3LCJleHAiOjE2MjY4ODI3MDcsInN1YiI6IiIsInNjb3BlcyI6W119.Sb-_Pe6f58mTadkfjD8U663YB9GswYAIO39bPpCYjTTub3om3W8HnimIIorlIK0HFupYU-FucuvXd1L7C1Cpvb2G7xHlydkJzCV8SKVjxJswCdbsKLp10rejRGCFeVT4EigvbWJrMrkFD909aUOUL3K0sOP3kppvvkwaQArORAofp6DRokYhY1jfO1EFzhtE1lNuGoMAY5QrI33-F2HnE37MeEe03DQz2uPBjStUbp5T2k-O96j03ew6I5U5A4gmRWuiEVfVMHnX4OgdYmreU0g9WZjCa_aGCH1uchbhZvZolko9TqcKttILPiknsxve2gVRRPMUouHbZMh9Bx_HCQ
|
794
|
+
User-Agent:
|
795
|
+
- Faraday v1.5.1
|
796
|
+
Content-Type:
|
797
|
+
- application/json
|
798
|
+
Accept-Encoding:
|
799
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
800
|
+
Accept:
|
801
|
+
- "*/*"
|
802
|
+
response:
|
803
|
+
status:
|
804
|
+
code: 200
|
805
|
+
message: OK
|
806
|
+
headers:
|
807
|
+
Date:
|
808
|
+
- Wed, 21 Jul 2021 14:51:47 GMT
|
809
|
+
Server:
|
810
|
+
- Apache/2.4.41 (Ubuntu)
|
811
|
+
Access-Control-Allow-Origin:
|
812
|
+
- "*"
|
813
|
+
Access-Control-Allow-Methods:
|
814
|
+
- POST, GET, OPTIONS, PUT, DELETE
|
815
|
+
Access-Control-Allow-Headers:
|
816
|
+
- Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
|
817
|
+
Accept:
|
818
|
+
- application/vnd.api+json
|
819
|
+
Content-Length:
|
820
|
+
- '1898'
|
821
|
+
Content-Type:
|
822
|
+
- application/vnd.api+json
|
823
|
+
body:
|
824
|
+
encoding: UTF-8
|
825
|
+
string: |-
|
826
|
+
{
|
827
|
+
"meta": {
|
828
|
+
"total-records": 1,
|
829
|
+
"total-pages": 1,
|
830
|
+
"records-on-this-page": 1
|
831
|
+
},
|
832
|
+
"data": [
|
833
|
+
{
|
834
|
+
"type": "FP_events",
|
835
|
+
"id": "7f4d7ee8-497a-ad87-7395-60f8349fa974",
|
836
|
+
"attributes": {
|
837
|
+
"name": "Another Fake Event",
|
838
|
+
"date_entered": "2021-07-21T14:51:00+00:00",
|
839
|
+
"date_modified": "2021-07-21T14:51:00+00:00",
|
840
|
+
"modified_user_id": "1",
|
841
|
+
"modified_by_name": "Dino Simone",
|
842
|
+
"created_by": "1",
|
843
|
+
"created_by_name": "Dino Simone",
|
844
|
+
"description": "",
|
845
|
+
"deleted": "0",
|
846
|
+
"created_by_link": "",
|
847
|
+
"modified_user_link": "",
|
848
|
+
"assigned_user_id": "",
|
849
|
+
"assigned_user_name": "",
|
850
|
+
"assigned_user_link": "",
|
851
|
+
"SecurityGroups": "",
|
852
|
+
"duration_hours": "0",
|
853
|
+
"duration_minutes": "",
|
854
|
+
"date_start": "2021-07-21T12:45:00+00:00",
|
855
|
+
"date_end": "2021-07-21T13:45:00+00:00",
|
856
|
+
"link": "",
|
857
|
+
"link_declined": "",
|
858
|
+
"budget": "",
|
859
|
+
"currency_id": "",
|
860
|
+
"duration": "",
|
861
|
+
"invite_templates": "",
|
862
|
+
"accept_redirect": "",
|
863
|
+
"decline_redirect": "",
|
864
|
+
"fp_events_contacts": "",
|
865
|
+
"fp_events_prospects_1": "",
|
866
|
+
"fp_events_leads_1": "",
|
867
|
+
"fp_event_locations_fp_events_1": "",
|
868
|
+
"fp_event_locations_fp_events_1_name": "",
|
869
|
+
"fp_event_locations_fp_events_1fp_event_locations_ida": "",
|
870
|
+
"activity_status_type": ""
|
871
|
+
},
|
872
|
+
"links": {
|
873
|
+
"self": "V8/module/FP_events/7f4d7ee8-497a-ad87-7395-60f8349fa974"
|
874
|
+
}
|
875
|
+
}
|
876
|
+
]
|
877
|
+
}
|
878
|
+
recorded_at: Wed, 21 Jul 2021 14:51:47 GMT
|
879
|
+
recorded_with: VCR 6.0.0
|