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