johnideal-activerecord-activesalesforce-adapter 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. data/README +51 -0
  2. data/lib/active_record/connection_adapters/activesalesforce.rb +36 -0
  3. data/lib/active_record/connection_adapters/activesalesforce_adapter.rb +779 -0
  4. data/lib/active_record/connection_adapters/asf_active_record.rb +40 -0
  5. data/lib/active_record/connection_adapters/boxcar_command.rb +66 -0
  6. data/lib/active_record/connection_adapters/column_definition.rb +95 -0
  7. data/lib/active_record/connection_adapters/entity_definition.rb +59 -0
  8. data/lib/active_record/connection_adapters/id_resolver.rb +84 -0
  9. data/lib/active_record/connection_adapters/recording_binding.rb +90 -0
  10. data/lib/active_record/connection_adapters/relationship_definition.rb +81 -0
  11. data/lib/active_record/connection_adapters/result_array.rb +31 -0
  12. data/lib/active_record/connection_adapters/rforce.rb +361 -0
  13. data/lib/active_record/connection_adapters/sid_authentication_filter.rb +57 -0
  14. data/test/unit/basic_test.rb +203 -0
  15. data/test/unit/config.yml +5 -0
  16. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_add_notes_to_contact.recording +1966 -0
  17. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_assignment_rule_id.recording +1621 -0
  18. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_batch_insert.recording +1611 -0
  19. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_client_id.recording +1618 -0
  20. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_count_contacts.recording +1620 -0
  21. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_create_a_contact.recording +1611 -0
  22. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact.recording +1611 -0
  23. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_first_name.recording +3468 -0
  24. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_id.recording +1664 -0
  25. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_addresses.recording +1635 -0
  26. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_get_created_by_from_contact.recording +4307 -0
  27. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_master_detail.recording +1951 -0
  28. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_read_all_content_columns.recording +1611 -0
  29. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_save_a_contact.recording +1611 -0
  30. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_default_rule.recording +1618 -0
  31. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_update_mru.recording +1618 -0
  32. data/test/unit/recorded_test_case.rb +83 -0
  33. metadata +107 -0
@@ -0,0 +1,1951 @@
1
+ ---
2
+ login(username::password:): !ruby/object:RForce::SoapResponse
3
+ parsed:
4
+ :loginResponse:
5
+ :result:
6
+ :serverUrl: https://tapp0-api.salesforce.com/services/Soap/u/11.0/190a00DT0000000D3YH
7
+ :passwordExpired: "false"
8
+ :userId: 005T0000000eI4DIAU
9
+ :userInfo:
10
+ :userName: dutch@activesalesforce.com
11
+ :orgDefaultCurrencyIsoCode: USD
12
+ :userDefaultCurrencyIsoCode:
13
+ :userTimeZone: America/Los_Angeles
14
+ :organizationId: 00DT0000000D3YHMA0
15
+ :userId: 005T0000000eI4DIAU
16
+ :userEmail: dchasman@salesforce.com
17
+ :userType: Standard
18
+ :organizationMultiCurrency: "false"
19
+ :userFullName: Dutch Chasman
20
+ :userUiSkin: Theme2
21
+ :organizationName: activesalesforce.com
22
+ :userLanguage: en_US
23
+ :accessibilityMode: "false"
24
+ :profileId: 00eT0000000i7XpIAI
25
+ :userLocale: en_US
26
+ :currencySymbol: $
27
+ :roleId:
28
+ :sessionId: 190a00DT0000000D3YH!eX0hqd2RIKwEXa0lLyHosittTJwCnJmocHkFPL2fETqapsc0rMZ5cvd_GpRyIuD4.NyW3U4Uml0ezyazxYIUZlXxLtDVOrIqcwgi3UKaONEgUPTPRyCQQ2DGZLGwBnlQRH5D0QCW
29
+ :metadataServerUrl: https://tapp0-api.salesforce.com/services/Soap/m/11.0/190a00DT0000000D3YH
30
+ ---
31
+ describeSObject(sObjectType:Contact): !ruby/object:RForce::SoapResponse
32
+ parsed:
33
+ :describeSObjectResponse:
34
+ :result:
35
+ :searchable: "true"
36
+ :createable: "true"
37
+ :activateable: "false"
38
+ :undeletable: "true"
39
+ :labelPlural: Contacts
40
+ :keyPrefix: "003"
41
+ :deletable: "true"
42
+ :urlDetail: https://tapp0.salesforce.com/{ID}
43
+ :name: Contact
44
+ :layoutable: "true"
45
+ :childRelationships:
46
+ - :field: ContactId
47
+ :relationshipName: AccountContactRoles
48
+ :cascadeDelete: "true"
49
+ :childSObject: AccountContactRole
50
+ - :field: WhoId
51
+ :relationshipName: ActivityHistories
52
+ :cascadeDelete: "true"
53
+ :childSObject: ActivityHistory
54
+ - :field: ContactId
55
+ :relationshipName: Assets
56
+ :cascadeDelete: "false"
57
+ :childSObject: Asset
58
+ - :field: ParentId
59
+ :relationshipName: Attachments
60
+ :cascadeDelete: "false"
61
+ :childSObject: Attachment
62
+ - :field: ContactId
63
+ :relationshipName: CampaignMembers
64
+ :cascadeDelete: "true"
65
+ :childSObject: CampaignMember
66
+ - :field: ContactId
67
+ :relationshipName: Cases
68
+ :cascadeDelete: "false"
69
+ :childSObject: Case
70
+ - :field: ContactId
71
+ :relationshipName: CaseContactRoles
72
+ :cascadeDelete: "true"
73
+ :childSObject: CaseContactRole
74
+ - :field: ReportsToId
75
+ :cascadeDelete: "false"
76
+ :childSObject: Contact
77
+ - :field: ContactId
78
+ :relationshipName: Histories
79
+ :cascadeDelete: "true"
80
+ :childSObject: ContactHistory
81
+ - :field: ContactId
82
+ :relationshipName: Shares
83
+ :cascadeDelete: "true"
84
+ :childSObject: ContactShare
85
+ - :field: CustomerSignedId
86
+ :relationshipName: ContractsSigned
87
+ :cascadeDelete: "false"
88
+ :childSObject: Contract
89
+ - :field: ContactId
90
+ :relationshipName: ContractContactRoles
91
+ :cascadeDelete: "true"
92
+ :childSObject: ContractContactRole
93
+ - :field: WhoId
94
+ :relationshipName: EmailStatuses
95
+ :cascadeDelete: "true"
96
+ :childSObject: EmailStatus
97
+ - :field: WhoId
98
+ :relationshipName: Events
99
+ :cascadeDelete: "true"
100
+ :childSObject: Event
101
+ - :field: AttendeeId
102
+ :cascadeDelete: "true"
103
+ :childSObject: EventAttendee
104
+ - :field: ConvertedContactId
105
+ :cascadeDelete: "false"
106
+ :childSObject: Lead
107
+ - :field: ParentId
108
+ :relationshipName: Notes
109
+ :cascadeDelete: "true"
110
+ :childSObject: Note
111
+ - :field: ParentId
112
+ :relationshipName: NotesAndAttachments
113
+ :cascadeDelete: "true"
114
+ :childSObject: NoteAndAttachment
115
+ - :field: WhoId
116
+ :relationshipName: OpenActivities
117
+ :cascadeDelete: "true"
118
+ :childSObject: OpenActivity
119
+ - :field: ContactId
120
+ :relationshipName: OpportunityContactRoles
121
+ :cascadeDelete: "true"
122
+ :childSObject: OpportunityContactRole
123
+ - :field: TargetObjectId
124
+ :relationshipName: ProcessInstances
125
+ :cascadeDelete: "true"
126
+ :childSObject: ProcessInstance
127
+ - :field: TargetObjectId
128
+ :relationshipName: ProcessSteps
129
+ :cascadeDelete: "false"
130
+ :childSObject: ProcessInstanceHistory
131
+ - :field: ContactId
132
+ :cascadeDelete: "false"
133
+ :childSObject: SelfServiceUser
134
+ - :field: WhoId
135
+ :relationshipName: Tasks
136
+ :cascadeDelete: "true"
137
+ :childSObject: Task
138
+ - :field: ContactId
139
+ :cascadeDelete: "false"
140
+ :childSObject: User
141
+ :urlEdit: https://tapp0.salesforce.com/{ID}/e
142
+ :mergeable: "true"
143
+ :replicateable: "true"
144
+ :label: Contact
145
+ :urlNew: https://tapp0.salesforce.com/003/e
146
+ :queryable: "true"
147
+ :custom: "false"
148
+ :retrieveable: "true"
149
+ :fields:
150
+ - :type: id
151
+ :createable: "false"
152
+ :caseSensitive: "false"
153
+ :restrictedPicklist: "false"
154
+ :digits: "0"
155
+ :defaultedOnCreate: "true"
156
+ :soapType: tns:ID
157
+ :unique: "false"
158
+ :name: Id
159
+ :filterable: "true"
160
+ :sortable: "true"
161
+ :autoNumber: "false"
162
+ :scale: "0"
163
+ :idLookup: "true"
164
+ :precision: "0"
165
+ :nameField: "false"
166
+ :length: "18"
167
+ :label: Contact ID
168
+ :byteLength: "18"
169
+ :namePointing: "false"
170
+ :custom: "false"
171
+ :calculated: "false"
172
+ :updateable: "false"
173
+ :nillable: "false"
174
+ - :type: boolean
175
+ :createable: "false"
176
+ :caseSensitive: "false"
177
+ :restrictedPicklist: "false"
178
+ :digits: "0"
179
+ :defaultedOnCreate: "true"
180
+ :soapType: xsd:boolean
181
+ :unique: "false"
182
+ :name: IsDeleted
183
+ :filterable: "true"
184
+ :sortable: "true"
185
+ :autoNumber: "false"
186
+ :scale: "0"
187
+ :idLookup: "false"
188
+ :precision: "0"
189
+ :nameField: "false"
190
+ :length: "0"
191
+ :label: Deleted
192
+ :byteLength: "0"
193
+ :namePointing: "false"
194
+ :custom: "false"
195
+ :calculated: "false"
196
+ :updateable: "false"
197
+ :nillable: "false"
198
+ - :type: reference
199
+ :createable: "false"
200
+ :caseSensitive: "false"
201
+ :restrictedPicklist: "false"
202
+ :relationshipName: MasterRecord
203
+ :digits: "0"
204
+ :defaultedOnCreate: "false"
205
+ :soapType: tns:ID
206
+ :unique: "false"
207
+ :name: MasterRecordId
208
+ :filterable: "true"
209
+ :sortable: "true"
210
+ :autoNumber: "false"
211
+ :scale: "0"
212
+ :idLookup: "false"
213
+ :precision: "0"
214
+ :nameField: "false"
215
+ :length: "18"
216
+ :label: Master Record ID
217
+ :byteLength: "18"
218
+ :referenceTo: Contact
219
+ :namePointing: "false"
220
+ :custom: "false"
221
+ :calculated: "false"
222
+ :updateable: "false"
223
+ :nillable: "true"
224
+ - :type: reference
225
+ :createable: "true"
226
+ :caseSensitive: "false"
227
+ :restrictedPicklist: "false"
228
+ :relationshipName: Account
229
+ :digits: "0"
230
+ :defaultedOnCreate: "false"
231
+ :soapType: tns:ID
232
+ :unique: "false"
233
+ :name: AccountId
234
+ :filterable: "true"
235
+ :sortable: "true"
236
+ :autoNumber: "false"
237
+ :scale: "0"
238
+ :idLookup: "false"
239
+ :precision: "0"
240
+ :nameField: "false"
241
+ :length: "18"
242
+ :label: Account ID
243
+ :byteLength: "18"
244
+ :referenceTo: Account
245
+ :namePointing: "false"
246
+ :custom: "false"
247
+ :calculated: "false"
248
+ :updateable: "true"
249
+ :nillable: "true"
250
+ - :type: string
251
+ :createable: "true"
252
+ :caseSensitive: "false"
253
+ :restrictedPicklist: "false"
254
+ :digits: "0"
255
+ :defaultedOnCreate: "false"
256
+ :soapType: xsd:string
257
+ :unique: "false"
258
+ :name: LastName
259
+ :filterable: "true"
260
+ :sortable: "true"
261
+ :autoNumber: "false"
262
+ :scale: "0"
263
+ :idLookup: "false"
264
+ :precision: "0"
265
+ :nameField: "false"
266
+ :length: "80"
267
+ :label: Last Name
268
+ :byteLength: "240"
269
+ :namePointing: "false"
270
+ :custom: "false"
271
+ :calculated: "false"
272
+ :updateable: "true"
273
+ :nillable: "false"
274
+ - :type: string
275
+ :createable: "true"
276
+ :caseSensitive: "false"
277
+ :restrictedPicklist: "false"
278
+ :digits: "0"
279
+ :defaultedOnCreate: "false"
280
+ :soapType: xsd:string
281
+ :unique: "false"
282
+ :name: FirstName
283
+ :filterable: "true"
284
+ :sortable: "true"
285
+ :autoNumber: "false"
286
+ :scale: "0"
287
+ :idLookup: "false"
288
+ :precision: "0"
289
+ :nameField: "false"
290
+ :length: "40"
291
+ :label: First Name
292
+ :byteLength: "120"
293
+ :namePointing: "false"
294
+ :custom: "false"
295
+ :calculated: "false"
296
+ :updateable: "true"
297
+ :nillable: "true"
298
+ - :type: picklist
299
+ :createable: "true"
300
+ :caseSensitive: "false"
301
+ :restrictedPicklist: "false"
302
+ :digits: "0"
303
+ :defaultedOnCreate: "false"
304
+ :soapType: xsd:string
305
+ :unique: "false"
306
+ :name: Salutation
307
+ :filterable: "true"
308
+ :sortable: "true"
309
+ :autoNumber: "false"
310
+ :scale: "0"
311
+ :idLookup: "false"
312
+ :precision: "0"
313
+ :picklistValues:
314
+ - :defaultValue: "false"
315
+ :value: Mr.
316
+ :label: Mr.
317
+ :active: "true"
318
+ - :defaultValue: "false"
319
+ :value: Ms.
320
+ :label: Ms.
321
+ :active: "true"
322
+ - :defaultValue: "false"
323
+ :value: Mrs.
324
+ :label: Mrs.
325
+ :active: "true"
326
+ - :defaultValue: "false"
327
+ :value: Dr.
328
+ :label: Dr.
329
+ :active: "true"
330
+ - :defaultValue: "false"
331
+ :value: Prof.
332
+ :label: Prof.
333
+ :active: "true"
334
+ :nameField: "false"
335
+ :length: "40"
336
+ :label: Salutation
337
+ :byteLength: "120"
338
+ :namePointing: "false"
339
+ :custom: "false"
340
+ :calculated: "false"
341
+ :updateable: "true"
342
+ :nillable: "true"
343
+ - :type: string
344
+ :createable: "false"
345
+ :caseSensitive: "false"
346
+ :restrictedPicklist: "false"
347
+ :digits: "0"
348
+ :defaultedOnCreate: "false"
349
+ :soapType: xsd:string
350
+ :unique: "false"
351
+ :name: Name
352
+ :filterable: "true"
353
+ :sortable: "true"
354
+ :autoNumber: "false"
355
+ :scale: "0"
356
+ :idLookup: "false"
357
+ :precision: "0"
358
+ :nameField: "true"
359
+ :length: "121"
360
+ :label: Full Name
361
+ :byteLength: "363"
362
+ :namePointing: "false"
363
+ :custom: "false"
364
+ :calculated: "false"
365
+ :updateable: "false"
366
+ :nillable: "false"
367
+ - :type: textarea
368
+ :createable: "true"
369
+ :caseSensitive: "false"
370
+ :restrictedPicklist: "false"
371
+ :digits: "0"
372
+ :defaultedOnCreate: "false"
373
+ :soapType: xsd:string
374
+ :unique: "false"
375
+ :name: OtherStreet
376
+ :filterable: "true"
377
+ :sortable: "true"
378
+ :autoNumber: "false"
379
+ :scale: "0"
380
+ :idLookup: "false"
381
+ :precision: "0"
382
+ :nameField: "false"
383
+ :length: "255"
384
+ :label: Other Street
385
+ :byteLength: "765"
386
+ :namePointing: "false"
387
+ :custom: "false"
388
+ :calculated: "false"
389
+ :updateable: "true"
390
+ :nillable: "true"
391
+ - :type: string
392
+ :createable: "true"
393
+ :caseSensitive: "false"
394
+ :restrictedPicklist: "false"
395
+ :digits: "0"
396
+ :defaultedOnCreate: "false"
397
+ :soapType: xsd:string
398
+ :unique: "false"
399
+ :name: OtherCity
400
+ :filterable: "true"
401
+ :sortable: "true"
402
+ :autoNumber: "false"
403
+ :scale: "0"
404
+ :idLookup: "false"
405
+ :precision: "0"
406
+ :nameField: "false"
407
+ :length: "40"
408
+ :label: Other City
409
+ :byteLength: "120"
410
+ :namePointing: "false"
411
+ :custom: "false"
412
+ :calculated: "false"
413
+ :updateable: "true"
414
+ :nillable: "true"
415
+ - :type: string
416
+ :createable: "true"
417
+ :caseSensitive: "false"
418
+ :restrictedPicklist: "false"
419
+ :digits: "0"
420
+ :defaultedOnCreate: "false"
421
+ :soapType: xsd:string
422
+ :unique: "false"
423
+ :name: OtherState
424
+ :filterable: "true"
425
+ :sortable: "true"
426
+ :autoNumber: "false"
427
+ :scale: "0"
428
+ :idLookup: "false"
429
+ :precision: "0"
430
+ :nameField: "false"
431
+ :length: "20"
432
+ :label: Other State/Province
433
+ :byteLength: "60"
434
+ :namePointing: "false"
435
+ :custom: "false"
436
+ :calculated: "false"
437
+ :updateable: "true"
438
+ :nillable: "true"
439
+ - :type: string
440
+ :createable: "true"
441
+ :caseSensitive: "false"
442
+ :restrictedPicklist: "false"
443
+ :digits: "0"
444
+ :defaultedOnCreate: "false"
445
+ :soapType: xsd:string
446
+ :unique: "false"
447
+ :name: OtherPostalCode
448
+ :filterable: "true"
449
+ :sortable: "true"
450
+ :autoNumber: "false"
451
+ :scale: "0"
452
+ :idLookup: "false"
453
+ :precision: "0"
454
+ :nameField: "false"
455
+ :length: "20"
456
+ :label: Other Zip/Postal Code
457
+ :byteLength: "60"
458
+ :namePointing: "false"
459
+ :custom: "false"
460
+ :calculated: "false"
461
+ :updateable: "true"
462
+ :nillable: "true"
463
+ - :type: string
464
+ :createable: "true"
465
+ :caseSensitive: "false"
466
+ :restrictedPicklist: "false"
467
+ :digits: "0"
468
+ :defaultedOnCreate: "false"
469
+ :soapType: xsd:string
470
+ :unique: "false"
471
+ :name: OtherCountry
472
+ :filterable: "true"
473
+ :sortable: "true"
474
+ :autoNumber: "false"
475
+ :scale: "0"
476
+ :idLookup: "false"
477
+ :precision: "0"
478
+ :nameField: "false"
479
+ :length: "40"
480
+ :label: Other Country
481
+ :byteLength: "120"
482
+ :namePointing: "false"
483
+ :custom: "false"
484
+ :calculated: "false"
485
+ :updateable: "true"
486
+ :nillable: "true"
487
+ - :type: textarea
488
+ :createable: "true"
489
+ :caseSensitive: "false"
490
+ :restrictedPicklist: "false"
491
+ :digits: "0"
492
+ :defaultedOnCreate: "false"
493
+ :soapType: xsd:string
494
+ :unique: "false"
495
+ :name: MailingStreet
496
+ :filterable: "true"
497
+ :sortable: "true"
498
+ :autoNumber: "false"
499
+ :scale: "0"
500
+ :idLookup: "false"
501
+ :precision: "0"
502
+ :nameField: "false"
503
+ :length: "255"
504
+ :label: Mailing Street
505
+ :byteLength: "765"
506
+ :namePointing: "false"
507
+ :custom: "false"
508
+ :calculated: "false"
509
+ :updateable: "true"
510
+ :nillable: "true"
511
+ - :type: string
512
+ :createable: "true"
513
+ :caseSensitive: "false"
514
+ :restrictedPicklist: "false"
515
+ :digits: "0"
516
+ :defaultedOnCreate: "false"
517
+ :soapType: xsd:string
518
+ :unique: "false"
519
+ :name: MailingCity
520
+ :filterable: "true"
521
+ :sortable: "true"
522
+ :autoNumber: "false"
523
+ :scale: "0"
524
+ :idLookup: "false"
525
+ :precision: "0"
526
+ :nameField: "false"
527
+ :length: "40"
528
+ :label: Mailing City
529
+ :byteLength: "120"
530
+ :namePointing: "false"
531
+ :custom: "false"
532
+ :calculated: "false"
533
+ :updateable: "true"
534
+ :nillable: "true"
535
+ - :type: string
536
+ :createable: "true"
537
+ :caseSensitive: "false"
538
+ :restrictedPicklist: "false"
539
+ :digits: "0"
540
+ :defaultedOnCreate: "false"
541
+ :soapType: xsd:string
542
+ :unique: "false"
543
+ :name: MailingState
544
+ :filterable: "true"
545
+ :sortable: "true"
546
+ :autoNumber: "false"
547
+ :scale: "0"
548
+ :idLookup: "false"
549
+ :precision: "0"
550
+ :nameField: "false"
551
+ :length: "20"
552
+ :label: Mailing State/Province
553
+ :byteLength: "60"
554
+ :namePointing: "false"
555
+ :custom: "false"
556
+ :calculated: "false"
557
+ :updateable: "true"
558
+ :nillable: "true"
559
+ - :type: string
560
+ :createable: "true"
561
+ :caseSensitive: "false"
562
+ :restrictedPicklist: "false"
563
+ :digits: "0"
564
+ :defaultedOnCreate: "false"
565
+ :soapType: xsd:string
566
+ :unique: "false"
567
+ :name: MailingPostalCode
568
+ :filterable: "true"
569
+ :sortable: "true"
570
+ :autoNumber: "false"
571
+ :scale: "0"
572
+ :idLookup: "false"
573
+ :precision: "0"
574
+ :nameField: "false"
575
+ :length: "20"
576
+ :label: Mailing Zip/Postal Code
577
+ :byteLength: "60"
578
+ :namePointing: "false"
579
+ :custom: "false"
580
+ :calculated: "false"
581
+ :updateable: "true"
582
+ :nillable: "true"
583
+ - :type: string
584
+ :createable: "true"
585
+ :caseSensitive: "false"
586
+ :restrictedPicklist: "false"
587
+ :digits: "0"
588
+ :defaultedOnCreate: "false"
589
+ :soapType: xsd:string
590
+ :unique: "false"
591
+ :name: MailingCountry
592
+ :filterable: "true"
593
+ :sortable: "true"
594
+ :autoNumber: "false"
595
+ :scale: "0"
596
+ :idLookup: "false"
597
+ :precision: "0"
598
+ :nameField: "false"
599
+ :length: "40"
600
+ :label: Mailing Country
601
+ :byteLength: "120"
602
+ :namePointing: "false"
603
+ :custom: "false"
604
+ :calculated: "false"
605
+ :updateable: "true"
606
+ :nillable: "true"
607
+ - :type: phone
608
+ :createable: "true"
609
+ :caseSensitive: "false"
610
+ :restrictedPicklist: "false"
611
+ :digits: "0"
612
+ :defaultedOnCreate: "false"
613
+ :soapType: xsd:string
614
+ :unique: "false"
615
+ :name: Phone
616
+ :filterable: "true"
617
+ :sortable: "true"
618
+ :autoNumber: "false"
619
+ :scale: "0"
620
+ :idLookup: "false"
621
+ :precision: "0"
622
+ :nameField: "false"
623
+ :length: "40"
624
+ :label: Business Phone
625
+ :byteLength: "120"
626
+ :namePointing: "false"
627
+ :custom: "false"
628
+ :calculated: "false"
629
+ :updateable: "true"
630
+ :nillable: "true"
631
+ - :type: phone
632
+ :createable: "true"
633
+ :caseSensitive: "false"
634
+ :restrictedPicklist: "false"
635
+ :digits: "0"
636
+ :defaultedOnCreate: "false"
637
+ :soapType: xsd:string
638
+ :unique: "false"
639
+ :name: Fax
640
+ :filterable: "true"
641
+ :sortable: "true"
642
+ :autoNumber: "false"
643
+ :scale: "0"
644
+ :idLookup: "false"
645
+ :precision: "0"
646
+ :nameField: "false"
647
+ :length: "40"
648
+ :label: Business Fax
649
+ :byteLength: "120"
650
+ :namePointing: "false"
651
+ :custom: "false"
652
+ :calculated: "false"
653
+ :updateable: "true"
654
+ :nillable: "true"
655
+ - :type: phone
656
+ :createable: "true"
657
+ :caseSensitive: "false"
658
+ :restrictedPicklist: "false"
659
+ :digits: "0"
660
+ :defaultedOnCreate: "false"
661
+ :soapType: xsd:string
662
+ :unique: "false"
663
+ :name: MobilePhone
664
+ :filterable: "true"
665
+ :sortable: "true"
666
+ :autoNumber: "false"
667
+ :scale: "0"
668
+ :idLookup: "false"
669
+ :precision: "0"
670
+ :nameField: "false"
671
+ :length: "40"
672
+ :label: Mobile Phone
673
+ :byteLength: "120"
674
+ :namePointing: "false"
675
+ :custom: "false"
676
+ :calculated: "false"
677
+ :updateable: "true"
678
+ :nillable: "true"
679
+ - :type: phone
680
+ :createable: "true"
681
+ :caseSensitive: "false"
682
+ :restrictedPicklist: "false"
683
+ :digits: "0"
684
+ :defaultedOnCreate: "false"
685
+ :soapType: xsd:string
686
+ :unique: "false"
687
+ :name: HomePhone
688
+ :filterable: "true"
689
+ :sortable: "true"
690
+ :autoNumber: "false"
691
+ :scale: "0"
692
+ :idLookup: "false"
693
+ :precision: "0"
694
+ :nameField: "false"
695
+ :length: "40"
696
+ :label: Home Phone
697
+ :byteLength: "120"
698
+ :namePointing: "false"
699
+ :custom: "false"
700
+ :calculated: "false"
701
+ :updateable: "true"
702
+ :nillable: "true"
703
+ - :type: phone
704
+ :createable: "true"
705
+ :caseSensitive: "false"
706
+ :restrictedPicklist: "false"
707
+ :digits: "0"
708
+ :defaultedOnCreate: "false"
709
+ :soapType: xsd:string
710
+ :unique: "false"
711
+ :name: OtherPhone
712
+ :filterable: "true"
713
+ :sortable: "true"
714
+ :autoNumber: "false"
715
+ :scale: "0"
716
+ :idLookup: "false"
717
+ :precision: "0"
718
+ :nameField: "false"
719
+ :length: "40"
720
+ :label: Other Phone
721
+ :byteLength: "120"
722
+ :namePointing: "false"
723
+ :custom: "false"
724
+ :calculated: "false"
725
+ :updateable: "true"
726
+ :nillable: "true"
727
+ - :type: phone
728
+ :createable: "true"
729
+ :caseSensitive: "false"
730
+ :restrictedPicklist: "false"
731
+ :digits: "0"
732
+ :defaultedOnCreate: "false"
733
+ :soapType: xsd:string
734
+ :unique: "false"
735
+ :name: AssistantPhone
736
+ :filterable: "true"
737
+ :sortable: "true"
738
+ :autoNumber: "false"
739
+ :scale: "0"
740
+ :idLookup: "false"
741
+ :precision: "0"
742
+ :nameField: "false"
743
+ :length: "40"
744
+ :label: Asst. Phone
745
+ :byteLength: "120"
746
+ :namePointing: "false"
747
+ :custom: "false"
748
+ :calculated: "false"
749
+ :updateable: "true"
750
+ :nillable: "true"
751
+ - :type: reference
752
+ :createable: "true"
753
+ :caseSensitive: "false"
754
+ :restrictedPicklist: "false"
755
+ :relationshipName: ReportsTo
756
+ :digits: "0"
757
+ :defaultedOnCreate: "false"
758
+ :soapType: tns:ID
759
+ :unique: "false"
760
+ :name: ReportsToId
761
+ :filterable: "true"
762
+ :sortable: "true"
763
+ :autoNumber: "false"
764
+ :scale: "0"
765
+ :idLookup: "false"
766
+ :precision: "0"
767
+ :nameField: "false"
768
+ :length: "18"
769
+ :label: Reports To ID
770
+ :byteLength: "18"
771
+ :referenceTo: Contact
772
+ :namePointing: "false"
773
+ :custom: "false"
774
+ :calculated: "false"
775
+ :updateable: "true"
776
+ :nillable: "true"
777
+ - :type: email
778
+ :createable: "true"
779
+ :caseSensitive: "false"
780
+ :restrictedPicklist: "false"
781
+ :digits: "0"
782
+ :defaultedOnCreate: "false"
783
+ :soapType: xsd:string
784
+ :unique: "false"
785
+ :name: Email
786
+ :filterable: "true"
787
+ :sortable: "true"
788
+ :autoNumber: "false"
789
+ :scale: "0"
790
+ :idLookup: "true"
791
+ :precision: "0"
792
+ :nameField: "false"
793
+ :length: "80"
794
+ :label: Email
795
+ :byteLength: "240"
796
+ :namePointing: "false"
797
+ :custom: "false"
798
+ :calculated: "false"
799
+ :updateable: "true"
800
+ :nillable: "true"
801
+ - :type: string
802
+ :createable: "true"
803
+ :caseSensitive: "false"
804
+ :restrictedPicklist: "false"
805
+ :digits: "0"
806
+ :defaultedOnCreate: "false"
807
+ :soapType: xsd:string
808
+ :unique: "false"
809
+ :name: Title
810
+ :filterable: "true"
811
+ :sortable: "true"
812
+ :autoNumber: "false"
813
+ :scale: "0"
814
+ :idLookup: "false"
815
+ :precision: "0"
816
+ :nameField: "false"
817
+ :length: "80"
818
+ :label: Title
819
+ :byteLength: "240"
820
+ :namePointing: "false"
821
+ :custom: "false"
822
+ :calculated: "false"
823
+ :updateable: "true"
824
+ :nillable: "true"
825
+ - :type: string
826
+ :createable: "true"
827
+ :caseSensitive: "false"
828
+ :restrictedPicklist: "false"
829
+ :digits: "0"
830
+ :defaultedOnCreate: "false"
831
+ :soapType: xsd:string
832
+ :unique: "false"
833
+ :name: Department
834
+ :filterable: "true"
835
+ :sortable: "true"
836
+ :autoNumber: "false"
837
+ :scale: "0"
838
+ :idLookup: "false"
839
+ :precision: "0"
840
+ :nameField: "false"
841
+ :length: "80"
842
+ :label: Department
843
+ :byteLength: "240"
844
+ :namePointing: "false"
845
+ :custom: "false"
846
+ :calculated: "false"
847
+ :updateable: "true"
848
+ :nillable: "true"
849
+ - :type: string
850
+ :createable: "true"
851
+ :caseSensitive: "false"
852
+ :restrictedPicklist: "false"
853
+ :digits: "0"
854
+ :defaultedOnCreate: "false"
855
+ :soapType: xsd:string
856
+ :unique: "false"
857
+ :name: AssistantName
858
+ :filterable: "true"
859
+ :sortable: "true"
860
+ :autoNumber: "false"
861
+ :scale: "0"
862
+ :idLookup: "false"
863
+ :precision: "0"
864
+ :nameField: "false"
865
+ :length: "40"
866
+ :label: Assistant's Name
867
+ :byteLength: "120"
868
+ :namePointing: "false"
869
+ :custom: "false"
870
+ :calculated: "false"
871
+ :updateable: "true"
872
+ :nillable: "true"
873
+ - :type: picklist
874
+ :createable: "true"
875
+ :caseSensitive: "false"
876
+ :restrictedPicklist: "false"
877
+ :digits: "0"
878
+ :defaultedOnCreate: "false"
879
+ :soapType: xsd:string
880
+ :unique: "false"
881
+ :name: LeadSource
882
+ :filterable: "true"
883
+ :sortable: "true"
884
+ :autoNumber: "false"
885
+ :scale: "0"
886
+ :idLookup: "false"
887
+ :precision: "0"
888
+ :picklistValues:
889
+ - :defaultValue: "false"
890
+ :value: Advertisement
891
+ :label: Advertisement
892
+ :active: "true"
893
+ - :defaultValue: "false"
894
+ :value: Employee Referral
895
+ :label: Employee Referral
896
+ :active: "true"
897
+ - :defaultValue: "false"
898
+ :value: External Referral
899
+ :label: External Referral
900
+ :active: "true"
901
+ - :defaultValue: "false"
902
+ :value: Partner
903
+ :label: Partner
904
+ :active: "true"
905
+ - :defaultValue: "false"
906
+ :value: Public Relations
907
+ :label: Public Relations
908
+ :active: "true"
909
+ - :defaultValue: "false"
910
+ :value: Seminar - Internal
911
+ :label: Seminar - Internal
912
+ :active: "true"
913
+ - :defaultValue: "false"
914
+ :value: Seminar - Partner
915
+ :label: Seminar - Partner
916
+ :active: "true"
917
+ - :defaultValue: "false"
918
+ :value: Trade Show
919
+ :label: Trade Show
920
+ :active: "true"
921
+ - :defaultValue: "false"
922
+ :value: Web
923
+ :label: Web
924
+ :active: "true"
925
+ - :defaultValue: "false"
926
+ :value: Word of mouth
927
+ :label: Word of mouth
928
+ :active: "true"
929
+ - :defaultValue: "false"
930
+ :value: Other
931
+ :label: Other
932
+ :active: "true"
933
+ :nameField: "false"
934
+ :length: "40"
935
+ :label: Lead Source
936
+ :byteLength: "120"
937
+ :namePointing: "false"
938
+ :custom: "false"
939
+ :calculated: "false"
940
+ :updateable: "true"
941
+ :nillable: "true"
942
+ - :type: date
943
+ :createable: "true"
944
+ :caseSensitive: "false"
945
+ :restrictedPicklist: "false"
946
+ :digits: "0"
947
+ :defaultedOnCreate: "false"
948
+ :soapType: xsd:date
949
+ :unique: "false"
950
+ :name: Birthdate
951
+ :filterable: "true"
952
+ :sortable: "true"
953
+ :autoNumber: "false"
954
+ :scale: "0"
955
+ :idLookup: "false"
956
+ :precision: "0"
957
+ :nameField: "false"
958
+ :length: "0"
959
+ :label: Birthdate
960
+ :byteLength: "0"
961
+ :namePointing: "false"
962
+ :custom: "false"
963
+ :calculated: "false"
964
+ :updateable: "true"
965
+ :nillable: "true"
966
+ - :type: textarea
967
+ :createable: "true"
968
+ :caseSensitive: "false"
969
+ :restrictedPicklist: "false"
970
+ :digits: "0"
971
+ :defaultedOnCreate: "false"
972
+ :soapType: xsd:string
973
+ :unique: "false"
974
+ :name: Description
975
+ :filterable: "false"
976
+ :sortable: "false"
977
+ :autoNumber: "false"
978
+ :scale: "0"
979
+ :idLookup: "false"
980
+ :precision: "0"
981
+ :nameField: "false"
982
+ :length: "32000"
983
+ :label: Contact Description
984
+ :byteLength: "32000"
985
+ :namePointing: "false"
986
+ :custom: "false"
987
+ :calculated: "false"
988
+ :updateable: "true"
989
+ :nillable: "true"
990
+ - :type: reference
991
+ :createable: "true"
992
+ :caseSensitive: "false"
993
+ :restrictedPicklist: "false"
994
+ :relationshipName: Owner
995
+ :digits: "0"
996
+ :defaultedOnCreate: "true"
997
+ :soapType: tns:ID
998
+ :unique: "false"
999
+ :name: OwnerId
1000
+ :filterable: "true"
1001
+ :sortable: "true"
1002
+ :autoNumber: "false"
1003
+ :scale: "0"
1004
+ :idLookup: "false"
1005
+ :precision: "0"
1006
+ :nameField: "false"
1007
+ :length: "18"
1008
+ :label: Owner ID
1009
+ :byteLength: "18"
1010
+ :referenceTo: User
1011
+ :namePointing: "false"
1012
+ :custom: "false"
1013
+ :calculated: "false"
1014
+ :updateable: "true"
1015
+ :nillable: "false"
1016
+ - :type: datetime
1017
+ :createable: "false"
1018
+ :caseSensitive: "false"
1019
+ :restrictedPicklist: "false"
1020
+ :digits: "0"
1021
+ :defaultedOnCreate: "true"
1022
+ :soapType: xsd:dateTime
1023
+ :unique: "false"
1024
+ :name: CreatedDate
1025
+ :filterable: "true"
1026
+ :sortable: "true"
1027
+ :autoNumber: "false"
1028
+ :scale: "0"
1029
+ :idLookup: "false"
1030
+ :precision: "0"
1031
+ :nameField: "false"
1032
+ :length: "0"
1033
+ :label: Created Date
1034
+ :byteLength: "0"
1035
+ :namePointing: "false"
1036
+ :custom: "false"
1037
+ :calculated: "false"
1038
+ :updateable: "false"
1039
+ :nillable: "false"
1040
+ - :type: reference
1041
+ :createable: "false"
1042
+ :caseSensitive: "false"
1043
+ :restrictedPicklist: "false"
1044
+ :relationshipName: CreatedBy
1045
+ :digits: "0"
1046
+ :defaultedOnCreate: "true"
1047
+ :soapType: tns:ID
1048
+ :unique: "false"
1049
+ :name: CreatedById
1050
+ :filterable: "true"
1051
+ :sortable: "true"
1052
+ :autoNumber: "false"
1053
+ :scale: "0"
1054
+ :idLookup: "false"
1055
+ :precision: "0"
1056
+ :nameField: "false"
1057
+ :length: "18"
1058
+ :label: Created By ID
1059
+ :byteLength: "18"
1060
+ :referenceTo: User
1061
+ :namePointing: "false"
1062
+ :custom: "false"
1063
+ :calculated: "false"
1064
+ :updateable: "false"
1065
+ :nillable: "false"
1066
+ - :type: datetime
1067
+ :createable: "false"
1068
+ :caseSensitive: "false"
1069
+ :restrictedPicklist: "false"
1070
+ :digits: "0"
1071
+ :defaultedOnCreate: "true"
1072
+ :soapType: xsd:dateTime
1073
+ :unique: "false"
1074
+ :name: LastModifiedDate
1075
+ :filterable: "true"
1076
+ :sortable: "true"
1077
+ :autoNumber: "false"
1078
+ :scale: "0"
1079
+ :idLookup: "false"
1080
+ :precision: "0"
1081
+ :nameField: "false"
1082
+ :length: "0"
1083
+ :label: Last Modified Date
1084
+ :byteLength: "0"
1085
+ :namePointing: "false"
1086
+ :custom: "false"
1087
+ :calculated: "false"
1088
+ :updateable: "false"
1089
+ :nillable: "false"
1090
+ - :type: reference
1091
+ :createable: "false"
1092
+ :caseSensitive: "false"
1093
+ :restrictedPicklist: "false"
1094
+ :relationshipName: LastModifiedBy
1095
+ :digits: "0"
1096
+ :defaultedOnCreate: "true"
1097
+ :soapType: tns:ID
1098
+ :unique: "false"
1099
+ :name: LastModifiedById
1100
+ :filterable: "true"
1101
+ :sortable: "true"
1102
+ :autoNumber: "false"
1103
+ :scale: "0"
1104
+ :idLookup: "false"
1105
+ :precision: "0"
1106
+ :nameField: "false"
1107
+ :length: "18"
1108
+ :label: Last Modified By ID
1109
+ :byteLength: "18"
1110
+ :referenceTo: User
1111
+ :namePointing: "false"
1112
+ :custom: "false"
1113
+ :calculated: "false"
1114
+ :updateable: "false"
1115
+ :nillable: "false"
1116
+ - :type: datetime
1117
+ :createable: "false"
1118
+ :caseSensitive: "false"
1119
+ :restrictedPicklist: "false"
1120
+ :digits: "0"
1121
+ :defaultedOnCreate: "true"
1122
+ :soapType: xsd:dateTime
1123
+ :unique: "false"
1124
+ :name: SystemModstamp
1125
+ :filterable: "true"
1126
+ :sortable: "true"
1127
+ :autoNumber: "false"
1128
+ :scale: "0"
1129
+ :idLookup: "false"
1130
+ :precision: "0"
1131
+ :nameField: "false"
1132
+ :length: "0"
1133
+ :label: System Modstamp
1134
+ :byteLength: "0"
1135
+ :namePointing: "false"
1136
+ :custom: "false"
1137
+ :calculated: "false"
1138
+ :updateable: "false"
1139
+ :nillable: "false"
1140
+ - :type: date
1141
+ :createable: "false"
1142
+ :caseSensitive: "false"
1143
+ :restrictedPicklist: "false"
1144
+ :digits: "0"
1145
+ :defaultedOnCreate: "false"
1146
+ :soapType: xsd:date
1147
+ :unique: "false"
1148
+ :name: LastActivityDate
1149
+ :filterable: "true"
1150
+ :sortable: "true"
1151
+ :autoNumber: "false"
1152
+ :scale: "0"
1153
+ :idLookup: "false"
1154
+ :precision: "0"
1155
+ :nameField: "false"
1156
+ :length: "0"
1157
+ :label: Last Activity
1158
+ :byteLength: "0"
1159
+ :namePointing: "false"
1160
+ :custom: "false"
1161
+ :calculated: "false"
1162
+ :updateable: "false"
1163
+ :nillable: "true"
1164
+ - :type: datetime
1165
+ :createable: "false"
1166
+ :caseSensitive: "false"
1167
+ :restrictedPicklist: "false"
1168
+ :digits: "0"
1169
+ :defaultedOnCreate: "false"
1170
+ :soapType: xsd:dateTime
1171
+ :unique: "false"
1172
+ :name: LastCURequestDate
1173
+ :filterable: "true"
1174
+ :sortable: "true"
1175
+ :autoNumber: "false"
1176
+ :scale: "0"
1177
+ :idLookup: "false"
1178
+ :precision: "0"
1179
+ :nameField: "false"
1180
+ :length: "0"
1181
+ :label: Last Stay-in-Touch Request Date
1182
+ :byteLength: "0"
1183
+ :namePointing: "false"
1184
+ :custom: "false"
1185
+ :calculated: "false"
1186
+ :updateable: "false"
1187
+ :nillable: "true"
1188
+ - :type: datetime
1189
+ :createable: "false"
1190
+ :caseSensitive: "false"
1191
+ :restrictedPicklist: "false"
1192
+ :digits: "0"
1193
+ :defaultedOnCreate: "false"
1194
+ :soapType: xsd:dateTime
1195
+ :unique: "false"
1196
+ :name: LastCUUpdateDate
1197
+ :filterable: "true"
1198
+ :sortable: "true"
1199
+ :autoNumber: "false"
1200
+ :scale: "0"
1201
+ :idLookup: "false"
1202
+ :precision: "0"
1203
+ :nameField: "false"
1204
+ :length: "0"
1205
+ :label: Last Stay-in-Touch Save Date
1206
+ :byteLength: "0"
1207
+ :namePointing: "false"
1208
+ :custom: "false"
1209
+ :calculated: "false"
1210
+ :updateable: "false"
1211
+ :nillable: "true"
1212
+ :updateable: "true"
1213
+ :recordTypeInfos:
1214
+ :available: "true"
1215
+ :defaultRecordTypeMapping: "true"
1216
+ :name: Master
1217
+ :recordTypeId: 012000000000000AAA
1218
+ ---
1219
+ create(sObjects:type { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Contact:HomePhone:555-555-1212:LastName:DutchTestLastName:FirstName:DutchTestFirstName): !ruby/object:RForce::SoapResponse
1220
+ parsed:
1221
+ :createResponse:
1222
+ :result:
1223
+ :success: "true"
1224
+ :id: 003T000000G02hoIAB
1225
+ ---
1226
+ 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 = '003T000000G02hoIAB') ): !ruby/object:RForce::SoapResponse
1227
+ parsed:
1228
+ :queryResponse:
1229
+ :result:
1230
+ :records:
1231
+ :LastCURequestDate:
1232
+ :AssistantName:
1233
+ :MailingState:
1234
+ :IsDeleted: "false"
1235
+ :type: Contact
1236
+ :CreatedById: 005T0000000eI4DIAU
1237
+ :OtherPhone:
1238
+ :OtherState:
1239
+ :Name: DutchTestFirstName DutchTestLastName
1240
+ :LastName: DutchTestLastName
1241
+ :LastCUUpdateDate:
1242
+ :LeadSource:
1243
+ :Department:
1244
+ :MailingPostalCode:
1245
+ :MasterRecordId:
1246
+ :LastModifiedDate: "2007-12-30T17:48:25.000Z"
1247
+ :AssistantPhone:
1248
+ :OtherPostalCode:
1249
+ :FirstName: DutchTestFirstName
1250
+ :Birthdate:
1251
+ :MailingCountry:
1252
+ :AccountId:
1253
+ :LastModifiedById: 005T0000000eI4DIAU
1254
+ :ReportsToId:
1255
+ :OtherCountry:
1256
+ :Id:
1257
+ - 003T000000G02hoIAB
1258
+ - 003T000000G02hoIAB
1259
+ :Description:
1260
+ :Phone:
1261
+ :Salutation:
1262
+ :SystemModstamp: "2007-12-30T17:48:25.000Z"
1263
+ :Email:
1264
+ :MailingStreet:
1265
+ :OwnerId: 005T0000000eI4DIAU
1266
+ :Fax:
1267
+ :OtherStreet:
1268
+ :LastActivityDate:
1269
+ :Title:
1270
+ :MailingCity:
1271
+ :CreatedDate: "2007-12-30T17:48:25.000Z"
1272
+ :HomePhone: 555-555-1212
1273
+ :MobilePhone:
1274
+ :OtherCity:
1275
+ :queryLocator:
1276
+ :size: "1"
1277
+ :done: "true"
1278
+ ---
1279
+ describeSObject(sObjectType:Department): !ruby/object:RForce::SoapResponse
1280
+ parsed:
1281
+ :Fault:
1282
+ :faultstring: "INVALID_TYPE: sObject type 'Department' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names."
1283
+ :faultcode: sf:INVALID_TYPE
1284
+ :detail:
1285
+ :InvalidSObjectFault:
1286
+ :row: "-1"
1287
+ :exceptionCode: INVALID_TYPE
1288
+ :column: "-1"
1289
+ :exceptionMessage: sObject type 'Department' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.
1290
+ ---
1291
+ describeSObject(sObjectType:Department__c): !ruby/object:RForce::SoapResponse
1292
+ parsed:
1293
+ :describeSObjectResponse:
1294
+ :result:
1295
+ :searchable: "true"
1296
+ :createable: "true"
1297
+ :activateable: "false"
1298
+ :undeletable: "true"
1299
+ :labelPlural: Departments
1300
+ :keyPrefix: a01
1301
+ :deletable: "true"
1302
+ :urlDetail: https://tapp0.salesforce.com/{ID}
1303
+ :name: Department__c
1304
+ :layoutable: "true"
1305
+ :childRelationships:
1306
+ - :field: ParentId
1307
+ :relationshipName: Attachments
1308
+ :cascadeDelete: "false"
1309
+ :childSObject: Attachment
1310
+ - :field: ParentId
1311
+ :relationshipName: Notes
1312
+ :cascadeDelete: "true"
1313
+ :childSObject: Note
1314
+ - :field: ParentId
1315
+ :relationshipName: NotesAndAttachments
1316
+ :cascadeDelete: "true"
1317
+ :childSObject: NoteAndAttachment
1318
+ - :field: TargetObjectId
1319
+ :relationshipName: ProcessInstances
1320
+ :cascadeDelete: "true"
1321
+ :childSObject: ProcessInstance
1322
+ - :field: TargetObjectId
1323
+ :relationshipName: ProcessSteps
1324
+ :cascadeDelete: "false"
1325
+ :childSObject: ProcessInstanceHistory
1326
+ :urlEdit: https://tapp0.salesforce.com/{ID}/e
1327
+ :mergeable: "false"
1328
+ :replicateable: "true"
1329
+ :label: Department
1330
+ :urlNew: https://tapp0.salesforce.com/a01/e
1331
+ :queryable: "true"
1332
+ :custom: "true"
1333
+ :retrieveable: "true"
1334
+ :fields:
1335
+ - :type: id
1336
+ :createable: "false"
1337
+ :caseSensitive: "false"
1338
+ :restrictedPicklist: "false"
1339
+ :digits: "0"
1340
+ :defaultedOnCreate: "true"
1341
+ :soapType: tns:ID
1342
+ :unique: "false"
1343
+ :name: Id
1344
+ :filterable: "true"
1345
+ :sortable: "true"
1346
+ :autoNumber: "false"
1347
+ :scale: "0"
1348
+ :idLookup: "true"
1349
+ :precision: "0"
1350
+ :nameField: "false"
1351
+ :length: "18"
1352
+ :label: Record ID
1353
+ :byteLength: "18"
1354
+ :namePointing: "false"
1355
+ :custom: "false"
1356
+ :calculated: "false"
1357
+ :updateable: "false"
1358
+ :nillable: "false"
1359
+ - :type: reference
1360
+ :createable: "true"
1361
+ :caseSensitive: "false"
1362
+ :restrictedPicklist: "false"
1363
+ :relationshipName: Owner
1364
+ :digits: "0"
1365
+ :defaultedOnCreate: "true"
1366
+ :soapType: tns:ID
1367
+ :unique: "false"
1368
+ :name: OwnerId
1369
+ :filterable: "true"
1370
+ :sortable: "true"
1371
+ :autoNumber: "false"
1372
+ :scale: "0"
1373
+ :idLookup: "false"
1374
+ :precision: "0"
1375
+ :nameField: "false"
1376
+ :length: "18"
1377
+ :label: Owner ID
1378
+ :byteLength: "18"
1379
+ :referenceTo:
1380
+ - Group
1381
+ - User
1382
+ :namePointing: "true"
1383
+ :custom: "false"
1384
+ :calculated: "false"
1385
+ :updateable: "true"
1386
+ :nillable: "false"
1387
+ - :type: boolean
1388
+ :createable: "false"
1389
+ :caseSensitive: "false"
1390
+ :restrictedPicklist: "false"
1391
+ :digits: "0"
1392
+ :defaultedOnCreate: "true"
1393
+ :soapType: xsd:boolean
1394
+ :unique: "false"
1395
+ :name: IsDeleted
1396
+ :filterable: "true"
1397
+ :sortable: "true"
1398
+ :autoNumber: "false"
1399
+ :scale: "0"
1400
+ :idLookup: "false"
1401
+ :precision: "0"
1402
+ :nameField: "false"
1403
+ :length: "0"
1404
+ :label: Deleted
1405
+ :byteLength: "0"
1406
+ :namePointing: "false"
1407
+ :custom: "false"
1408
+ :calculated: "false"
1409
+ :updateable: "false"
1410
+ :nillable: "false"
1411
+ - :type: string
1412
+ :createable: "true"
1413
+ :caseSensitive: "false"
1414
+ :restrictedPicklist: "false"
1415
+ :digits: "0"
1416
+ :defaultedOnCreate: "true"
1417
+ :soapType: xsd:string
1418
+ :unique: "false"
1419
+ :name: Name
1420
+ :filterable: "true"
1421
+ :sortable: "true"
1422
+ :autoNumber: "false"
1423
+ :scale: "0"
1424
+ :idLookup: "true"
1425
+ :precision: "0"
1426
+ :nameField: "true"
1427
+ :length: "80"
1428
+ :label: Department Name
1429
+ :byteLength: "240"
1430
+ :namePointing: "false"
1431
+ :custom: "false"
1432
+ :calculated: "false"
1433
+ :updateable: "true"
1434
+ :nillable: "true"
1435
+ - :type: datetime
1436
+ :createable: "false"
1437
+ :caseSensitive: "false"
1438
+ :restrictedPicklist: "false"
1439
+ :digits: "0"
1440
+ :defaultedOnCreate: "true"
1441
+ :soapType: xsd:dateTime
1442
+ :unique: "false"
1443
+ :name: CreatedDate
1444
+ :filterable: "true"
1445
+ :sortable: "true"
1446
+ :autoNumber: "false"
1447
+ :scale: "0"
1448
+ :idLookup: "false"
1449
+ :precision: "0"
1450
+ :nameField: "false"
1451
+ :length: "0"
1452
+ :label: Created Date
1453
+ :byteLength: "0"
1454
+ :namePointing: "false"
1455
+ :custom: "false"
1456
+ :calculated: "false"
1457
+ :updateable: "false"
1458
+ :nillable: "false"
1459
+ - :type: reference
1460
+ :createable: "false"
1461
+ :caseSensitive: "false"
1462
+ :restrictedPicklist: "false"
1463
+ :relationshipName: CreatedBy
1464
+ :digits: "0"
1465
+ :defaultedOnCreate: "true"
1466
+ :soapType: tns:ID
1467
+ :unique: "false"
1468
+ :name: CreatedById
1469
+ :filterable: "true"
1470
+ :sortable: "true"
1471
+ :autoNumber: "false"
1472
+ :scale: "0"
1473
+ :idLookup: "false"
1474
+ :precision: "0"
1475
+ :nameField: "false"
1476
+ :length: "18"
1477
+ :label: Created By ID
1478
+ :byteLength: "18"
1479
+ :referenceTo: User
1480
+ :namePointing: "false"
1481
+ :custom: "false"
1482
+ :calculated: "false"
1483
+ :updateable: "false"
1484
+ :nillable: "false"
1485
+ - :type: datetime
1486
+ :createable: "false"
1487
+ :caseSensitive: "false"
1488
+ :restrictedPicklist: "false"
1489
+ :digits: "0"
1490
+ :defaultedOnCreate: "true"
1491
+ :soapType: xsd:dateTime
1492
+ :unique: "false"
1493
+ :name: LastModifiedDate
1494
+ :filterable: "true"
1495
+ :sortable: "true"
1496
+ :autoNumber: "false"
1497
+ :scale: "0"
1498
+ :idLookup: "false"
1499
+ :precision: "0"
1500
+ :nameField: "false"
1501
+ :length: "0"
1502
+ :label: Last Modified Date
1503
+ :byteLength: "0"
1504
+ :namePointing: "false"
1505
+ :custom: "false"
1506
+ :calculated: "false"
1507
+ :updateable: "false"
1508
+ :nillable: "false"
1509
+ - :type: reference
1510
+ :createable: "false"
1511
+ :caseSensitive: "false"
1512
+ :restrictedPicklist: "false"
1513
+ :relationshipName: LastModifiedBy
1514
+ :digits: "0"
1515
+ :defaultedOnCreate: "true"
1516
+ :soapType: tns:ID
1517
+ :unique: "false"
1518
+ :name: LastModifiedById
1519
+ :filterable: "true"
1520
+ :sortable: "true"
1521
+ :autoNumber: "false"
1522
+ :scale: "0"
1523
+ :idLookup: "false"
1524
+ :precision: "0"
1525
+ :nameField: "false"
1526
+ :length: "18"
1527
+ :label: Last Modified By ID
1528
+ :byteLength: "18"
1529
+ :referenceTo: User
1530
+ :namePointing: "false"
1531
+ :custom: "false"
1532
+ :calculated: "false"
1533
+ :updateable: "false"
1534
+ :nillable: "false"
1535
+ - :type: datetime
1536
+ :createable: "false"
1537
+ :caseSensitive: "false"
1538
+ :restrictedPicklist: "false"
1539
+ :digits: "0"
1540
+ :defaultedOnCreate: "true"
1541
+ :soapType: xsd:dateTime
1542
+ :unique: "false"
1543
+ :name: SystemModstamp
1544
+ :filterable: "true"
1545
+ :sortable: "true"
1546
+ :autoNumber: "false"
1547
+ :scale: "0"
1548
+ :idLookup: "false"
1549
+ :precision: "0"
1550
+ :nameField: "false"
1551
+ :length: "0"
1552
+ :label: System Modstamp
1553
+ :byteLength: "0"
1554
+ :namePointing: "false"
1555
+ :custom: "false"
1556
+ :calculated: "false"
1557
+ :updateable: "false"
1558
+ :nillable: "false"
1559
+ - :type: string
1560
+ :createable: "true"
1561
+ :caseSensitive: "false"
1562
+ :restrictedPicklist: "false"
1563
+ :digits: "0"
1564
+ :defaultedOnCreate: "false"
1565
+ :soapType: xsd:string
1566
+ :unique: "false"
1567
+ :name: Department_Description__c
1568
+ :filterable: "true"
1569
+ :sortable: "true"
1570
+ :autoNumber: "false"
1571
+ :scale: "0"
1572
+ :idLookup: "false"
1573
+ :precision: "0"
1574
+ :nameField: "false"
1575
+ :length: "100"
1576
+ :label: Department Description
1577
+ :byteLength: "300"
1578
+ :namePointing: "false"
1579
+ :custom: "true"
1580
+ :calculated: "false"
1581
+ :updateable: "true"
1582
+ :nillable: "true"
1583
+ :updateable: "true"
1584
+ :recordTypeInfos:
1585
+ :available: "true"
1586
+ :defaultRecordTypeMapping: "true"
1587
+ :name: Master
1588
+ :recordTypeId: 012000000000000AAA
1589
+ ---
1590
+ create(sObjects:type { :xmlns => "urn:sobject.partner.soap.sforce.com" }:Department__c:Department_Description__c:DutchTestDepartment description): !ruby/object:RForce::SoapResponse
1591
+ parsed:
1592
+ :createResponse:
1593
+ :result:
1594
+ :success: "true"
1595
+ :id: a01T00000022kHWIAY
1596
+ ---
1597
+ query(queryString:SELECT Id, OwnerId, IsDeleted, Name, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById, SystemModstamp, Department_Description__c FROM Department__c WHERE (Id = 'a01T00000022kHWIAY') ): !ruby/object:RForce::SoapResponse
1598
+ parsed:
1599
+ :queryResponse:
1600
+ :result:
1601
+ :records:
1602
+ :IsDeleted: "false"
1603
+ :type: Department__c
1604
+ :CreatedById: 005T0000000eI4DIAU
1605
+ :Name: a01T00000022kHW
1606
+ :Department_Description__c: DutchTestDepartment description
1607
+ :LastModifiedDate: "2007-12-30T17:48:28.000Z"
1608
+ :LastModifiedById: 005T0000000eI4DIAU
1609
+ :Id:
1610
+ - a01T00000022kHWIAY
1611
+ - a01T00000022kHWIAY
1612
+ :SystemModstamp: "2007-12-30T17:48:28.000Z"
1613
+ :OwnerId: 005T0000000eI4DIAU
1614
+ :CreatedDate: "2007-12-30T17:48:28.000Z"
1615
+ :queryLocator:
1616
+ :size: "1"
1617
+ :done: "true"
1618
+ ---
1619
+ describeSObject(sObjectType:AccountContactRole): !ruby/object:RForce::SoapResponse
1620
+ parsed:
1621
+ :describeSObjectResponse:
1622
+ :result:
1623
+ :searchable: "false"
1624
+ :createable: "true"
1625
+ :activateable: "false"
1626
+ :undeletable: "false"
1627
+ :labelPlural: Contact Role
1628
+ :keyPrefix: 02Z
1629
+ :deletable: "true"
1630
+ :urlDetail:
1631
+ :name: AccountContactRole
1632
+ :layoutable: "false"
1633
+ :urlEdit:
1634
+ :mergeable: "false"
1635
+ :replicateable: "true"
1636
+ :label: Contact Role
1637
+ :urlNew:
1638
+ :queryable: "true"
1639
+ :custom: "false"
1640
+ :retrieveable: "true"
1641
+ :fields:
1642
+ - :type: id
1643
+ :createable: "false"
1644
+ :caseSensitive: "false"
1645
+ :restrictedPicklist: "false"
1646
+ :digits: "0"
1647
+ :defaultedOnCreate: "true"
1648
+ :soapType: tns:ID
1649
+ :unique: "false"
1650
+ :name: Id
1651
+ :filterable: "true"
1652
+ :sortable: "true"
1653
+ :autoNumber: "false"
1654
+ :scale: "0"
1655
+ :idLookup: "true"
1656
+ :precision: "0"
1657
+ :nameField: "false"
1658
+ :length: "18"
1659
+ :label: Contact Role ID
1660
+ :byteLength: "18"
1661
+ :namePointing: "false"
1662
+ :custom: "false"
1663
+ :calculated: "false"
1664
+ :updateable: "false"
1665
+ :nillable: "false"
1666
+ - :type: reference
1667
+ :createable: "true"
1668
+ :caseSensitive: "false"
1669
+ :restrictedPicklist: "false"
1670
+ :relationshipName: Account
1671
+ :digits: "0"
1672
+ :defaultedOnCreate: "false"
1673
+ :soapType: tns:ID
1674
+ :unique: "false"
1675
+ :name: AccountId
1676
+ :filterable: "true"
1677
+ :sortable: "true"
1678
+ :autoNumber: "false"
1679
+ :scale: "0"
1680
+ :idLookup: "false"
1681
+ :precision: "0"
1682
+ :nameField: "false"
1683
+ :length: "18"
1684
+ :label: Account ID
1685
+ :byteLength: "18"
1686
+ :referenceTo: Account
1687
+ :namePointing: "false"
1688
+ :custom: "false"
1689
+ :calculated: "false"
1690
+ :updateable: "false"
1691
+ :nillable: "false"
1692
+ - :type: reference
1693
+ :createable: "true"
1694
+ :caseSensitive: "false"
1695
+ :restrictedPicklist: "false"
1696
+ :relationshipName: Contact
1697
+ :digits: "0"
1698
+ :defaultedOnCreate: "false"
1699
+ :soapType: tns:ID
1700
+ :unique: "false"
1701
+ :name: ContactId
1702
+ :filterable: "true"
1703
+ :sortable: "true"
1704
+ :autoNumber: "false"
1705
+ :scale: "0"
1706
+ :idLookup: "false"
1707
+ :precision: "0"
1708
+ :nameField: "false"
1709
+ :length: "18"
1710
+ :label: Contact ID
1711
+ :byteLength: "18"
1712
+ :referenceTo: Contact
1713
+ :namePointing: "false"
1714
+ :custom: "false"
1715
+ :calculated: "false"
1716
+ :updateable: "true"
1717
+ :nillable: "false"
1718
+ - :type: picklist
1719
+ :createable: "true"
1720
+ :caseSensitive: "false"
1721
+ :restrictedPicklist: "false"
1722
+ :digits: "0"
1723
+ :defaultedOnCreate: "false"
1724
+ :soapType: xsd:string
1725
+ :unique: "false"
1726
+ :name: Role
1727
+ :filterable: "true"
1728
+ :sortable: "true"
1729
+ :autoNumber: "false"
1730
+ :scale: "0"
1731
+ :idLookup: "false"
1732
+ :precision: "0"
1733
+ :picklistValues:
1734
+ - :defaultValue: "false"
1735
+ :value: Business User
1736
+ :label: Business User
1737
+ :active: "true"
1738
+ - :defaultValue: "false"
1739
+ :value: Decision Maker
1740
+ :label: Decision Maker
1741
+ :active: "true"
1742
+ - :defaultValue: "false"
1743
+ :value: Economic Buyer
1744
+ :label: Economic Buyer
1745
+ :active: "true"
1746
+ - :defaultValue: "false"
1747
+ :value: Economic Decision Maker
1748
+ :label: Economic Decision Maker
1749
+ :active: "true"
1750
+ - :defaultValue: "false"
1751
+ :value: Evaluator
1752
+ :label: Evaluator
1753
+ :active: "true"
1754
+ - :defaultValue: "false"
1755
+ :value: Executive Sponsor
1756
+ :label: Executive Sponsor
1757
+ :active: "true"
1758
+ - :defaultValue: "false"
1759
+ :value: Influencer
1760
+ :label: Influencer
1761
+ :active: "true"
1762
+ - :defaultValue: "false"
1763
+ :value: Technical Buyer
1764
+ :label: Technical Buyer
1765
+ :active: "true"
1766
+ - :defaultValue: "false"
1767
+ :value: Other
1768
+ :label: Other
1769
+ :active: "true"
1770
+ :nameField: "false"
1771
+ :length: "40"
1772
+ :label: Role
1773
+ :byteLength: "120"
1774
+ :namePointing: "false"
1775
+ :custom: "false"
1776
+ :calculated: "false"
1777
+ :updateable: "true"
1778
+ :nillable: "true"
1779
+ - :type: boolean
1780
+ :createable: "true"
1781
+ :caseSensitive: "false"
1782
+ :restrictedPicklist: "false"
1783
+ :digits: "0"
1784
+ :defaultedOnCreate: "true"
1785
+ :soapType: xsd:boolean
1786
+ :unique: "false"
1787
+ :name: IsPrimary
1788
+ :filterable: "true"
1789
+ :sortable: "true"
1790
+ :autoNumber: "false"
1791
+ :scale: "0"
1792
+ :idLookup: "false"
1793
+ :precision: "0"
1794
+ :nameField: "false"
1795
+ :length: "0"
1796
+ :label: Primary
1797
+ :byteLength: "0"
1798
+ :namePointing: "false"
1799
+ :custom: "false"
1800
+ :calculated: "false"
1801
+ :updateable: "true"
1802
+ :nillable: "false"
1803
+ - :type: datetime
1804
+ :createable: "false"
1805
+ :caseSensitive: "false"
1806
+ :restrictedPicklist: "false"
1807
+ :digits: "0"
1808
+ :defaultedOnCreate: "true"
1809
+ :soapType: xsd:dateTime
1810
+ :unique: "false"
1811
+ :name: CreatedDate
1812
+ :filterable: "true"
1813
+ :sortable: "true"
1814
+ :autoNumber: "false"
1815
+ :scale: "0"
1816
+ :idLookup: "false"
1817
+ :precision: "0"
1818
+ :nameField: "false"
1819
+ :length: "0"
1820
+ :label: Created Date
1821
+ :byteLength: "0"
1822
+ :namePointing: "false"
1823
+ :custom: "false"
1824
+ :calculated: "false"
1825
+ :updateable: "false"
1826
+ :nillable: "false"
1827
+ - :type: reference
1828
+ :createable: "false"
1829
+ :caseSensitive: "false"
1830
+ :restrictedPicklist: "false"
1831
+ :relationshipName: CreatedBy
1832
+ :digits: "0"
1833
+ :defaultedOnCreate: "true"
1834
+ :soapType: tns:ID
1835
+ :unique: "false"
1836
+ :name: CreatedById
1837
+ :filterable: "true"
1838
+ :sortable: "true"
1839
+ :autoNumber: "false"
1840
+ :scale: "0"
1841
+ :idLookup: "false"
1842
+ :precision: "0"
1843
+ :nameField: "false"
1844
+ :length: "18"
1845
+ :label: Created By ID
1846
+ :byteLength: "18"
1847
+ :referenceTo: User
1848
+ :namePointing: "false"
1849
+ :custom: "false"
1850
+ :calculated: "false"
1851
+ :updateable: "false"
1852
+ :nillable: "false"
1853
+ - :type: datetime
1854
+ :createable: "false"
1855
+ :caseSensitive: "false"
1856
+ :restrictedPicklist: "false"
1857
+ :digits: "0"
1858
+ :defaultedOnCreate: "true"
1859
+ :soapType: xsd:dateTime
1860
+ :unique: "false"
1861
+ :name: LastModifiedDate
1862
+ :filterable: "true"
1863
+ :sortable: "true"
1864
+ :autoNumber: "false"
1865
+ :scale: "0"
1866
+ :idLookup: "false"
1867
+ :precision: "0"
1868
+ :nameField: "false"
1869
+ :length: "0"
1870
+ :label: Last Modified Date
1871
+ :byteLength: "0"
1872
+ :namePointing: "false"
1873
+ :custom: "false"
1874
+ :calculated: "false"
1875
+ :updateable: "false"
1876
+ :nillable: "false"
1877
+ - :type: reference
1878
+ :createable: "false"
1879
+ :caseSensitive: "false"
1880
+ :restrictedPicklist: "false"
1881
+ :relationshipName: LastModifiedBy
1882
+ :digits: "0"
1883
+ :defaultedOnCreate: "true"
1884
+ :soapType: tns:ID
1885
+ :unique: "false"
1886
+ :name: LastModifiedById
1887
+ :filterable: "true"
1888
+ :sortable: "true"
1889
+ :autoNumber: "false"
1890
+ :scale: "0"
1891
+ :idLookup: "false"
1892
+ :precision: "0"
1893
+ :nameField: "false"
1894
+ :length: "18"
1895
+ :label: Last Modified By ID
1896
+ :byteLength: "18"
1897
+ :referenceTo: User
1898
+ :namePointing: "false"
1899
+ :custom: "false"
1900
+ :calculated: "false"
1901
+ :updateable: "false"
1902
+ :nillable: "false"
1903
+ - :type: datetime
1904
+ :createable: "false"
1905
+ :caseSensitive: "false"
1906
+ :restrictedPicklist: "false"
1907
+ :digits: "0"
1908
+ :defaultedOnCreate: "true"
1909
+ :soapType: xsd:dateTime
1910
+ :unique: "false"
1911
+ :name: SystemModstamp
1912
+ :filterable: "true"
1913
+ :sortable: "true"
1914
+ :autoNumber: "false"
1915
+ :scale: "0"
1916
+ :idLookup: "false"
1917
+ :precision: "0"
1918
+ :nameField: "false"
1919
+ :length: "0"
1920
+ :label: System Modstamp
1921
+ :byteLength: "0"
1922
+ :namePointing: "false"
1923
+ :custom: "false"
1924
+ :calculated: "false"
1925
+ :updateable: "false"
1926
+ :nillable: "false"
1927
+ - :type: boolean
1928
+ :createable: "false"
1929
+ :caseSensitive: "false"
1930
+ :restrictedPicklist: "false"
1931
+ :digits: "0"
1932
+ :defaultedOnCreate: "true"
1933
+ :soapType: xsd:boolean
1934
+ :unique: "false"
1935
+ :name: IsDeleted
1936
+ :filterable: "true"
1937
+ :sortable: "true"
1938
+ :autoNumber: "false"
1939
+ :scale: "0"
1940
+ :idLookup: "false"
1941
+ :precision: "0"
1942
+ :nameField: "false"
1943
+ :length: "0"
1944
+ :label: Deleted
1945
+ :byteLength: "0"
1946
+ :namePointing: "false"
1947
+ :custom: "false"
1948
+ :calculated: "false"
1949
+ :updateable: "false"
1950
+ :nillable: "false"
1951
+ :updateable: "true"