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