salesforce_bulk_client 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,713 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://login.salesforce.com/services/oauth2/token
6
+ body:
7
+ encoding: US-ASCII
8
+ string: grant_type=password&client_id={SALESFORCE_OAUTH_CONSUMER_KEY}&client_secret={SALESFORCE_OAUTH_CONSUMER_SECRET}&username=%7BSALESFORCE_USERNAME%7D&password=%7BSALESFORCE_PASSWORD%7D{SALESFORCE_SECURITY_TOKEN}
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.12.1
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Tue, 02 May 2017 20:45:19 GMT
25
+ Strict-Transport-Security:
26
+ - max-age=31536000; includeSubDomains
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ Content-Security-Policy:
32
+ - referrer origin-when-cross-origin
33
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
34
+ Set-Cookie:
35
+ - BrowserId=29imjzVPR1SwjmLNf2hBBw;Path=/;Domain=.salesforce.com;Expires=Sat,
36
+ 01-Jul-2017 20:45:19 GMT
37
+ Expires:
38
+ - Thu, 01 Jan 1970 00:00:00 GMT
39
+ Pragma:
40
+ - no-cache
41
+ Cache-Control:
42
+ - no-cache, no-store
43
+ X-Readonlymode:
44
+ - 'false'
45
+ Content-Type:
46
+ - application/json;charset=UTF-8
47
+ Vary:
48
+ - Accept-Encoding
49
+ Transfer-Encoding:
50
+ - chunked
51
+ body:
52
+ encoding: ASCII-8BIT
53
+ string: '{"access_token":"{ACCESS_TOKEN}","instance_url":"https://instance.salesforce.com","id":"{ID_URL}","token_type":"Bearer","issued_at":"1493757919681","signature":"{SIGNATURE}"}'
54
+ http_version:
55
+ recorded_at: Tue, 02 May 2017 20:45:19 GMT
56
+ - request:
57
+ method: post
58
+ uri: https://instance.salesforce.com/services/async/39.0/job
59
+ body:
60
+ encoding: UTF-8
61
+ string: '{"operation":"insert","object":"Account","contentType":"JSON"}'
62
+ headers:
63
+ User-Agent:
64
+ - Faraday v0.12.1
65
+ Content-Type:
66
+ - application/json
67
+ X-Sfdc-Session:
68
+ - "{SESSION_ID}"
69
+ Authorization:
70
+ - "{AUTHORIZATION}"
71
+ Accept-Encoding:
72
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
73
+ Accept:
74
+ - "*/*"
75
+ response:
76
+ status:
77
+ code: 201
78
+ message: Created
79
+ headers:
80
+ Date:
81
+ - Tue, 02 May 2017 20:45:19 GMT
82
+ X-Content-Type-Options:
83
+ - nosniff
84
+ X-Xss-Protection:
85
+ - 1; mode=block
86
+ Content-Security-Policy:
87
+ - referrer origin-when-cross-origin
88
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
89
+ Set-Cookie:
90
+ - BrowserId=jftQ3iFHTgOrovXmTk99yA;Path=/;Domain=.salesforce.com;Expires=Sat,
91
+ 01-Jul-2017 20:45:19 GMT
92
+ Expires:
93
+ - Thu, 01 Jan 1970 00:00:00 GMT
94
+ Location:
95
+ - "/services/async/39.0/job/7503600000BfwBSAAZ"
96
+ Content-Type:
97
+ - application/json
98
+ Transfer-Encoding:
99
+ - chunked
100
+ body:
101
+ encoding: ASCII-8BIT
102
+ string: '{"apexProcessingTime":0,"apiActiveProcessingTime":0,"apiVersion":39.0,"assignmentRuleId":null,"concurrencyMode":"Parallel","contentType":"JSON","createdById":"00536000001qtbXAAQ","createdDate":"2017-05-02T20:45:20.000+0000","externalIdFieldName":null,"fastPathEnabled":false,"id":"7503600000BfwBSAAZ","numberBatchesCompleted":0,"numberBatchesFailed":0,"numberBatchesInProgress":0,"numberBatchesQueued":0,"numberBatchesTotal":0,"numberRecordsFailed":0,"numberRecordsProcessed":0,"numberRetries":0,"object":"Account","operation":"insert","state":"Open","systemModstamp":"2017-05-02T20:45:20.000+0000","totalProcessingTime":0}'
103
+ http_version:
104
+ recorded_at: Tue, 02 May 2017 20:45:20 GMT
105
+ - request:
106
+ method: post
107
+ uri: https://login.salesforce.com/services/oauth2/token
108
+ body:
109
+ encoding: US-ASCII
110
+ string: grant_type=password&client_id={SALESFORCE_OAUTH_CONSUMER_KEY}&client_secret={SALESFORCE_OAUTH_CONSUMER_SECRET}&username=%7BSALESFORCE_USERNAME%7D&password=%7BSALESFORCE_PASSWORD%7D{SALESFORCE_SECURITY_TOKEN}
111
+ headers:
112
+ User-Agent:
113
+ - Faraday v0.12.1
114
+ Content-Type:
115
+ - application/x-www-form-urlencoded
116
+ Accept-Encoding:
117
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
118
+ Accept:
119
+ - "*/*"
120
+ response:
121
+ status:
122
+ code: 200
123
+ message: OK
124
+ headers:
125
+ Date:
126
+ - Tue, 02 May 2017 20:45:20 GMT
127
+ Strict-Transport-Security:
128
+ - max-age=31536000; includeSubDomains
129
+ X-Content-Type-Options:
130
+ - nosniff
131
+ X-Xss-Protection:
132
+ - 1; mode=block
133
+ Content-Security-Policy:
134
+ - referrer origin-when-cross-origin
135
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
136
+ Set-Cookie:
137
+ - BrowserId=xcwjCEIOR9iqq0jHol-xww;Path=/;Domain=.salesforce.com;Expires=Sat,
138
+ 01-Jul-2017 20:45:20 GMT
139
+ Expires:
140
+ - Thu, 01 Jan 1970 00:00:00 GMT
141
+ Pragma:
142
+ - no-cache
143
+ Cache-Control:
144
+ - no-cache, no-store
145
+ X-Readonlymode:
146
+ - 'false'
147
+ Content-Type:
148
+ - application/json;charset=UTF-8
149
+ Vary:
150
+ - Accept-Encoding
151
+ Transfer-Encoding:
152
+ - chunked
153
+ body:
154
+ encoding: ASCII-8BIT
155
+ string: '{"access_token":"{ACCESS_TOKEN}","instance_url":"https://instance.salesforce.com","id":"{ID_URL}","token_type":"Bearer","issued_at":"1493757920991","signature":"{SIGNATURE}"}'
156
+ http_version:
157
+ recorded_at: Tue, 02 May 2017 20:45:20 GMT
158
+ - request:
159
+ method: post
160
+ uri: https://instance.salesforce.com/services/async/39.0/job/7503600000BfwBSAAZ/batch
161
+ body:
162
+ encoding: UTF-8
163
+ string: '[{"Name":"Test Account"}]'
164
+ headers:
165
+ User-Agent:
166
+ - Faraday v0.12.1
167
+ Content-Type:
168
+ - application/json
169
+ X-Sfdc-Session:
170
+ - "{SESSION_ID}"
171
+ Authorization:
172
+ - "{AUTHORIZATION}"
173
+ Accept-Encoding:
174
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
175
+ Accept:
176
+ - "*/*"
177
+ response:
178
+ status:
179
+ code: 201
180
+ message: Created
181
+ headers:
182
+ Date:
183
+ - Tue, 02 May 2017 20:45:21 GMT
184
+ X-Content-Type-Options:
185
+ - nosniff
186
+ X-Xss-Protection:
187
+ - 1; mode=block
188
+ Content-Security-Policy:
189
+ - referrer origin-when-cross-origin
190
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
191
+ Set-Cookie:
192
+ - BrowserId=elrpW0P3Tum18f-Pmhj9sQ;Path=/;Domain=.salesforce.com;Expires=Sat,
193
+ 01-Jul-2017 20:45:21 GMT
194
+ Expires:
195
+ - Thu, 01 Jan 1970 00:00:00 GMT
196
+ Location:
197
+ - "/services/async/39.0/job/7503600000BfwBSAAZ/batch/7513600000CF5onAAD"
198
+ Content-Type:
199
+ - application/json
200
+ Transfer-Encoding:
201
+ - chunked
202
+ body:
203
+ encoding: ASCII-8BIT
204
+ string: '{"apexProcessingTime":0,"apiActiveProcessingTime":0,"createdDate":"2017-05-02T20:45:21.000+0000","id":"7513600000CF5onAAD","jobId":"7503600000BfwBSAAZ","numberRecordsFailed":0,"numberRecordsProcessed":0,"state":"Queued","stateMessage":null,"systemModstamp":"2017-05-02T20:45:21.000+0000","totalProcessingTime":0}'
205
+ http_version:
206
+ recorded_at: Tue, 02 May 2017 20:45:21 GMT
207
+ - request:
208
+ method: post
209
+ uri: https://login.salesforce.com/services/oauth2/token
210
+ body:
211
+ encoding: US-ASCII
212
+ string: grant_type=password&client_id={SALESFORCE_OAUTH_CONSUMER_KEY}&client_secret={SALESFORCE_OAUTH_CONSUMER_SECRET}&username=%7BSALESFORCE_USERNAME%7D&password=%7BSALESFORCE_PASSWORD%7D{SALESFORCE_SECURITY_TOKEN}
213
+ headers:
214
+ User-Agent:
215
+ - Faraday v0.12.1
216
+ Content-Type:
217
+ - application/x-www-form-urlencoded
218
+ Accept-Encoding:
219
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
220
+ Accept:
221
+ - "*/*"
222
+ response:
223
+ status:
224
+ code: 200
225
+ message: OK
226
+ headers:
227
+ Date:
228
+ - Tue, 02 May 2017 20:45:21 GMT
229
+ Strict-Transport-Security:
230
+ - max-age=31536000; includeSubDomains
231
+ X-Content-Type-Options:
232
+ - nosniff
233
+ X-Xss-Protection:
234
+ - 1; mode=block
235
+ Content-Security-Policy:
236
+ - referrer origin-when-cross-origin
237
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
238
+ Set-Cookie:
239
+ - BrowserId=P1hmZtumSJKt3d0wU5dBnw;Path=/;Domain=.salesforce.com;Expires=Sat,
240
+ 01-Jul-2017 20:45:21 GMT
241
+ Expires:
242
+ - Thu, 01 Jan 1970 00:00:00 GMT
243
+ Pragma:
244
+ - no-cache
245
+ Cache-Control:
246
+ - no-cache, no-store
247
+ X-Readonlymode:
248
+ - 'false'
249
+ Content-Type:
250
+ - application/json;charset=UTF-8
251
+ Vary:
252
+ - Accept-Encoding
253
+ Transfer-Encoding:
254
+ - chunked
255
+ body:
256
+ encoding: ASCII-8BIT
257
+ string: '{"access_token":"{ACCESS_TOKEN}","instance_url":"https://instance.salesforce.com","id":"{ID_URL}","token_type":"Bearer","issued_at":"1493757921930","signature":"{SIGNATURE}"}'
258
+ http_version:
259
+ recorded_at: Tue, 02 May 2017 20:45:21 GMT
260
+ - request:
261
+ method: post
262
+ uri: https://instance.salesforce.com/services/async/39.0/job/7503600000BfwBSAAZ
263
+ body:
264
+ encoding: UTF-8
265
+ string: '{"state":"Closed"}'
266
+ headers:
267
+ User-Agent:
268
+ - Faraday v0.12.1
269
+ Content-Type:
270
+ - application/json
271
+ X-Sfdc-Session:
272
+ - "{SESSION_ID}"
273
+ Authorization:
274
+ - "{AUTHORIZATION}"
275
+ Accept-Encoding:
276
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
277
+ Accept:
278
+ - "*/*"
279
+ response:
280
+ status:
281
+ code: 200
282
+ message: OK
283
+ headers:
284
+ Date:
285
+ - Tue, 02 May 2017 20:45:22 GMT
286
+ X-Content-Type-Options:
287
+ - nosniff
288
+ X-Xss-Protection:
289
+ - 1; mode=block
290
+ Content-Security-Policy:
291
+ - referrer origin-when-cross-origin
292
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
293
+ Set-Cookie:
294
+ - BrowserId=QLX4g4PHRo-xZ0iyKwX1Jg;Path=/;Domain=.salesforce.com;Expires=Sat,
295
+ 01-Jul-2017 20:45:22 GMT
296
+ Expires:
297
+ - Thu, 01 Jan 1970 00:00:00 GMT
298
+ Content-Type:
299
+ - application/json
300
+ Transfer-Encoding:
301
+ - chunked
302
+ body:
303
+ encoding: ASCII-8BIT
304
+ string: '{"apexProcessingTime":0,"apiActiveProcessingTime":0,"apiVersion":39.0,"assignmentRuleId":null,"concurrencyMode":"Parallel","contentType":"JSON","createdById":"00536000001qtbXAAQ","createdDate":"2017-05-02T20:45:20.000+0000","externalIdFieldName":null,"fastPathEnabled":false,"id":"7503600000BfwBSAAZ","numberBatchesCompleted":0,"numberBatchesFailed":0,"numberBatchesInProgress":0,"numberBatchesQueued":1,"numberBatchesTotal":1,"numberRecordsFailed":0,"numberRecordsProcessed":0,"numberRetries":0,"object":"Account","operation":"insert","state":"Closed","systemModstamp":"2017-05-02T20:45:20.000+0000","totalProcessingTime":0}'
305
+ http_version:
306
+ recorded_at: Tue, 02 May 2017 20:45:22 GMT
307
+ - request:
308
+ method: post
309
+ uri: https://login.salesforce.com/services/oauth2/token
310
+ body:
311
+ encoding: US-ASCII
312
+ string: grant_type=password&client_id={SALESFORCE_OAUTH_CONSUMER_KEY}&client_secret={SALESFORCE_OAUTH_CONSUMER_SECRET}&username=%7BSALESFORCE_USERNAME%7D&password=%7BSALESFORCE_PASSWORD%7D{SALESFORCE_SECURITY_TOKEN}
313
+ headers:
314
+ User-Agent:
315
+ - Faraday v0.12.1
316
+ Content-Type:
317
+ - application/x-www-form-urlencoded
318
+ Accept-Encoding:
319
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
320
+ Accept:
321
+ - "*/*"
322
+ response:
323
+ status:
324
+ code: 200
325
+ message: OK
326
+ headers:
327
+ Date:
328
+ - Tue, 02 May 2017 20:45:22 GMT
329
+ Strict-Transport-Security:
330
+ - max-age=31536000; includeSubDomains
331
+ X-Content-Type-Options:
332
+ - nosniff
333
+ X-Xss-Protection:
334
+ - 1; mode=block
335
+ Content-Security-Policy:
336
+ - referrer origin-when-cross-origin
337
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
338
+ Set-Cookie:
339
+ - BrowserId=-U77SV_mQQCh0k2pjcBphQ;Path=/;Domain=.salesforce.com;Expires=Sat,
340
+ 01-Jul-2017 20:45:22 GMT
341
+ Expires:
342
+ - Thu, 01 Jan 1970 00:00:00 GMT
343
+ Pragma:
344
+ - no-cache
345
+ Cache-Control:
346
+ - no-cache, no-store
347
+ X-Readonlymode:
348
+ - 'false'
349
+ Content-Type:
350
+ - application/json;charset=UTF-8
351
+ Vary:
352
+ - Accept-Encoding
353
+ Transfer-Encoding:
354
+ - chunked
355
+ body:
356
+ encoding: ASCII-8BIT
357
+ string: '{"access_token":"{ACCESS_TOKEN}","instance_url":"https://instance.salesforce.com","id":"{ID_URL}","token_type":"Bearer","issued_at":"1493757923290","signature":"{SIGNATURE}"}'
358
+ http_version:
359
+ recorded_at: Tue, 02 May 2017 20:45:23 GMT
360
+ - request:
361
+ method: get
362
+ uri: https://instance.salesforce.com/services/async/39.0/job/7503600000BfwBSAAZ
363
+ body:
364
+ encoding: US-ASCII
365
+ string: ''
366
+ headers:
367
+ User-Agent:
368
+ - Faraday v0.12.1
369
+ Content-Type:
370
+ - application/json
371
+ X-Sfdc-Session:
372
+ - "{SESSION_ID}"
373
+ Authorization:
374
+ - "{AUTHORIZATION}"
375
+ Accept-Encoding:
376
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
377
+ Accept:
378
+ - "*/*"
379
+ response:
380
+ status:
381
+ code: 200
382
+ message: OK
383
+ headers:
384
+ Date:
385
+ - Tue, 02 May 2017 20:45:23 GMT
386
+ X-Content-Type-Options:
387
+ - nosniff
388
+ X-Xss-Protection:
389
+ - 1; mode=block
390
+ Content-Security-Policy:
391
+ - referrer origin-when-cross-origin
392
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
393
+ Set-Cookie:
394
+ - BrowserId=3Y2WuCOdRGKdA3bE5Jy9lg;Path=/;Domain=.salesforce.com;Expires=Sat,
395
+ 01-Jul-2017 20:45:23 GMT
396
+ Expires:
397
+ - Thu, 01 Jan 1970 00:00:00 GMT
398
+ Content-Type:
399
+ - application/json
400
+ Transfer-Encoding:
401
+ - chunked
402
+ body:
403
+ encoding: ASCII-8BIT
404
+ string: '{"apexProcessingTime":0,"apiActiveProcessingTime":0,"apiVersion":39.0,"assignmentRuleId":null,"concurrencyMode":"Parallel","contentType":"JSON","createdById":"00536000001qtbXAAQ","createdDate":"2017-05-02T20:45:20.000+0000","externalIdFieldName":null,"fastPathEnabled":false,"id":"7503600000BfwBSAAZ","numberBatchesCompleted":0,"numberBatchesFailed":0,"numberBatchesInProgress":0,"numberBatchesQueued":1,"numberBatchesTotal":1,"numberRecordsFailed":0,"numberRecordsProcessed":0,"numberRetries":0,"object":"Account","operation":"insert","state":"Closed","systemModstamp":"2017-05-02T20:45:22.000+0000","totalProcessingTime":0}'
405
+ http_version:
406
+ recorded_at: Tue, 02 May 2017 20:45:23 GMT
407
+ - request:
408
+ method: post
409
+ uri: https://login.salesforce.com/services/oauth2/token
410
+ body:
411
+ encoding: US-ASCII
412
+ string: grant_type=password&client_id={SALESFORCE_OAUTH_CONSUMER_KEY}&client_secret={SALESFORCE_OAUTH_CONSUMER_SECRET}&username=%7BSALESFORCE_USERNAME%7D&password=%7BSALESFORCE_PASSWORD%7D{SALESFORCE_SECURITY_TOKEN}
413
+ headers:
414
+ User-Agent:
415
+ - Faraday v0.12.1
416
+ Content-Type:
417
+ - application/x-www-form-urlencoded
418
+ Accept-Encoding:
419
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
420
+ Accept:
421
+ - "*/*"
422
+ response:
423
+ status:
424
+ code: 200
425
+ message: OK
426
+ headers:
427
+ Date:
428
+ - Tue, 02 May 2017 20:45:23 GMT
429
+ Strict-Transport-Security:
430
+ - max-age=31536000; includeSubDomains
431
+ X-Content-Type-Options:
432
+ - nosniff
433
+ X-Xss-Protection:
434
+ - 1; mode=block
435
+ Content-Security-Policy:
436
+ - referrer origin-when-cross-origin
437
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
438
+ Set-Cookie:
439
+ - BrowserId=dDoacg1vRL-QZm3LCug4nw;Path=/;Domain=.salesforce.com;Expires=Sat,
440
+ 01-Jul-2017 20:45:23 GMT
441
+ Expires:
442
+ - Thu, 01 Jan 1970 00:00:00 GMT
443
+ Pragma:
444
+ - no-cache
445
+ Cache-Control:
446
+ - no-cache, no-store
447
+ X-Readonlymode:
448
+ - 'false'
449
+ Content-Type:
450
+ - application/json;charset=UTF-8
451
+ Vary:
452
+ - Accept-Encoding
453
+ Transfer-Encoding:
454
+ - chunked
455
+ body:
456
+ encoding: ASCII-8BIT
457
+ string: '{"access_token":"{ACCESS_TOKEN}","instance_url":"https://instance.salesforce.com","id":"{ID_URL}","token_type":"Bearer","issued_at":"1493757924667","signature":"{SIGNATURE}"}'
458
+ http_version:
459
+ recorded_at: Tue, 02 May 2017 20:45:24 GMT
460
+ - request:
461
+ method: get
462
+ uri: https://instance.salesforce.com/services/async/39.0/job/7503600000BfwBSAAZ/batch/7513600000CF5onAAD
463
+ body:
464
+ encoding: US-ASCII
465
+ string: ''
466
+ headers:
467
+ User-Agent:
468
+ - Faraday v0.12.1
469
+ Content-Type:
470
+ - application/json
471
+ X-Sfdc-Session:
472
+ - "{SESSION_ID}"
473
+ Authorization:
474
+ - "{AUTHORIZATION}"
475
+ Accept-Encoding:
476
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
477
+ Accept:
478
+ - "*/*"
479
+ response:
480
+ status:
481
+ code: 200
482
+ message: OK
483
+ headers:
484
+ Date:
485
+ - Tue, 02 May 2017 20:45:24 GMT
486
+ X-Content-Type-Options:
487
+ - nosniff
488
+ X-Xss-Protection:
489
+ - 1; mode=block
490
+ Content-Security-Policy:
491
+ - referrer origin-when-cross-origin
492
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
493
+ Set-Cookie:
494
+ - BrowserId=HF046MPwRcOs_q4zIXWlww;Path=/;Domain=.salesforce.com;Expires=Sat,
495
+ 01-Jul-2017 20:45:24 GMT
496
+ Expires:
497
+ - Thu, 01 Jan 1970 00:00:00 GMT
498
+ Content-Type:
499
+ - application/json
500
+ Transfer-Encoding:
501
+ - chunked
502
+ body:
503
+ encoding: ASCII-8BIT
504
+ string: '{"apexProcessingTime":0,"apiActiveProcessingTime":145,"createdDate":"2017-05-02T20:45:21.000+0000","id":"7513600000CF5onAAD","jobId":"7503600000BfwBSAAZ","numberRecordsFailed":0,"numberRecordsProcessed":1,"state":"Completed","stateMessage":null,"systemModstamp":"2017-05-02T20:45:24.000+0000","totalProcessingTime":240}'
505
+ http_version:
506
+ recorded_at: Tue, 02 May 2017 20:45:24 GMT
507
+ - request:
508
+ method: post
509
+ uri: https://login.salesforce.com/services/oauth2/token
510
+ body:
511
+ encoding: US-ASCII
512
+ string: grant_type=password&client_id={SALESFORCE_OAUTH_CONSUMER_KEY}&client_secret={SALESFORCE_OAUTH_CONSUMER_SECRET}&username=%7BSALESFORCE_USERNAME%7D&password=%7BSALESFORCE_PASSWORD%7D{SALESFORCE_SECURITY_TOKEN}
513
+ headers:
514
+ User-Agent:
515
+ - Faraday v0.12.1
516
+ Content-Type:
517
+ - application/x-www-form-urlencoded
518
+ Accept-Encoding:
519
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
520
+ Accept:
521
+ - "*/*"
522
+ response:
523
+ status:
524
+ code: 200
525
+ message: OK
526
+ headers:
527
+ Date:
528
+ - Tue, 02 May 2017 20:45:25 GMT
529
+ Strict-Transport-Security:
530
+ - max-age=31536000; includeSubDomains
531
+ X-Content-Type-Options:
532
+ - nosniff
533
+ X-Xss-Protection:
534
+ - 1; mode=block
535
+ Content-Security-Policy:
536
+ - referrer origin-when-cross-origin
537
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
538
+ Set-Cookie:
539
+ - BrowserId=-y2KkVd5TYS-DTt-swqC5g;Path=/;Domain=.salesforce.com;Expires=Sat,
540
+ 01-Jul-2017 20:45:25 GMT
541
+ Expires:
542
+ - Thu, 01 Jan 1970 00:00:00 GMT
543
+ Pragma:
544
+ - no-cache
545
+ Cache-Control:
546
+ - no-cache, no-store
547
+ X-Readonlymode:
548
+ - 'false'
549
+ Content-Type:
550
+ - application/json;charset=UTF-8
551
+ Vary:
552
+ - Accept-Encoding
553
+ Transfer-Encoding:
554
+ - chunked
555
+ body:
556
+ encoding: ASCII-8BIT
557
+ string: '{"access_token":"{ACCESS_TOKEN}","instance_url":"https://instance.salesforce.com","id":"{ID_URL}","token_type":"Bearer","issued_at":"1493757925558","signature":"{SIGNATURE}"}'
558
+ http_version:
559
+ recorded_at: Tue, 02 May 2017 20:45:25 GMT
560
+ - request:
561
+ method: get
562
+ uri: https://instance.salesforce.com/services/async/39.0/job/7503600000BfwBSAAZ
563
+ body:
564
+ encoding: US-ASCII
565
+ string: ''
566
+ headers:
567
+ User-Agent:
568
+ - Faraday v0.12.1
569
+ Content-Type:
570
+ - application/json
571
+ X-Sfdc-Session:
572
+ - "{SESSION_ID}"
573
+ Authorization:
574
+ - "{AUTHORIZATION}"
575
+ Accept-Encoding:
576
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
577
+ Accept:
578
+ - "*/*"
579
+ response:
580
+ status:
581
+ code: 200
582
+ message: OK
583
+ headers:
584
+ Date:
585
+ - Tue, 02 May 2017 20:45:25 GMT
586
+ X-Content-Type-Options:
587
+ - nosniff
588
+ X-Xss-Protection:
589
+ - 1; mode=block
590
+ Content-Security-Policy:
591
+ - referrer origin-when-cross-origin
592
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
593
+ Set-Cookie:
594
+ - BrowserId=sRnEoTN8TjO3Z6bOKvvAzg;Path=/;Domain=.salesforce.com;Expires=Sat,
595
+ 01-Jul-2017 20:45:25 GMT
596
+ Expires:
597
+ - Thu, 01 Jan 1970 00:00:00 GMT
598
+ Content-Type:
599
+ - application/json
600
+ Transfer-Encoding:
601
+ - chunked
602
+ body:
603
+ encoding: ASCII-8BIT
604
+ string: '{"apexProcessingTime":0,"apiActiveProcessingTime":145,"apiVersion":39.0,"assignmentRuleId":null,"concurrencyMode":"Parallel","contentType":"JSON","createdById":"00536000001qtbXAAQ","createdDate":"2017-05-02T20:45:20.000+0000","externalIdFieldName":null,"fastPathEnabled":false,"id":"7503600000BfwBSAAZ","numberBatchesCompleted":1,"numberBatchesFailed":0,"numberBatchesInProgress":0,"numberBatchesQueued":0,"numberBatchesTotal":1,"numberRecordsFailed":0,"numberRecordsProcessed":1,"numberRetries":0,"object":"Account","operation":"insert","state":"Closed","systemModstamp":"2017-05-02T20:45:22.000+0000","totalProcessingTime":240}'
605
+ http_version:
606
+ recorded_at: Tue, 02 May 2017 20:45:26 GMT
607
+ - request:
608
+ method: post
609
+ uri: https://login.salesforce.com/services/oauth2/token
610
+ body:
611
+ encoding: US-ASCII
612
+ string: grant_type=password&client_id={SALESFORCE_OAUTH_CONSUMER_KEY}&client_secret={SALESFORCE_OAUTH_CONSUMER_SECRET}&username=%7BSALESFORCE_USERNAME%7D&password=%7BSALESFORCE_PASSWORD%7D{SALESFORCE_SECURITY_TOKEN}
613
+ headers:
614
+ User-Agent:
615
+ - Faraday v0.12.1
616
+ Content-Type:
617
+ - application/x-www-form-urlencoded
618
+ Accept-Encoding:
619
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
620
+ Accept:
621
+ - "*/*"
622
+ response:
623
+ status:
624
+ code: 200
625
+ message: OK
626
+ headers:
627
+ Date:
628
+ - Tue, 02 May 2017 20:45:26 GMT
629
+ Strict-Transport-Security:
630
+ - max-age=31536000; includeSubDomains
631
+ X-Content-Type-Options:
632
+ - nosniff
633
+ X-Xss-Protection:
634
+ - 1; mode=block
635
+ Content-Security-Policy:
636
+ - referrer origin-when-cross-origin
637
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
638
+ Set-Cookie:
639
+ - BrowserId=U8ckWMYKSxCi4oKp1WZk0g;Path=/;Domain=.salesforce.com;Expires=Sat,
640
+ 01-Jul-2017 20:45:26 GMT
641
+ Expires:
642
+ - Thu, 01 Jan 1970 00:00:00 GMT
643
+ Pragma:
644
+ - no-cache
645
+ Cache-Control:
646
+ - no-cache, no-store
647
+ X-Readonlymode:
648
+ - 'false'
649
+ Content-Type:
650
+ - application/json;charset=UTF-8
651
+ Vary:
652
+ - Accept-Encoding
653
+ Transfer-Encoding:
654
+ - chunked
655
+ body:
656
+ encoding: ASCII-8BIT
657
+ string: '{"access_token":"{ACCESS_TOKEN}","instance_url":"https://instance.salesforce.com","id":"{ID_URL}","token_type":"Bearer","issued_at":"1493757927469","signature":"{SIGNATURE}"}'
658
+ http_version:
659
+ recorded_at: Tue, 02 May 2017 20:45:27 GMT
660
+ - request:
661
+ method: get
662
+ uri: https://instance.salesforce.com/services/async/39.0/job/7503600000BfwBSAAZ/batch/7513600000CF5onAAD/result
663
+ body:
664
+ encoding: US-ASCII
665
+ string: ''
666
+ headers:
667
+ User-Agent:
668
+ - Faraday v0.12.1
669
+ Content-Type:
670
+ - application/json
671
+ X-Sfdc-Session:
672
+ - "{SESSION_ID}"
673
+ Authorization:
674
+ - "{AUTHORIZATION}"
675
+ Accept-Encoding:
676
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
677
+ Accept:
678
+ - "*/*"
679
+ response:
680
+ status:
681
+ code: 200
682
+ message: OK
683
+ headers:
684
+ Date:
685
+ - Tue, 02 May 2017 20:45:27 GMT
686
+ X-Content-Type-Options:
687
+ - nosniff
688
+ X-Xss-Protection:
689
+ - 1; mode=block
690
+ Content-Security-Policy:
691
+ - referrer origin-when-cross-origin
692
+ - reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
693
+ Set-Cookie:
694
+ - BrowserId=JDbGdMmVTCKAvG0ObEf6kg;Path=/;Domain=.salesforce.com;Expires=Sat,
695
+ 01-Jul-2017 20:45:27 GMT
696
+ Expires:
697
+ - Thu, 01 Jan 1970 00:00:00 GMT
698
+ Content-Type:
699
+ - application/json
700
+ Transfer-Encoding:
701
+ - chunked
702
+ body:
703
+ encoding: ASCII-8BIT
704
+ string: |-
705
+ [ {
706
+ "success" : true,
707
+ "created" : true,
708
+ "id" : "00136000014tyLaAAI",
709
+ "errors" : [ ]
710
+ } ]
711
+ http_version:
712
+ recorded_at: Tue, 02 May 2017 20:45:27 GMT
713
+ recorded_with: VCR 3.0.3