suitecrm-ruby 1.0.0

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.
@@ -0,0 +1,557 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://18.236.231.13/suite/Api/V8/module/Contacts/669d86ed-e5a3-7605-0d68-60c22f69743a/relationships/fp_events_contacts/66ef1d43-06a9-5c09-0853-60f0707fad32
6
+ body:
7
+ encoding: US-ASCII
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 19:04:42 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
+ - '210'
39
+ Content-Type:
40
+ - application/vnd.api+json
41
+ body:
42
+ encoding: UTF-8
43
+ string: |-
44
+ {
45
+ "meta": {
46
+ "message": "Relationship has been deleted between Contact with id 669d86ed-e5a3-7605-0d68-60c22f69743a and FP_events with id 66ef1d43-06a9-5c09-0853-60f0707fad32"
47
+ },
48
+ "data": []
49
+ }
50
+ recorded_at: Tue, 20 Jul 2021 19:04:42 GMT
51
+ - request:
52
+ method: post
53
+ uri: http://18.236.231.13/suite/Api/V8/module/Contacts/364b2102-a2a4-48ca-4f71-60f725408ecf/relationships
54
+ body:
55
+ encoding: UTF-8
56
+ string: '{"data":{"type":"FP_events","id":"7522fd46-4904-a049-d7c6-60f72525fbda"}}'
57
+ headers:
58
+ Authorization:
59
+ - Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM3YTJiMmRlMjQwNjhhMTUxMzBhMDM3MzUwZjA4MDBhNzUzOTYzOWM5M2FkMTc3MTNkNjU0OTgzZTI4ZTk1MWFlMGRjMmQ4YmE2Y2NiZmVkIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiIzN2EyYjJkZTI0MDY4YTE1MTMwYTAzNzM1MGYwODAwYTc1Mzk2MzljOTNhZDE3NzEzZDY1NDk4M2UyOGU5NTFhZTBkYzJkOGJhNmNjYmZlZCIsImlhdCI6MTYyNjgwOTQ3MCwibmJmIjoxNjI2ODA5NDcwLCJleHAiOjE2MjY4MTMwNzAsInN1YiI6IiIsInNjb3BlcyI6W119.SGnNcsy0dlitcn4goT3KhOvN0bmuOgiJ88otAdgnldkqOza0p8GAJcdxBJEl82uReoVm64WYs-eDYgscEzdeEO_Nd3bNh8pjB0o_G3a6F_1DA9XuUZ5kjEv98_j9gtcRvuej_DaaJG1pNUgMR7lpAAR-pOtoBuSPx0yFDGA0Uwnki4FSnim02OFTn01MoHs3Vb7R7c2MIbiLp5iLgtZN57U6NVIh-bdR1XsB8HZ_Sjnn27kku8QyXeWhCJXD59AyTGx1-Hhz_fl-TNs9YeBHM__cWgXtAC4UFavYEn_hZcZM0vocUGC-fGg5ZnMEmGXDQUtZGhpwLbYEm1YwUIDOGg
60
+ User-Agent:
61
+ - Faraday v1.5.1
62
+ Content-Type:
63
+ - application/json
64
+ Accept-Encoding:
65
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
66
+ Accept:
67
+ - "*/*"
68
+ response:
69
+ status:
70
+ code: 201
71
+ message: Created
72
+ headers:
73
+ Date:
74
+ - Tue, 20 Jul 2021 19:35:53 GMT
75
+ Server:
76
+ - Apache/2.4.41 (Ubuntu)
77
+ Access-Control-Allow-Origin:
78
+ - "*"
79
+ Access-Control-Allow-Methods:
80
+ - POST, GET, OPTIONS, PUT, DELETE
81
+ Access-Control-Allow-Headers:
82
+ - Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
83
+ Accept:
84
+ - application/vnd.api+json
85
+ Content-Length:
86
+ - '186'
87
+ Content-Type:
88
+ - application/vnd.api+json
89
+ body:
90
+ encoding: UTF-8
91
+ string: |-
92
+ {
93
+ "meta": {
94
+ "message": "FP_events with id 7522fd46-4904-a049-d7c6-60f72525fbda has been added to Contact with id 364b2102-a2a4-48ca-4f71-60f725408ecf"
95
+ },
96
+ "data": []
97
+ }
98
+ recorded_at: Tue, 20 Jul 2021 19:35:53 GMT
99
+ - request:
100
+ method: delete
101
+ uri: http://18.236.231.13/suite/Api/V8/module/Contacts/364b2102-a2a4-48ca-4f71-60f725408ecf/relationships/fp_events_contacts/7522fd46-4904-a049-d7c6-60f72525fbda
102
+ body:
103
+ encoding: US-ASCII
104
+ string: ''
105
+ headers:
106
+ Authorization:
107
+ - Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM3YTJiMmRlMjQwNjhhMTUxMzBhMDM3MzUwZjA4MDBhNzUzOTYzOWM5M2FkMTc3MTNkNjU0OTgzZTI4ZTk1MWFlMGRjMmQ4YmE2Y2NiZmVkIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiIzN2EyYjJkZTI0MDY4YTE1MTMwYTAzNzM1MGYwODAwYTc1Mzk2MzljOTNhZDE3NzEzZDY1NDk4M2UyOGU5NTFhZTBkYzJkOGJhNmNjYmZlZCIsImlhdCI6MTYyNjgwOTQ3MCwibmJmIjoxNjI2ODA5NDcwLCJleHAiOjE2MjY4MTMwNzAsInN1YiI6IiIsInNjb3BlcyI6W119.SGnNcsy0dlitcn4goT3KhOvN0bmuOgiJ88otAdgnldkqOza0p8GAJcdxBJEl82uReoVm64WYs-eDYgscEzdeEO_Nd3bNh8pjB0o_G3a6F_1DA9XuUZ5kjEv98_j9gtcRvuej_DaaJG1pNUgMR7lpAAR-pOtoBuSPx0yFDGA0Uwnki4FSnim02OFTn01MoHs3Vb7R7c2MIbiLp5iLgtZN57U6NVIh-bdR1XsB8HZ_Sjnn27kku8QyXeWhCJXD59AyTGx1-Hhz_fl-TNs9YeBHM__cWgXtAC4UFavYEn_hZcZM0vocUGC-fGg5ZnMEmGXDQUtZGhpwLbYEm1YwUIDOGg
108
+ User-Agent:
109
+ - Faraday v1.5.1
110
+ Content-Type:
111
+ - application/json
112
+ Accept-Encoding:
113
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
114
+ Accept:
115
+ - "*/*"
116
+ response:
117
+ status:
118
+ code: 200
119
+ message: OK
120
+ headers:
121
+ Date:
122
+ - Tue, 20 Jul 2021 19:35:53 GMT
123
+ Server:
124
+ - Apache/2.4.41 (Ubuntu)
125
+ Access-Control-Allow-Origin:
126
+ - "*"
127
+ Access-Control-Allow-Methods:
128
+ - POST, GET, OPTIONS, PUT, DELETE
129
+ Access-Control-Allow-Headers:
130
+ - Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
131
+ Accept:
132
+ - application/vnd.api+json
133
+ Content-Length:
134
+ - '210'
135
+ Content-Type:
136
+ - application/vnd.api+json
137
+ body:
138
+ encoding: UTF-8
139
+ string: |-
140
+ {
141
+ "meta": {
142
+ "message": "Relationship has been deleted between Contact with id 364b2102-a2a4-48ca-4f71-60f725408ecf and FP_events with id 7522fd46-4904-a049-d7c6-60f72525fbda"
143
+ },
144
+ "data": []
145
+ }
146
+ recorded_at: Tue, 20 Jul 2021 19:35:53 GMT
147
+ - request:
148
+ method: post
149
+ uri: http://18.236.231.13/suite/Api/V8/module
150
+ body:
151
+ encoding: UTF-8
152
+ string: '{"data":{"type":"Contacts","attributes":{"last_name":"API Tester"}}}'
153
+ headers:
154
+ Authorization:
155
+ - Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjgxNmY1ZDNiZTY1YWE5Y2U1Mjk4NjVmYmEyYTI4YjVhNDhjOWIxNDQyMjZiOWUwYjE5NjNhYWNiYWUxMWE3Y2QyMWM3YjczOGJiMGIyNGIxIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiI4MTZmNWQzYmU2NWFhOWNlNTI5ODY1ZmJhMmEyOGI1YTQ4YzliMTQ0MjI2YjllMGIxOTYzYWFjYmFlMTFhN2NkMjFjN2I3MzhiYjBiMjRiMSIsImlhdCI6MTYyNjg3OTEwNywibmJmIjoxNjI2ODc5MTA3LCJleHAiOjE2MjY4ODI3MDcsInN1YiI6IiIsInNjb3BlcyI6W119.Sb-_Pe6f58mTadkfjD8U663YB9GswYAIO39bPpCYjTTub3om3W8HnimIIorlIK0HFupYU-FucuvXd1L7C1Cpvb2G7xHlydkJzCV8SKVjxJswCdbsKLp10rejRGCFeVT4EigvbWJrMrkFD909aUOUL3K0sOP3kppvvkwaQArORAofp6DRokYhY1jfO1EFzhtE1lNuGoMAY5QrI33-F2HnE37MeEe03DQz2uPBjStUbp5T2k-O96j03ew6I5U5A4gmRWuiEVfVMHnX4OgdYmreU0g9WZjCa_aGCH1uchbhZvZolko9TqcKttILPiknsxve2gVRRPMUouHbZMh9Bx_HCQ
156
+ User-Agent:
157
+ - Faraday v1.5.1
158
+ Content-Type:
159
+ - application/json
160
+ Accept-Encoding:
161
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
162
+ Accept:
163
+ - "*/*"
164
+ response:
165
+ status:
166
+ code: 201
167
+ message: Created
168
+ headers:
169
+ Date:
170
+ - Wed, 21 Jul 2021 14:51:48 GMT
171
+ Server:
172
+ - Apache/2.4.41 (Ubuntu)
173
+ Access-Control-Allow-Origin:
174
+ - "*"
175
+ Access-Control-Allow-Methods:
176
+ - POST, GET, OPTIONS, PUT, DELETE
177
+ Access-Control-Allow-Headers:
178
+ - Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
179
+ Accept:
180
+ - application/vnd.api+json
181
+ Content-Length:
182
+ - '6283'
183
+ Content-Type:
184
+ - application/vnd.api+json
185
+ body:
186
+ encoding: UTF-8
187
+ string: |-
188
+ {
189
+ "data": {
190
+ "type": "Contact",
191
+ "id": "368d0609-6dbf-20a2-4229-60f83482776c",
192
+ "attributes": {
193
+ "name": "API Tester",
194
+ "date_entered": "2021-07-21T14:51:00+00:00",
195
+ "date_modified": "2021-07-21T14:51:00+00:00",
196
+ "modified_user_id": "1",
197
+ "modified_by_name": "Dino Simone",
198
+ "created_by": "1",
199
+ "created_by_name": "Dino Simone",
200
+ "description": "",
201
+ "deleted": "0",
202
+ "created_by_link": "",
203
+ "modified_user_link": "",
204
+ "assigned_user_id": "",
205
+ "assigned_user_name": "",
206
+ "assigned_user_link": "",
207
+ "SecurityGroups": "",
208
+ "salutation": "",
209
+ "first_name": "",
210
+ "last_name": "API Tester",
211
+ "full_name": "API Tester",
212
+ "title": "",
213
+ "photo": "",
214
+ "department": "",
215
+ "do_not_call": "0",
216
+ "phone_home": "",
217
+ "email": "",
218
+ "phone_mobile": "",
219
+ "phone_work": "",
220
+ "phone_other": "",
221
+ "phone_fax": "",
222
+ "email1": "",
223
+ "email2": "",
224
+ "invalid_email": "",
225
+ "email_opt_out": "",
226
+ "lawful_basis": "",
227
+ "date_reviewed": "",
228
+ "lawful_basis_source": "",
229
+ "primary_address_street": "",
230
+ "primary_address_street_2": "",
231
+ "primary_address_street_3": "",
232
+ "primary_address_city": "",
233
+ "primary_address_state": "",
234
+ "primary_address_postalcode": "",
235
+ "primary_address_country": "",
236
+ "alt_address_street": "",
237
+ "alt_address_street_2": "",
238
+ "alt_address_street_3": "",
239
+ "alt_address_city": "",
240
+ "alt_address_state": "",
241
+ "alt_address_postalcode": "",
242
+ "alt_address_country": "",
243
+ "assistant": "",
244
+ "assistant_phone": "",
245
+ "email_addresses_primary": "",
246
+ "email_addresses": "",
247
+ "email_addresses_non_primary": "",
248
+ "email_and_name1": "",
249
+ "lead_source": "",
250
+ "account_name": "",
251
+ "account_id": "",
252
+ "opportunity_role_fields": "",
253
+ "opportunity_role_id": "",
254
+ "opportunity_role": "",
255
+ "reports_to_id": "",
256
+ "report_to_name": "",
257
+ "birthdate": "",
258
+ "accounts": "",
259
+ "reports_to_link": {},
260
+ "opportunities": "",
261
+ "bugs": "",
262
+ "calls": "",
263
+ "cases": "",
264
+ "direct_reports": "",
265
+ "emails": "",
266
+ "documents": "",
267
+ "leads": "",
268
+ "meetings": "",
269
+ "notes": "",
270
+ "project": "",
271
+ "project_resource": "",
272
+ "am_projecttemplates_resources": "",
273
+ "am_projecttemplates_contacts_1": "",
274
+ "tasks": "",
275
+ "tasks_parent": "",
276
+ "notes_parent": "",
277
+ "user_sync": {},
278
+ "campaign_id": "",
279
+ "campaign_name": "",
280
+ "campaigns": "",
281
+ "campaign_contacts": {},
282
+ "c_accept_status_fields": "",
283
+ "m_accept_status_fields": "",
284
+ "accept_status_id": "",
285
+ "accept_status_name": "",
286
+ "prospect_lists": "",
287
+ "sync_contact": "",
288
+ "fp_events_contacts": "",
289
+ "aos_quotes": "",
290
+ "aos_invoices": "",
291
+ "aos_contracts": "",
292
+ "e_invite_status_fields": "",
293
+ "event_status_name": "",
294
+ "event_invite_id": "",
295
+ "e_accept_status_fields": "",
296
+ "event_accept_status": "",
297
+ "event_status_id": "",
298
+ "project_contacts_1": "",
299
+ "aop_case_updates": "",
300
+ "joomla_account_id": "",
301
+ "portal_account_disabled": false,
302
+ "joomla_account_access": "",
303
+ "portal_user_type": "Single"
304
+ },
305
+ "relationships": {
306
+ "AM_ProjectTemplates": {
307
+ "links": {
308
+ "related": "V8/module/368d0609-6dbf-20a2-4229-60f83482776c/relationships/am_projecttemplates_contacts_1"
309
+ }
310
+ },
311
+ "AOS_Contracts": {
312
+ "links": {
313
+ "related": "V8/module/368d0609-6dbf-20a2-4229-60f83482776c/relationships/aos_contracts"
314
+ }
315
+ },
316
+ "AOS_Invoices": {
317
+ "links": {
318
+ "related": "V8/module/368d0609-6dbf-20a2-4229-60f83482776c/relationships/aos_invoices"
319
+ }
320
+ },
321
+ "AOS_Quotes": {
322
+ "links": {
323
+ "related": "V8/module/368d0609-6dbf-20a2-4229-60f83482776c/relationships/aos_quotes"
324
+ }
325
+ },
326
+ "CampaignLog": {
327
+ "links": {
328
+ "related": "V8/module/368d0609-6dbf-20a2-4229-60f83482776c/relationships/campaigns"
329
+ }
330
+ },
331
+ "EmailAddress": {
332
+ "links": {
333
+ "related": "V8/module/368d0609-6dbf-20a2-4229-60f83482776c/relationships/email_addresses"
334
+ }
335
+ },
336
+ "Opportunities": {
337
+ "links": {
338
+ "related": "V8/module/368d0609-6dbf-20a2-4229-60f83482776c/relationships/opportunities"
339
+ }
340
+ },
341
+ "Project": {
342
+ "links": {
343
+ "related": "V8/module/368d0609-6dbf-20a2-4229-60f83482776c/relationships/project_contacts_1"
344
+ }
345
+ },
346
+ "ProspectLists": {
347
+ "links": {
348
+ "related": "V8/module/368d0609-6dbf-20a2-4229-60f83482776c/relationships/prospect_lists"
349
+ }
350
+ },
351
+ "SecurityGroups": {
352
+ "links": {
353
+ "related": "V8/module/368d0609-6dbf-20a2-4229-60f83482776c/relationships/SecurityGroups"
354
+ }
355
+ },
356
+ "Users": {
357
+ "links": {
358
+ "related": "V8/module/368d0609-6dbf-20a2-4229-60f83482776c/relationships/created_by_link"
359
+ }
360
+ }
361
+ }
362
+ }
363
+ }
364
+ recorded_at: Wed, 21 Jul 2021 14:51:48 GMT
365
+ - request:
366
+ method: post
367
+ uri: http://18.236.231.13/suite/Api/V8/module
368
+ body:
369
+ encoding: UTF-8
370
+ string: '{"data":{"type":"FP_events","attributes":{"name":"Another Fake Event"}}}'
371
+ headers:
372
+ Authorization:
373
+ - Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjgxNmY1ZDNiZTY1YWE5Y2U1Mjk4NjVmYmEyYTI4YjVhNDhjOWIxNDQyMjZiOWUwYjE5NjNhYWNiYWUxMWE3Y2QyMWM3YjczOGJiMGIyNGIxIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiI4MTZmNWQzYmU2NWFhOWNlNTI5ODY1ZmJhMmEyOGI1YTQ4YzliMTQ0MjI2YjllMGIxOTYzYWFjYmFlMTFhN2NkMjFjN2I3MzhiYjBiMjRiMSIsImlhdCI6MTYyNjg3OTEwNywibmJmIjoxNjI2ODc5MTA3LCJleHAiOjE2MjY4ODI3MDcsInN1YiI6IiIsInNjb3BlcyI6W119.Sb-_Pe6f58mTadkfjD8U663YB9GswYAIO39bPpCYjTTub3om3W8HnimIIorlIK0HFupYU-FucuvXd1L7C1Cpvb2G7xHlydkJzCV8SKVjxJswCdbsKLp10rejRGCFeVT4EigvbWJrMrkFD909aUOUL3K0sOP3kppvvkwaQArORAofp6DRokYhY1jfO1EFzhtE1lNuGoMAY5QrI33-F2HnE37MeEe03DQz2uPBjStUbp5T2k-O96j03ew6I5U5A4gmRWuiEVfVMHnX4OgdYmreU0g9WZjCa_aGCH1uchbhZvZolko9TqcKttILPiknsxve2gVRRPMUouHbZMh9Bx_HCQ
374
+ User-Agent:
375
+ - Faraday v1.5.1
376
+ Content-Type:
377
+ - application/json
378
+ Accept-Encoding:
379
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
380
+ Accept:
381
+ - "*/*"
382
+ response:
383
+ status:
384
+ code: 201
385
+ message: Created
386
+ headers:
387
+ Date:
388
+ - Wed, 21 Jul 2021 14:51:48 GMT
389
+ Server:
390
+ - Apache/2.4.41 (Ubuntu)
391
+ Access-Control-Allow-Origin:
392
+ - "*"
393
+ Access-Control-Allow-Methods:
394
+ - POST, GET, OPTIONS, PUT, DELETE
395
+ Access-Control-Allow-Headers:
396
+ - Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
397
+ Accept:
398
+ - application/vnd.api+json
399
+ Content-Length:
400
+ - '1927'
401
+ Content-Type:
402
+ - application/vnd.api+json
403
+ body:
404
+ encoding: UTF-8
405
+ string: |-
406
+ {
407
+ "data": {
408
+ "type": "FP_events",
409
+ "id": "7473309b-020c-ff41-67a3-60f83420a3ab",
410
+ "attributes": {
411
+ "name": "Another Fake Event",
412
+ "date_entered": "2021-07-21T14:51:00+00:00",
413
+ "date_modified": "2021-07-21T14:51:00+00:00",
414
+ "modified_user_id": "1",
415
+ "modified_by_name": "Dino Simone",
416
+ "created_by": "1",
417
+ "created_by_name": "Dino Simone",
418
+ "description": "",
419
+ "deleted": "0",
420
+ "created_by_link": "",
421
+ "modified_user_link": "",
422
+ "assigned_user_id": "",
423
+ "assigned_user_name": "",
424
+ "assigned_user_link": "",
425
+ "SecurityGroups": "",
426
+ "duration_hours": "0",
427
+ "duration_minutes": "",
428
+ "date_start": "2021-07-21T12:45:00+00:00",
429
+ "date_end": "2021-07-21T13:45:00+00:00",
430
+ "link": "",
431
+ "link_declined": "",
432
+ "budget": "",
433
+ "currency_id": "",
434
+ "duration": "",
435
+ "invite_templates": "",
436
+ "accept_redirect": "",
437
+ "decline_redirect": "",
438
+ "fp_events_contacts": "",
439
+ "fp_events_prospects_1": "",
440
+ "fp_events_leads_1": "",
441
+ "fp_event_locations_fp_events_1": "",
442
+ "fp_event_locations_fp_events_1_name": "",
443
+ "fp_event_locations_fp_events_1fp_event_locations_ida": "",
444
+ "activity_status_type": ""
445
+ },
446
+ "relationships": {
447
+ "SecurityGroups": {
448
+ "links": {
449
+ "related": "V8/module/7473309b-020c-ff41-67a3-60f83420a3ab/relationships/SecurityGroups"
450
+ }
451
+ },
452
+ "Users": {
453
+ "links": {
454
+ "related": "V8/module/7473309b-020c-ff41-67a3-60f83420a3ab/relationships/created_by_link"
455
+ }
456
+ }
457
+ }
458
+ }
459
+ }
460
+ recorded_at: Wed, 21 Jul 2021 14:51:48 GMT
461
+ - request:
462
+ method: post
463
+ uri: http://18.236.231.13/suite/Api/V8/module/Contacts/368d0609-6dbf-20a2-4229-60f83482776c/relationships
464
+ body:
465
+ encoding: UTF-8
466
+ string: '{"data":{"type":"FP_events","id":"7473309b-020c-ff41-67a3-60f83420a3ab"}}'
467
+ headers:
468
+ Authorization:
469
+ - Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjgxNmY1ZDNiZTY1YWE5Y2U1Mjk4NjVmYmEyYTI4YjVhNDhjOWIxNDQyMjZiOWUwYjE5NjNhYWNiYWUxMWE3Y2QyMWM3YjczOGJiMGIyNGIxIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiI4MTZmNWQzYmU2NWFhOWNlNTI5ODY1ZmJhMmEyOGI1YTQ4YzliMTQ0MjI2YjllMGIxOTYzYWFjYmFlMTFhN2NkMjFjN2I3MzhiYjBiMjRiMSIsImlhdCI6MTYyNjg3OTEwNywibmJmIjoxNjI2ODc5MTA3LCJleHAiOjE2MjY4ODI3MDcsInN1YiI6IiIsInNjb3BlcyI6W119.Sb-_Pe6f58mTadkfjD8U663YB9GswYAIO39bPpCYjTTub3om3W8HnimIIorlIK0HFupYU-FucuvXd1L7C1Cpvb2G7xHlydkJzCV8SKVjxJswCdbsKLp10rejRGCFeVT4EigvbWJrMrkFD909aUOUL3K0sOP3kppvvkwaQArORAofp6DRokYhY1jfO1EFzhtE1lNuGoMAY5QrI33-F2HnE37MeEe03DQz2uPBjStUbp5T2k-O96j03ew6I5U5A4gmRWuiEVfVMHnX4OgdYmreU0g9WZjCa_aGCH1uchbhZvZolko9TqcKttILPiknsxve2gVRRPMUouHbZMh9Bx_HCQ
470
+ User-Agent:
471
+ - Faraday v1.5.1
472
+ Content-Type:
473
+ - application/json
474
+ Accept-Encoding:
475
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
476
+ Accept:
477
+ - "*/*"
478
+ response:
479
+ status:
480
+ code: 201
481
+ message: Created
482
+ headers:
483
+ Date:
484
+ - Wed, 21 Jul 2021 14:51:48 GMT
485
+ Server:
486
+ - Apache/2.4.41 (Ubuntu)
487
+ Access-Control-Allow-Origin:
488
+ - "*"
489
+ Access-Control-Allow-Methods:
490
+ - POST, GET, OPTIONS, PUT, DELETE
491
+ Access-Control-Allow-Headers:
492
+ - Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
493
+ Accept:
494
+ - application/vnd.api+json
495
+ Content-Length:
496
+ - '186'
497
+ Content-Type:
498
+ - application/vnd.api+json
499
+ body:
500
+ encoding: UTF-8
501
+ string: |-
502
+ {
503
+ "meta": {
504
+ "message": "FP_events with id 7473309b-020c-ff41-67a3-60f83420a3ab has been added to Contact with id 368d0609-6dbf-20a2-4229-60f83482776c"
505
+ },
506
+ "data": []
507
+ }
508
+ recorded_at: Wed, 21 Jul 2021 14:51:48 GMT
509
+ - request:
510
+ method: delete
511
+ uri: http://18.236.231.13/suite/Api/V8/module/Contacts/368d0609-6dbf-20a2-4229-60f83482776c/relationships/fp_events_contacts/7473309b-020c-ff41-67a3-60f83420a3ab
512
+ body:
513
+ encoding: US-ASCII
514
+ string: ''
515
+ headers:
516
+ Authorization:
517
+ - Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjgxNmY1ZDNiZTY1YWE5Y2U1Mjk4NjVmYmEyYTI4YjVhNDhjOWIxNDQyMjZiOWUwYjE5NjNhYWNiYWUxMWE3Y2QyMWM3YjczOGJiMGIyNGIxIn0.eyJhdWQiOiI0MWZkZmY0Ni0wNDk5LWFkZTgtZjRkNS02MGVlZmNkMmQ1ZDYiLCJqdGkiOiI4MTZmNWQzYmU2NWFhOWNlNTI5ODY1ZmJhMmEyOGI1YTQ4YzliMTQ0MjI2YjllMGIxOTYzYWFjYmFlMTFhN2NkMjFjN2I3MzhiYjBiMjRiMSIsImlhdCI6MTYyNjg3OTEwNywibmJmIjoxNjI2ODc5MTA3LCJleHAiOjE2MjY4ODI3MDcsInN1YiI6IiIsInNjb3BlcyI6W119.Sb-_Pe6f58mTadkfjD8U663YB9GswYAIO39bPpCYjTTub3om3W8HnimIIorlIK0HFupYU-FucuvXd1L7C1Cpvb2G7xHlydkJzCV8SKVjxJswCdbsKLp10rejRGCFeVT4EigvbWJrMrkFD909aUOUL3K0sOP3kppvvkwaQArORAofp6DRokYhY1jfO1EFzhtE1lNuGoMAY5QrI33-F2HnE37MeEe03DQz2uPBjStUbp5T2k-O96j03ew6I5U5A4gmRWuiEVfVMHnX4OgdYmreU0g9WZjCa_aGCH1uchbhZvZolko9TqcKttILPiknsxve2gVRRPMUouHbZMh9Bx_HCQ
518
+ User-Agent:
519
+ - Faraday v1.5.1
520
+ Content-Type:
521
+ - application/json
522
+ Accept-Encoding:
523
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
524
+ Accept:
525
+ - "*/*"
526
+ response:
527
+ status:
528
+ code: 200
529
+ message: OK
530
+ headers:
531
+ Date:
532
+ - Wed, 21 Jul 2021 14:51:48 GMT
533
+ Server:
534
+ - Apache/2.4.41 (Ubuntu)
535
+ Access-Control-Allow-Origin:
536
+ - "*"
537
+ Access-Control-Allow-Methods:
538
+ - POST, GET, OPTIONS, PUT, DELETE
539
+ Access-Control-Allow-Headers:
540
+ - Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
541
+ Accept:
542
+ - application/vnd.api+json
543
+ Content-Length:
544
+ - '210'
545
+ Content-Type:
546
+ - application/vnd.api+json
547
+ body:
548
+ encoding: UTF-8
549
+ string: |-
550
+ {
551
+ "meta": {
552
+ "message": "Relationship has been deleted between Contact with id 368d0609-6dbf-20a2-4229-60f83482776c and FP_events with id 7473309b-020c-ff41-67a3-60f83420a3ab"
553
+ },
554
+ "data": []
555
+ }
556
+ recorded_at: Wed, 21 Jul 2021 14:51:48 GMT
557
+ recorded_with: VCR 6.0.0