activesalesforce 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. data/README +3 -1
  2. data/lib/asf_adapter.rb +21 -14
  3. data/lib/rforce.rb +5 -8
  4. data/test/unit/basic_test.rb +6 -2
  5. data/test/unit/config.yml +3 -7
  6. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_add_notes_to_contact.recording +1068 -875
  7. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_assignment_rule_id.recording +836 -697
  8. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_batch_insert.recording +852 -729
  9. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_client_id.recording +1236 -0
  10. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_count_contacts.recording +830 -2703
  11. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_create_a_contact.recording +831 -692
  12. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact.recording +831 -692
  13. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_first_name.recording +844 -949
  14. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_id.recording +865 -730
  15. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_addresses.recording +841 -930
  16. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_get_created_by_from_contact.recording +2071 -1614
  17. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_master_detail.recording +1146 -701
  18. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_read_all_content_columns.recording +831 -692
  19. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_save_a_contact.recording +831 -692
  20. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_default_rule.recording +833 -695
  21. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_update_mru.recording +833 -695
  22. data/test/unit/recorded_test_case.rb +1 -3
  23. metadata +23 -35
  24. data/test/unit/config.yml~ +0 -8
  25. data/test/unit/profiler_results.txt +0 -1072
  26. data/test/unit/profiler_results_live.txt +0 -1347
  27. data/test/unit/test.html +0 -157
  28. data/test/unit/test.html~ +0 -183
@@ -0,0 +1,1236 @@
1
+ ---
2
+ login(username::password:): !ruby/object:RForce::SoapResponse
3
+ parsed:
4
+ :loginResponse:
5
+ :result:
6
+ :userInfo:
7
+ :userUiSkin: Theme2
8
+ :organizationMultiCurrency: "false"
9
+ :userFullName: Dutch Chasman
10
+ :organizationName: activesalesforce.com
11
+ :userLanguage: en_US
12
+ :accessibilityMode: "false"
13
+ :profileId: 00eT0000000i7XpIAI
14
+ :userLocale: en_US
15
+ :currencySymbol: $
16
+ :roleId:
17
+ :userName: dutch@activesalesforce.com
18
+ :licenseType: Salesforce
19
+ :userDefaultCurrencyIsoCode:
20
+ :userTimeZone: America/Los_Angeles
21
+ :organizationId: 00DT0000000D3YHMA0
22
+ :userId: 005T0000000eI4DIAU
23
+ :userEmail: dchasman@salesforce.com
24
+ :sessionId: GMZpNXhdaN.0D47OcpWrt4T5NgFbeS7sDSTOoFSfCRB_OEYpKltRL_6Pj_93OQmH2uCOglzMMlXgoy4lD.FML7rtHN0=
25
+ :serverUrl: https://tapp0-api.salesforce.com/services/Soap/u/8.0
26
+ :passwordExpired: "false"
27
+ :userId: 005T0000000eI4DIAU
28
+ ---
29
+ describeSObject(sObjectType:Contact): !ruby/object:RForce::SoapResponse
30
+ parsed:
31
+ :describeSObjectResponse:
32
+ :result:
33
+ :name: Contact
34
+ :createable: "true"
35
+ :childRelationships:
36
+ - :relationshipName: AccountContactRoles
37
+ :field: ContactId
38
+ :cascadeDelete: "true"
39
+ :childSObject: AccountContactRole
40
+ - :relationshipName: ActivityHistories
41
+ :field: WhoId
42
+ :cascadeDelete: "true"
43
+ :childSObject: ActivityHistory
44
+ - :relationshipName: Assets
45
+ :field: ContactId
46
+ :cascadeDelete: "false"
47
+ :childSObject: Asset
48
+ - :relationshipName: Attachments
49
+ :field: ParentId
50
+ :cascadeDelete: "false"
51
+ :childSObject: Attachment
52
+ - :relationshipName: CampaignMembers
53
+ :field: ContactId
54
+ :cascadeDelete: "true"
55
+ :childSObject: CampaignMember
56
+ - :relationshipName: Cases
57
+ :field: ContactId
58
+ :cascadeDelete: "false"
59
+ :childSObject: Case
60
+ - :relationshipName: CaseContactRoles
61
+ :field: ContactId
62
+ :cascadeDelete: "true"
63
+ :childSObject: CaseContactRole
64
+ - :field: ReportsToId
65
+ :cascadeDelete: "false"
66
+ :childSObject: Contact
67
+ - :relationshipName: ContractsSigned
68
+ :field: CustomerSignedId
69
+ :cascadeDelete: "false"
70
+ :childSObject: Contract
71
+ - :relationshipName: ContractContactRoles
72
+ :field: ContactId
73
+ :cascadeDelete: "true"
74
+ :childSObject: ContractContactRole
75
+ - :relationshipName: EmailStatuses
76
+ :field: WhoId
77
+ :cascadeDelete: "true"
78
+ :childSObject: EmailStatus
79
+ - :relationshipName: Events
80
+ :field: WhoId
81
+ :cascadeDelete: "true"
82
+ :childSObject: Event
83
+ - :field: AttendeeId
84
+ :cascadeDelete: "true"
85
+ :childSObject: EventAttendee
86
+ - :field: ConvertedContactId
87
+ :cascadeDelete: "false"
88
+ :childSObject: Lead
89
+ - :relationshipName: Notes
90
+ :field: ParentId
91
+ :cascadeDelete: "true"
92
+ :childSObject: Note
93
+ - :relationshipName: NotesAndAttachments
94
+ :field: ParentId
95
+ :cascadeDelete: "true"
96
+ :childSObject: NoteAndAttachment
97
+ - :relationshipName: OpenActivities
98
+ :field: WhoId
99
+ :cascadeDelete: "true"
100
+ :childSObject: OpenActivity
101
+ - :relationshipName: OpportunityContactRoles
102
+ :field: ContactId
103
+ :cascadeDelete: "true"
104
+ :childSObject: OpportunityContactRole
105
+ - :relationshipName: ProcessInstances
106
+ :field: TargetObjectId
107
+ :cascadeDelete: "true"
108
+ :childSObject: ProcessInstance
109
+ - :relationshipName: ProcessSteps
110
+ :field: TargetObjectId
111
+ :cascadeDelete: "false"
112
+ :childSObject: ProcessInstanceHistory
113
+ - :field: ContactId
114
+ :cascadeDelete: "false"
115
+ :childSObject: SelfServiceUser
116
+ - :relationshipName: Tasks
117
+ :field: WhoId
118
+ :cascadeDelete: "true"
119
+ :childSObject: Task
120
+ :undeletable: "true"
121
+ :labelPlural: Contacts
122
+ :custom: "false"
123
+ :urlDetail: https://tapp0.salesforce.com/{ID}
124
+ :layoutable: "true"
125
+ :urlEdit: https://tapp0.salesforce.com/{ID}/e
126
+ :mergeable: "true"
127
+ :label: Contact
128
+ :replicateable: "true"
129
+ :activateable: "false"
130
+ :urlNew: https://tapp0.salesforce.com/003/e
131
+ :queryable: "true"
132
+ :fields:
133
+ - :scale: "0"
134
+ :name: Id
135
+ :filterable: "true"
136
+ :createable: "false"
137
+ :length: "18"
138
+ :custom: "false"
139
+ :byteLength: "18"
140
+ :unique: "false"
141
+ :namePointing: "false"
142
+ :nameField: "false"
143
+ :calculated: "false"
144
+ :restrictedPicklist: "false"
145
+ :label: Contact ID
146
+ :caseSensitive: "false"
147
+ :soapType: tns:ID
148
+ :sortable: "true"
149
+ :defaultedOnCreate: "true"
150
+ :nillable: "false"
151
+ :type: id
152
+ :precision: "0"
153
+ :digits: "0"
154
+ :updateable: "false"
155
+ :autoNumber: "false"
156
+ - :scale: "0"
157
+ :name: IsDeleted
158
+ :filterable: "true"
159
+ :createable: "false"
160
+ :length: "0"
161
+ :custom: "false"
162
+ :byteLength: "0"
163
+ :unique: "false"
164
+ :namePointing: "false"
165
+ :nameField: "false"
166
+ :calculated: "false"
167
+ :restrictedPicklist: "false"
168
+ :label: Deleted
169
+ :caseSensitive: "false"
170
+ :soapType: xsd:boolean
171
+ :sortable: "true"
172
+ :defaultedOnCreate: "true"
173
+ :nillable: "false"
174
+ :type: boolean
175
+ :precision: "0"
176
+ :digits: "0"
177
+ :updateable: "false"
178
+ :autoNumber: "false"
179
+ - :scale: "0"
180
+ :name: MasterRecordId
181
+ :filterable: "true"
182
+ :createable: "false"
183
+ :length: "18"
184
+ :custom: "false"
185
+ :byteLength: "18"
186
+ :unique: "false"
187
+ :namePointing: "false"
188
+ :nameField: "false"
189
+ :calculated: "false"
190
+ :restrictedPicklist: "false"
191
+ :label: Master Record ID
192
+ :caseSensitive: "false"
193
+ :soapType: tns:ID
194
+ :sortable: "true"
195
+ :defaultedOnCreate: "false"
196
+ :nillable: "true"
197
+ :type: reference
198
+ :precision: "0"
199
+ :digits: "0"
200
+ :updateable: "false"
201
+ :referenceTo: Contact
202
+ :autoNumber: "false"
203
+ - :scale: "0"
204
+ :relationshipName: Account
205
+ :name: AccountId
206
+ :filterable: "true"
207
+ :createable: "true"
208
+ :length: "18"
209
+ :custom: "false"
210
+ :byteLength: "18"
211
+ :unique: "false"
212
+ :namePointing: "false"
213
+ :nameField: "false"
214
+ :calculated: "false"
215
+ :restrictedPicklist: "false"
216
+ :label: Account ID
217
+ :caseSensitive: "false"
218
+ :soapType: tns:ID
219
+ :sortable: "true"
220
+ :defaultedOnCreate: "false"
221
+ :nillable: "true"
222
+ :type: reference
223
+ :precision: "0"
224
+ :digits: "0"
225
+ :updateable: "true"
226
+ :referenceTo: Account
227
+ :autoNumber: "false"
228
+ - :scale: "0"
229
+ :name: LastName
230
+ :filterable: "true"
231
+ :createable: "true"
232
+ :length: "80"
233
+ :custom: "false"
234
+ :byteLength: "240"
235
+ :unique: "false"
236
+ :namePointing: "false"
237
+ :nameField: "false"
238
+ :calculated: "false"
239
+ :restrictedPicklist: "false"
240
+ :label: Last Name
241
+ :caseSensitive: "false"
242
+ :soapType: xsd:string
243
+ :sortable: "true"
244
+ :defaultedOnCreate: "false"
245
+ :nillable: "false"
246
+ :type: string
247
+ :precision: "0"
248
+ :digits: "0"
249
+ :updateable: "true"
250
+ :autoNumber: "false"
251
+ - :scale: "0"
252
+ :name: FirstName
253
+ :filterable: "true"
254
+ :createable: "true"
255
+ :length: "40"
256
+ :custom: "false"
257
+ :byteLength: "120"
258
+ :unique: "false"
259
+ :namePointing: "false"
260
+ :nameField: "false"
261
+ :calculated: "false"
262
+ :restrictedPicklist: "false"
263
+ :label: First Name
264
+ :caseSensitive: "false"
265
+ :soapType: xsd:string
266
+ :sortable: "true"
267
+ :defaultedOnCreate: "false"
268
+ :nillable: "true"
269
+ :type: string
270
+ :precision: "0"
271
+ :digits: "0"
272
+ :updateable: "true"
273
+ :autoNumber: "false"
274
+ - :scale: "0"
275
+ :name: Salutation
276
+ :filterable: "true"
277
+ :createable: "true"
278
+ :length: "40"
279
+ :custom: "false"
280
+ :byteLength: "120"
281
+ :unique: "false"
282
+ :namePointing: "false"
283
+ :nameField: "false"
284
+ :calculated: "false"
285
+ :restrictedPicklist: "false"
286
+ :label: Salutation
287
+ :caseSensitive: "false"
288
+ :soapType: xsd:string
289
+ :sortable: "true"
290
+ :defaultedOnCreate: "false"
291
+ :picklistValues:
292
+ - :value: Mr.
293
+ :label: Mr.
294
+ :active: "true"
295
+ :defaultValue: "false"
296
+ - :value: Ms.
297
+ :label: Ms.
298
+ :active: "true"
299
+ :defaultValue: "false"
300
+ - :value: Mrs.
301
+ :label: Mrs.
302
+ :active: "true"
303
+ :defaultValue: "false"
304
+ - :value: Dr.
305
+ :label: Dr.
306
+ :active: "true"
307
+ :defaultValue: "false"
308
+ - :value: Prof.
309
+ :label: Prof.
310
+ :active: "true"
311
+ :defaultValue: "false"
312
+ :nillable: "true"
313
+ :type: picklist
314
+ :precision: "0"
315
+ :digits: "0"
316
+ :updateable: "true"
317
+ :autoNumber: "false"
318
+ - :scale: "0"
319
+ :name: Name
320
+ :filterable: "true"
321
+ :createable: "false"
322
+ :length: "121"
323
+ :custom: "false"
324
+ :byteLength: "363"
325
+ :unique: "false"
326
+ :namePointing: "false"
327
+ :nameField: "true"
328
+ :calculated: "false"
329
+ :restrictedPicklist: "false"
330
+ :label: Full Name
331
+ :caseSensitive: "false"
332
+ :soapType: xsd:string
333
+ :sortable: "true"
334
+ :defaultedOnCreate: "false"
335
+ :nillable: "false"
336
+ :type: string
337
+ :precision: "0"
338
+ :digits: "0"
339
+ :updateable: "false"
340
+ :autoNumber: "false"
341
+ - :scale: "0"
342
+ :name: OtherStreet
343
+ :filterable: "true"
344
+ :createable: "true"
345
+ :length: "255"
346
+ :custom: "false"
347
+ :byteLength: "765"
348
+ :unique: "false"
349
+ :namePointing: "false"
350
+ :nameField: "false"
351
+ :calculated: "false"
352
+ :restrictedPicklist: "false"
353
+ :label: Other Street
354
+ :caseSensitive: "false"
355
+ :soapType: xsd:string
356
+ :sortable: "true"
357
+ :defaultedOnCreate: "false"
358
+ :nillable: "true"
359
+ :type: textarea
360
+ :precision: "0"
361
+ :digits: "0"
362
+ :updateable: "true"
363
+ :autoNumber: "false"
364
+ - :scale: "0"
365
+ :name: OtherCity
366
+ :filterable: "true"
367
+ :createable: "true"
368
+ :length: "40"
369
+ :custom: "false"
370
+ :byteLength: "120"
371
+ :unique: "false"
372
+ :namePointing: "false"
373
+ :nameField: "false"
374
+ :calculated: "false"
375
+ :restrictedPicklist: "false"
376
+ :label: Other City
377
+ :caseSensitive: "false"
378
+ :soapType: xsd:string
379
+ :sortable: "true"
380
+ :defaultedOnCreate: "false"
381
+ :nillable: "true"
382
+ :type: string
383
+ :precision: "0"
384
+ :digits: "0"
385
+ :updateable: "true"
386
+ :autoNumber: "false"
387
+ - :scale: "0"
388
+ :name: OtherState
389
+ :filterable: "true"
390
+ :createable: "true"
391
+ :length: "20"
392
+ :custom: "false"
393
+ :byteLength: "60"
394
+ :unique: "false"
395
+ :namePointing: "false"
396
+ :nameField: "false"
397
+ :calculated: "false"
398
+ :restrictedPicklist: "false"
399
+ :label: Other State/Province
400
+ :caseSensitive: "false"
401
+ :soapType: xsd:string
402
+ :sortable: "true"
403
+ :defaultedOnCreate: "false"
404
+ :nillable: "true"
405
+ :type: string
406
+ :precision: "0"
407
+ :digits: "0"
408
+ :updateable: "true"
409
+ :autoNumber: "false"
410
+ - :scale: "0"
411
+ :name: OtherPostalCode
412
+ :filterable: "true"
413
+ :createable: "true"
414
+ :length: "20"
415
+ :custom: "false"
416
+ :byteLength: "60"
417
+ :unique: "false"
418
+ :namePointing: "false"
419
+ :nameField: "false"
420
+ :calculated: "false"
421
+ :restrictedPicklist: "false"
422
+ :label: Other Zip/Postal Code
423
+ :caseSensitive: "false"
424
+ :soapType: xsd:string
425
+ :sortable: "true"
426
+ :defaultedOnCreate: "false"
427
+ :nillable: "true"
428
+ :type: string
429
+ :precision: "0"
430
+ :digits: "0"
431
+ :updateable: "true"
432
+ :autoNumber: "false"
433
+ - :scale: "0"
434
+ :name: OtherCountry
435
+ :filterable: "true"
436
+ :createable: "true"
437
+ :length: "40"
438
+ :custom: "false"
439
+ :byteLength: "120"
440
+ :unique: "false"
441
+ :namePointing: "false"
442
+ :nameField: "false"
443
+ :calculated: "false"
444
+ :restrictedPicklist: "false"
445
+ :label: Other Country
446
+ :caseSensitive: "false"
447
+ :soapType: xsd:string
448
+ :sortable: "true"
449
+ :defaultedOnCreate: "false"
450
+ :nillable: "true"
451
+ :type: string
452
+ :precision: "0"
453
+ :digits: "0"
454
+ :updateable: "true"
455
+ :autoNumber: "false"
456
+ - :scale: "0"
457
+ :name: MailingStreet
458
+ :filterable: "true"
459
+ :createable: "true"
460
+ :length: "255"
461
+ :custom: "false"
462
+ :byteLength: "765"
463
+ :unique: "false"
464
+ :namePointing: "false"
465
+ :nameField: "false"
466
+ :calculated: "false"
467
+ :restrictedPicklist: "false"
468
+ :label: Mailing Street
469
+ :caseSensitive: "false"
470
+ :soapType: xsd:string
471
+ :sortable: "true"
472
+ :defaultedOnCreate: "false"
473
+ :nillable: "true"
474
+ :type: textarea
475
+ :precision: "0"
476
+ :digits: "0"
477
+ :updateable: "true"
478
+ :autoNumber: "false"
479
+ - :scale: "0"
480
+ :name: MailingCity
481
+ :filterable: "true"
482
+ :createable: "true"
483
+ :length: "40"
484
+ :custom: "false"
485
+ :byteLength: "120"
486
+ :unique: "false"
487
+ :namePointing: "false"
488
+ :nameField: "false"
489
+ :calculated: "false"
490
+ :restrictedPicklist: "false"
491
+ :label: Mailing City
492
+ :caseSensitive: "false"
493
+ :soapType: xsd:string
494
+ :sortable: "true"
495
+ :defaultedOnCreate: "false"
496
+ :nillable: "true"
497
+ :type: string
498
+ :precision: "0"
499
+ :digits: "0"
500
+ :updateable: "true"
501
+ :autoNumber: "false"
502
+ - :scale: "0"
503
+ :name: MailingState
504
+ :filterable: "true"
505
+ :createable: "true"
506
+ :length: "20"
507
+ :custom: "false"
508
+ :byteLength: "60"
509
+ :unique: "false"
510
+ :namePointing: "false"
511
+ :nameField: "false"
512
+ :calculated: "false"
513
+ :restrictedPicklist: "false"
514
+ :label: Mailing State/Province
515
+ :caseSensitive: "false"
516
+ :soapType: xsd:string
517
+ :sortable: "true"
518
+ :defaultedOnCreate: "false"
519
+ :nillable: "true"
520
+ :type: string
521
+ :precision: "0"
522
+ :digits: "0"
523
+ :updateable: "true"
524
+ :autoNumber: "false"
525
+ - :scale: "0"
526
+ :name: MailingPostalCode
527
+ :filterable: "true"
528
+ :createable: "true"
529
+ :length: "20"
530
+ :custom: "false"
531
+ :byteLength: "60"
532
+ :unique: "false"
533
+ :namePointing: "false"
534
+ :nameField: "false"
535
+ :calculated: "false"
536
+ :restrictedPicklist: "false"
537
+ :label: Mailing Zip/Postal Code
538
+ :caseSensitive: "false"
539
+ :soapType: xsd:string
540
+ :sortable: "true"
541
+ :defaultedOnCreate: "false"
542
+ :nillable: "true"
543
+ :type: string
544
+ :precision: "0"
545
+ :digits: "0"
546
+ :updateable: "true"
547
+ :autoNumber: "false"
548
+ - :scale: "0"
549
+ :name: MailingCountry
550
+ :filterable: "true"
551
+ :createable: "true"
552
+ :length: "40"
553
+ :custom: "false"
554
+ :byteLength: "120"
555
+ :unique: "false"
556
+ :namePointing: "false"
557
+ :nameField: "false"
558
+ :calculated: "false"
559
+ :restrictedPicklist: "false"
560
+ :label: Mailing Country
561
+ :caseSensitive: "false"
562
+ :soapType: xsd:string
563
+ :sortable: "true"
564
+ :defaultedOnCreate: "false"
565
+ :nillable: "true"
566
+ :type: string
567
+ :precision: "0"
568
+ :digits: "0"
569
+ :updateable: "true"
570
+ :autoNumber: "false"
571
+ - :scale: "0"
572
+ :name: Phone
573
+ :filterable: "true"
574
+ :createable: "true"
575
+ :length: "40"
576
+ :custom: "false"
577
+ :byteLength: "120"
578
+ :unique: "false"
579
+ :namePointing: "false"
580
+ :nameField: "false"
581
+ :calculated: "false"
582
+ :restrictedPicklist: "false"
583
+ :label: Business Phone
584
+ :caseSensitive: "false"
585
+ :soapType: xsd:string
586
+ :sortable: "true"
587
+ :defaultedOnCreate: "false"
588
+ :nillable: "true"
589
+ :type: phone
590
+ :precision: "0"
591
+ :digits: "0"
592
+ :updateable: "true"
593
+ :autoNumber: "false"
594
+ - :scale: "0"
595
+ :name: Fax
596
+ :filterable: "true"
597
+ :createable: "true"
598
+ :length: "40"
599
+ :custom: "false"
600
+ :byteLength: "120"
601
+ :unique: "false"
602
+ :namePointing: "false"
603
+ :nameField: "false"
604
+ :calculated: "false"
605
+ :restrictedPicklist: "false"
606
+ :label: Business Fax
607
+ :caseSensitive: "false"
608
+ :soapType: xsd:string
609
+ :sortable: "true"
610
+ :defaultedOnCreate: "false"
611
+ :nillable: "true"
612
+ :type: phone
613
+ :precision: "0"
614
+ :digits: "0"
615
+ :updateable: "true"
616
+ :autoNumber: "false"
617
+ - :scale: "0"
618
+ :name: MobilePhone
619
+ :filterable: "true"
620
+ :createable: "true"
621
+ :length: "40"
622
+ :custom: "false"
623
+ :byteLength: "120"
624
+ :unique: "false"
625
+ :namePointing: "false"
626
+ :nameField: "false"
627
+ :calculated: "false"
628
+ :restrictedPicklist: "false"
629
+ :label: Mobile Phone
630
+ :caseSensitive: "false"
631
+ :soapType: xsd:string
632
+ :sortable: "true"
633
+ :defaultedOnCreate: "false"
634
+ :nillable: "true"
635
+ :type: phone
636
+ :precision: "0"
637
+ :digits: "0"
638
+ :updateable: "true"
639
+ :autoNumber: "false"
640
+ - :scale: "0"
641
+ :name: HomePhone
642
+ :filterable: "true"
643
+ :createable: "true"
644
+ :length: "40"
645
+ :custom: "false"
646
+ :byteLength: "120"
647
+ :unique: "false"
648
+ :namePointing: "false"
649
+ :nameField: "false"
650
+ :calculated: "false"
651
+ :restrictedPicklist: "false"
652
+ :label: Home Phone
653
+ :caseSensitive: "false"
654
+ :soapType: xsd:string
655
+ :sortable: "true"
656
+ :defaultedOnCreate: "false"
657
+ :nillable: "true"
658
+ :type: phone
659
+ :precision: "0"
660
+ :digits: "0"
661
+ :updateable: "true"
662
+ :autoNumber: "false"
663
+ - :scale: "0"
664
+ :name: OtherPhone
665
+ :filterable: "true"
666
+ :createable: "true"
667
+ :length: "40"
668
+ :custom: "false"
669
+ :byteLength: "120"
670
+ :unique: "false"
671
+ :namePointing: "false"
672
+ :nameField: "false"
673
+ :calculated: "false"
674
+ :restrictedPicklist: "false"
675
+ :label: Other Phone
676
+ :caseSensitive: "false"
677
+ :soapType: xsd:string
678
+ :sortable: "true"
679
+ :defaultedOnCreate: "false"
680
+ :nillable: "true"
681
+ :type: phone
682
+ :precision: "0"
683
+ :digits: "0"
684
+ :updateable: "true"
685
+ :autoNumber: "false"
686
+ - :scale: "0"
687
+ :name: AssistantPhone
688
+ :filterable: "true"
689
+ :createable: "true"
690
+ :length: "40"
691
+ :custom: "false"
692
+ :byteLength: "120"
693
+ :unique: "false"
694
+ :namePointing: "false"
695
+ :nameField: "false"
696
+ :calculated: "false"
697
+ :restrictedPicklist: "false"
698
+ :label: Asst. Phone
699
+ :caseSensitive: "false"
700
+ :soapType: xsd:string
701
+ :sortable: "true"
702
+ :defaultedOnCreate: "false"
703
+ :nillable: "true"
704
+ :type: phone
705
+ :precision: "0"
706
+ :digits: "0"
707
+ :updateable: "true"
708
+ :autoNumber: "false"
709
+ - :scale: "0"
710
+ :relationshipName: ReportsTo
711
+ :name: ReportsToId
712
+ :filterable: "true"
713
+ :createable: "true"
714
+ :length: "18"
715
+ :custom: "false"
716
+ :byteLength: "18"
717
+ :unique: "false"
718
+ :namePointing: "false"
719
+ :nameField: "false"
720
+ :calculated: "false"
721
+ :restrictedPicklist: "false"
722
+ :label: Reports To ID
723
+ :caseSensitive: "false"
724
+ :soapType: tns:ID
725
+ :sortable: "true"
726
+ :defaultedOnCreate: "false"
727
+ :nillable: "true"
728
+ :type: reference
729
+ :precision: "0"
730
+ :digits: "0"
731
+ :updateable: "true"
732
+ :referenceTo: Contact
733
+ :autoNumber: "false"
734
+ - :scale: "0"
735
+ :name: Email
736
+ :filterable: "true"
737
+ :createable: "true"
738
+ :length: "80"
739
+ :custom: "false"
740
+ :byteLength: "240"
741
+ :unique: "false"
742
+ :namePointing: "false"
743
+ :nameField: "false"
744
+ :calculated: "false"
745
+ :restrictedPicklist: "false"
746
+ :label: Email
747
+ :caseSensitive: "false"
748
+ :soapType: xsd:string
749
+ :sortable: "true"
750
+ :defaultedOnCreate: "false"
751
+ :nillable: "true"
752
+ :type: email
753
+ :precision: "0"
754
+ :digits: "0"
755
+ :updateable: "true"
756
+ :autoNumber: "false"
757
+ - :scale: "0"
758
+ :name: Title
759
+ :filterable: "true"
760
+ :createable: "true"
761
+ :length: "80"
762
+ :custom: "false"
763
+ :byteLength: "240"
764
+ :unique: "false"
765
+ :namePointing: "false"
766
+ :nameField: "false"
767
+ :calculated: "false"
768
+ :restrictedPicklist: "false"
769
+ :label: Title
770
+ :caseSensitive: "false"
771
+ :soapType: xsd:string
772
+ :sortable: "true"
773
+ :defaultedOnCreate: "false"
774
+ :nillable: "true"
775
+ :type: string
776
+ :precision: "0"
777
+ :digits: "0"
778
+ :updateable: "true"
779
+ :autoNumber: "false"
780
+ - :scale: "0"
781
+ :name: Department
782
+ :filterable: "true"
783
+ :createable: "true"
784
+ :length: "80"
785
+ :custom: "false"
786
+ :byteLength: "240"
787
+ :unique: "false"
788
+ :namePointing: "false"
789
+ :nameField: "false"
790
+ :calculated: "false"
791
+ :restrictedPicklist: "false"
792
+ :label: Department
793
+ :caseSensitive: "false"
794
+ :soapType: xsd:string
795
+ :sortable: "true"
796
+ :defaultedOnCreate: "false"
797
+ :nillable: "true"
798
+ :type: string
799
+ :precision: "0"
800
+ :digits: "0"
801
+ :updateable: "true"
802
+ :autoNumber: "false"
803
+ - :scale: "0"
804
+ :name: AssistantName
805
+ :filterable: "true"
806
+ :createable: "true"
807
+ :length: "40"
808
+ :custom: "false"
809
+ :byteLength: "120"
810
+ :unique: "false"
811
+ :namePointing: "false"
812
+ :nameField: "false"
813
+ :calculated: "false"
814
+ :restrictedPicklist: "false"
815
+ :label: Assistant's Name
816
+ :caseSensitive: "false"
817
+ :soapType: xsd:string
818
+ :sortable: "true"
819
+ :defaultedOnCreate: "false"
820
+ :nillable: "true"
821
+ :type: string
822
+ :precision: "0"
823
+ :digits: "0"
824
+ :updateable: "true"
825
+ :autoNumber: "false"
826
+ - :scale: "0"
827
+ :name: LeadSource
828
+ :filterable: "true"
829
+ :createable: "true"
830
+ :length: "40"
831
+ :custom: "false"
832
+ :byteLength: "120"
833
+ :unique: "false"
834
+ :namePointing: "false"
835
+ :nameField: "false"
836
+ :calculated: "false"
837
+ :restrictedPicklist: "false"
838
+ :label: Lead Source
839
+ :caseSensitive: "false"
840
+ :soapType: xsd:string
841
+ :sortable: "true"
842
+ :defaultedOnCreate: "false"
843
+ :picklistValues:
844
+ - :value: Advertisement
845
+ :label: Advertisement
846
+ :active: "true"
847
+ :defaultValue: "false"
848
+ - :value: Employee Referral
849
+ :label: Employee Referral
850
+ :active: "true"
851
+ :defaultValue: "false"
852
+ - :value: External Referral
853
+ :label: External Referral
854
+ :active: "true"
855
+ :defaultValue: "false"
856
+ - :value: Partner
857
+ :label: Partner
858
+ :active: "true"
859
+ :defaultValue: "false"
860
+ - :value: Public Relations
861
+ :label: Public Relations
862
+ :active: "true"
863
+ :defaultValue: "false"
864
+ - :value: Seminar - Internal
865
+ :label: Seminar - Internal
866
+ :active: "true"
867
+ :defaultValue: "false"
868
+ - :value: Seminar - Partner
869
+ :label: Seminar - Partner
870
+ :active: "true"
871
+ :defaultValue: "false"
872
+ - :value: Trade Show
873
+ :label: Trade Show
874
+ :active: "true"
875
+ :defaultValue: "false"
876
+ - :value: Web
877
+ :label: Web
878
+ :active: "true"
879
+ :defaultValue: "false"
880
+ - :value: Word of mouth
881
+ :label: Word of mouth
882
+ :active: "true"
883
+ :defaultValue: "false"
884
+ - :value: Other
885
+ :label: Other
886
+ :active: "true"
887
+ :defaultValue: "false"
888
+ :nillable: "true"
889
+ :type: picklist
890
+ :precision: "0"
891
+ :digits: "0"
892
+ :updateable: "true"
893
+ :autoNumber: "false"
894
+ - :scale: "0"
895
+ :name: Birthdate
896
+ :filterable: "true"
897
+ :createable: "true"
898
+ :length: "0"
899
+ :custom: "false"
900
+ :byteLength: "0"
901
+ :unique: "false"
902
+ :namePointing: "false"
903
+ :nameField: "false"
904
+ :calculated: "false"
905
+ :restrictedPicklist: "false"
906
+ :label: Birthdate
907
+ :caseSensitive: "false"
908
+ :soapType: xsd:date
909
+ :sortable: "true"
910
+ :defaultedOnCreate: "false"
911
+ :nillable: "true"
912
+ :type: date
913
+ :precision: "0"
914
+ :digits: "0"
915
+ :updateable: "true"
916
+ :autoNumber: "false"
917
+ - :scale: "0"
918
+ :name: Description
919
+ :filterable: "false"
920
+ :createable: "true"
921
+ :length: "32000"
922
+ :custom: "false"
923
+ :byteLength: "32000"
924
+ :unique: "false"
925
+ :namePointing: "false"
926
+ :nameField: "false"
927
+ :calculated: "false"
928
+ :restrictedPicklist: "false"
929
+ :label: Contact Description
930
+ :caseSensitive: "false"
931
+ :soapType: xsd:string
932
+ :sortable: "false"
933
+ :defaultedOnCreate: "false"
934
+ :nillable: "true"
935
+ :type: textarea
936
+ :precision: "0"
937
+ :digits: "0"
938
+ :updateable: "true"
939
+ :autoNumber: "false"
940
+ - :scale: "0"
941
+ :relationshipName: Owner
942
+ :name: OwnerId
943
+ :filterable: "true"
944
+ :createable: "true"
945
+ :length: "18"
946
+ :custom: "false"
947
+ :byteLength: "18"
948
+ :unique: "false"
949
+ :namePointing: "false"
950
+ :nameField: "false"
951
+ :calculated: "false"
952
+ :restrictedPicklist: "false"
953
+ :label: Owner ID
954
+ :caseSensitive: "false"
955
+ :soapType: tns:ID
956
+ :sortable: "true"
957
+ :defaultedOnCreate: "true"
958
+ :nillable: "false"
959
+ :type: reference
960
+ :precision: "0"
961
+ :digits: "0"
962
+ :updateable: "true"
963
+ :referenceTo: User
964
+ :autoNumber: "false"
965
+ - :scale: "0"
966
+ :name: CreatedDate
967
+ :filterable: "true"
968
+ :createable: "false"
969
+ :length: "0"
970
+ :custom: "false"
971
+ :byteLength: "0"
972
+ :unique: "false"
973
+ :namePointing: "false"
974
+ :nameField: "false"
975
+ :calculated: "false"
976
+ :restrictedPicklist: "false"
977
+ :label: Created Date
978
+ :caseSensitive: "false"
979
+ :soapType: xsd:dateTime
980
+ :sortable: "true"
981
+ :defaultedOnCreate: "true"
982
+ :nillable: "false"
983
+ :type: datetime
984
+ :precision: "0"
985
+ :digits: "0"
986
+ :updateable: "false"
987
+ :autoNumber: "false"
988
+ - :scale: "0"
989
+ :relationshipName: CreatedBy
990
+ :name: CreatedById
991
+ :filterable: "true"
992
+ :createable: "false"
993
+ :length: "18"
994
+ :custom: "false"
995
+ :byteLength: "18"
996
+ :unique: "false"
997
+ :namePointing: "false"
998
+ :nameField: "false"
999
+ :calculated: "false"
1000
+ :restrictedPicklist: "false"
1001
+ :label: Created By ID
1002
+ :caseSensitive: "false"
1003
+ :soapType: tns:ID
1004
+ :sortable: "true"
1005
+ :defaultedOnCreate: "true"
1006
+ :nillable: "false"
1007
+ :type: reference
1008
+ :precision: "0"
1009
+ :digits: "0"
1010
+ :updateable: "false"
1011
+ :referenceTo: User
1012
+ :autoNumber: "false"
1013
+ - :scale: "0"
1014
+ :name: LastModifiedDate
1015
+ :filterable: "true"
1016
+ :createable: "false"
1017
+ :length: "0"
1018
+ :custom: "false"
1019
+ :byteLength: "0"
1020
+ :unique: "false"
1021
+ :namePointing: "false"
1022
+ :nameField: "false"
1023
+ :calculated: "false"
1024
+ :restrictedPicklist: "false"
1025
+ :label: Last Modified Date
1026
+ :caseSensitive: "false"
1027
+ :soapType: xsd:dateTime
1028
+ :sortable: "true"
1029
+ :defaultedOnCreate: "true"
1030
+ :nillable: "false"
1031
+ :type: datetime
1032
+ :precision: "0"
1033
+ :digits: "0"
1034
+ :updateable: "false"
1035
+ :autoNumber: "false"
1036
+ - :scale: "0"
1037
+ :relationshipName: LastModifiedBy
1038
+ :name: LastModifiedById
1039
+ :filterable: "true"
1040
+ :createable: "false"
1041
+ :length: "18"
1042
+ :custom: "false"
1043
+ :byteLength: "18"
1044
+ :unique: "false"
1045
+ :namePointing: "false"
1046
+ :nameField: "false"
1047
+ :calculated: "false"
1048
+ :restrictedPicklist: "false"
1049
+ :label: Last Modified By ID
1050
+ :caseSensitive: "false"
1051
+ :soapType: tns:ID
1052
+ :sortable: "true"
1053
+ :defaultedOnCreate: "true"
1054
+ :nillable: "false"
1055
+ :type: reference
1056
+ :precision: "0"
1057
+ :digits: "0"
1058
+ :updateable: "false"
1059
+ :referenceTo: User
1060
+ :autoNumber: "false"
1061
+ - :scale: "0"
1062
+ :name: SystemModstamp
1063
+ :filterable: "true"
1064
+ :createable: "false"
1065
+ :length: "0"
1066
+ :custom: "false"
1067
+ :byteLength: "0"
1068
+ :unique: "false"
1069
+ :namePointing: "false"
1070
+ :nameField: "false"
1071
+ :calculated: "false"
1072
+ :restrictedPicklist: "false"
1073
+ :label: System Modstamp
1074
+ :caseSensitive: "false"
1075
+ :soapType: xsd:dateTime
1076
+ :sortable: "true"
1077
+ :defaultedOnCreate: "true"
1078
+ :nillable: "false"
1079
+ :type: datetime
1080
+ :precision: "0"
1081
+ :digits: "0"
1082
+ :updateable: "false"
1083
+ :autoNumber: "false"
1084
+ - :scale: "0"
1085
+ :name: LastActivityDate
1086
+ :filterable: "true"
1087
+ :createable: "false"
1088
+ :length: "0"
1089
+ :custom: "false"
1090
+ :byteLength: "0"
1091
+ :unique: "false"
1092
+ :namePointing: "false"
1093
+ :nameField: "false"
1094
+ :calculated: "false"
1095
+ :restrictedPicklist: "false"
1096
+ :label: Last Activity
1097
+ :caseSensitive: "false"
1098
+ :soapType: xsd:date
1099
+ :sortable: "true"
1100
+ :defaultedOnCreate: "false"
1101
+ :nillable: "true"
1102
+ :type: date
1103
+ :precision: "0"
1104
+ :digits: "0"
1105
+ :updateable: "false"
1106
+ :autoNumber: "false"
1107
+ - :scale: "0"
1108
+ :name: LastCURequestDate
1109
+ :filterable: "true"
1110
+ :createable: "false"
1111
+ :length: "0"
1112
+ :custom: "false"
1113
+ :byteLength: "0"
1114
+ :unique: "false"
1115
+ :namePointing: "false"
1116
+ :nameField: "false"
1117
+ :calculated: "false"
1118
+ :restrictedPicklist: "false"
1119
+ :label: Last Stay-in-Touch Request Date
1120
+ :caseSensitive: "false"
1121
+ :soapType: xsd:dateTime
1122
+ :sortable: "true"
1123
+ :defaultedOnCreate: "false"
1124
+ :nillable: "true"
1125
+ :type: datetime
1126
+ :precision: "0"
1127
+ :digits: "0"
1128
+ :updateable: "false"
1129
+ :autoNumber: "false"
1130
+ - :scale: "0"
1131
+ :name: LastCUUpdateDate
1132
+ :filterable: "true"
1133
+ :createable: "false"
1134
+ :length: "0"
1135
+ :custom: "false"
1136
+ :byteLength: "0"
1137
+ :unique: "false"
1138
+ :namePointing: "false"
1139
+ :nameField: "false"
1140
+ :calculated: "false"
1141
+ :restrictedPicklist: "false"
1142
+ :label: Last Stay-in-Touch Save Date
1143
+ :caseSensitive: "false"
1144
+ :soapType: xsd:dateTime
1145
+ :sortable: "true"
1146
+ :defaultedOnCreate: "false"
1147
+ :nillable: "true"
1148
+ :type: datetime
1149
+ :precision: "0"
1150
+ :digits: "0"
1151
+ :updateable: "false"
1152
+ :autoNumber: "false"
1153
+ :retrieveable: "true"
1154
+ :keyPrefix: "003"
1155
+ :deletable: "true"
1156
+ :recordTypeInfos:
1157
+ :name: Master
1158
+ :available: "true"
1159
+ :defaultRecordTypeMapping: "true"
1160
+ :recordTypeId: 012000000000000AAA
1161
+ :updateable: "true"
1162
+ :searchable: "true"
1163
+ ---
1164
+ create(sObjects:type { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Contact:HomePhone:555-555-1212:LastName:DutchTestLastName:FirstName:DutchTestFirstName): !ruby/object:RForce::SoapResponse
1165
+ parsed:
1166
+ :createResponse:
1167
+ :result:
1168
+ :success: "true"
1169
+ :id: 003T0000008l2dUIAQ
1170
+ ---
1171
+ query(queryString:SELECT Id, IsDeleted, MasterRecordId, AccountId, LastName, FirstName, Salutation, Name, OtherStreet, OtherCity, OtherState, OtherPostalCode, OtherCountry, MailingStreet, MailingCity, MailingState, MailingPostalCode, MailingCountry, Phone, Fax, MobilePhone, HomePhone, OtherPhone, AssistantPhone, ReportsToId, Email, Title, Department, AssistantName, LeadSource, Birthdate, Description, OwnerId, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById, SystemModstamp, LastActivityDate, LastCURequestDate, LastCUUpdateDate FROM Contact WHERE (Id = '003T0000008l2dUIAQ')): !ruby/object:RForce::SoapResponse
1172
+ parsed:
1173
+ :queryResponse:
1174
+ :result:
1175
+ :size: "1"
1176
+ :done: "true"
1177
+ :queryLocator:
1178
+ :records:
1179
+ :OwnerId: 005T0000000eI4DIAU
1180
+ :Fax:
1181
+ :OtherStreet:
1182
+ :LastActivityDate:
1183
+ :Title:
1184
+ :MailingCity:
1185
+ :Name: DutchTestFirstName DutchTestLastName
1186
+ :CreatedDate: "2007-01-19T15:08:08.000Z"
1187
+ :HomePhone: 555-555-1212
1188
+ :MobilePhone:
1189
+ :OtherCity:
1190
+ :LastCURequestDate:
1191
+ :AssistantName:
1192
+ :MailingState:
1193
+ :IsDeleted: "false"
1194
+ :Id:
1195
+ - 003T0000008l2dUIAQ
1196
+ - 003T0000008l2dUIAQ
1197
+ :CreatedById: 005T0000000eI4DIAU
1198
+ :OtherPhone:
1199
+ :OtherState:
1200
+ :LastName: DutchTestLastName
1201
+ :LastCUUpdateDate:
1202
+ :LeadSource:
1203
+ :MailingPostalCode:
1204
+ :MasterRecordId:
1205
+ :LastModifiedDate: "2007-01-19T15:08:08.000Z"
1206
+ :Department:
1207
+ :AssistantPhone:
1208
+ :OtherPostalCode:
1209
+ :FirstName: DutchTestFirstName
1210
+ :Birthdate:
1211
+ :MailingCountry:
1212
+ :AccountId:
1213
+ :LastModifiedById: 005T0000000eI4DIAU
1214
+ :ReportsToId:
1215
+ :OtherCountry:
1216
+ :Description:
1217
+ :Phone:
1218
+ :Salutation:
1219
+ :type: Contact
1220
+ :SystemModstamp: "2007-01-19T15:08:08.000Z"
1221
+ :Email:
1222
+ :MailingStreet:
1223
+ ---
1224
+ update(sObjects:type { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Contact:Id { :xmlns => "urn:sobject.partner.soap.sforce.com" }:003T0000008l2dUIAQ:OwnerId:005T0000000eI4DIAU:HomePhone:555-555-1212:LastName:DutchTestLastName:FirstName:DutchTestFirstName:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Department:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:OtherState:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Salutation:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Phone:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:MailingPostalCode:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:MailingStreet:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:MailingCity:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:MailingCountry:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:MobilePhone:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:LeadSource:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:OtherCity:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:AssistantPhone:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Email:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:OtherCountry:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Birthdate:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Title:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Fax:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:OtherPhone:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:OtherStreet:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:AccountId:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:OtherPostalCode:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:AssistantName:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:ReportsToId:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Description:fieldsToNull { :xmlns => "urn:sobject.partner.soap.sforce.com" }:MailingState): !ruby/object:RForce::SoapResponse
1225
+ parsed:
1226
+ :updateResponse:
1227
+ :result:
1228
+ :success: "true"
1229
+ :id: 003T0000008l2dUIAQ
1230
+ ---
1231
+ delete(ids:003T0000008l2dUIAQ): !ruby/object:RForce::SoapResponse
1232
+ parsed:
1233
+ :deleteResponse:
1234
+ :result:
1235
+ :success: "true"
1236
+ :id: 003T0000008l2dUIAQ