restforce-db 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/restforce/db.rb +2 -0
- data/lib/restforce/db/associator.rb +2 -11
- data/lib/restforce/db/attacher.rb +91 -0
- data/lib/restforce/db/cleaner.rb +3 -13
- data/lib/restforce/db/collector.rb +1 -10
- data/lib/restforce/db/field_processor.rb +53 -17
- data/lib/restforce/db/initializer.rb +6 -14
- data/lib/restforce/db/instances/salesforce.rb +2 -1
- data/lib/restforce/db/record_types/salesforce.rb +47 -20
- data/lib/restforce/db/synchronizer.rb +1 -9
- data/lib/restforce/db/task.rb +32 -0
- data/lib/restforce/db/version.rb +1 -1
- data/lib/restforce/db/worker.rb +21 -59
- data/test/cassettes/Restforce_DB/accessing_Salesforce/uses_the_configured_credentials.yml +6 -6
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/returns_an_associated_record_populated_with_the_Salesforce_attributes.yml +203 -52
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_no_salesforce_record_is_found_for_the_association/proceeds_without_constructing_any_records.yml +185 -34
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_the_associated_record_has_already_been_persisted/assigns_the_existing_record.yml +203 -52
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_the_associated_record_has_been_cached/uses_the_cached_record.yml +203 -52
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +97 -44
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/with_an_unrelated_association_mapping/proceeds_without_raising_an_error.yml +203 -52
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_lookups/returns_a_hash_of_the_associated_records_lookup_IDs.yml +36 -36
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_lookups/when_there_is_currently_no_associated_record/and_the_underlying_association_is_one-to-many/still_returns_a_nil_lookup_value_in_the_hash.yml +20 -20
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_lookups/when_there_is_currently_no_associated_record/returns_a_nil_lookup_value_in_the_hash.yml +20 -20
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +105 -52
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +105 -52
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/builds_a_number_of_associated_records_from_the_data_in_Salesforce.yml +191 -87
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_no_salesforce_record_is_found_for_the_association/proceeds_without_constructing_any_records.yml +139 -35
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_the_associated_records_have_alrady_been_persisted/constructs_the_association_from_the_existing_records.yml +191 -87
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_the_associated_records_have_been_cached/uses_the_cached_records.yml +191 -87
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +81 -28
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +191 -87
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +139 -35
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/and_a_nested_association_on_the_associated_mapping/recursively_builds_all_associations.yml +278 -76
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/returns_an_associated_record_populated_with_the_Salesforce_attributes.yml +203 -52
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_no_salesforce_record_is_found_for_the_association/proceeds_without_constructing_any_records.yml +186 -35
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_the_associated_record_has_already_been_persisted/assigns_the_existing_record.yml +203 -52
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_the_associated_record_has_been_cached/uses_the_cached_record.yml +203 -52
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +142 -44
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +203 -52
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +203 -52
- data/test/cassettes/Restforce_DB_Associator/_run/given_a_BelongsTo_association/given_another_record_for_association/when_the_Salesforce_association_is_out_of_date/updates_the_association_ID_in_Salesforce.yml +124 -124
- data/test/cassettes/Restforce_DB_Associator/_run/given_a_BelongsTo_association/given_another_record_for_association/when_the_database_association_is_out_of_date/updates_the_associated_record_in_the_database.yml +224 -126
- data/test/cassettes/Restforce_DB_Attacher/_run/given_a_Salesforce_record_with_an_upsert_ID/for_a_Passive_strategy/does_nothing.yml +119 -0
- data/test/cassettes/Restforce_DB_Attacher/_run/given_a_Salesforce_record_with_an_upsert_ID/for_an_Always_strategy/links_the_Salesforce_record_to_the_matching_database_record.yml +246 -0
- data/test/cassettes/Restforce_DB_Attacher/_run/given_a_Salesforce_record_with_an_upsert_ID/for_an_Always_strategy/when_no_matching_database_record_can_be_found/wipes_the_SynchronizationID__c_on_the_Salesforce_record.yml +284 -0
- data/test/cassettes/Restforce_DB_Attacher/_run/given_a_Salesforce_record_with_an_upsert_ID/for_an_Always_strategy/when_the_matching_database_record_has_a_salesforce_id/does_not_change_the_current_Salesforce_ID.yml +246 -0
- data/test/cassettes/Restforce_DB_Attacher/_run/given_a_Salesforce_record_with_an_upsert_ID/for_an_Always_strategy/when_the_matching_database_record_has_a_salesforce_id/wipes_the_SynchronizationId__c.yml +284 -0
- data/test/cassettes/{Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/updates_the_salesforce_record.yml → Restforce_DB_Attacher/_run/given_a_Salesforce_record_with_an_upsert_ID/for_an_Always_strategy/when_the_upsert_ID_is_for_another_database_model/does_not_wipe_the_SynchronizationId__c.yml} +57 -95
- data/test/cassettes/{Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/updates_the_database_record.yml → Restforce_DB_Attacher/_run/given_a_Salesforce_record_with_an_upsert_ID/for_an_Always_strategy/wipes_the_SynchronizationId__c.yml} +77 -116
- data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_mapping_has_no_conditions/does_not_drop_the_synchronized_database_record.yml +20 -20
- data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_record_does_not_meet_the_mapping_conditions/but_meets_conditions_for_a_parallel_mapping/does_not_drop_the_synchronized_database_record.yml +98 -45
- data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_record_does_not_meet_the_mapping_conditions/drops_the_synchronized_database_record.yml +90 -37
- data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_record_has_been_deleted_in_Salesforce/drops_the_synchronized_database_record.yml +20 -20
- data/test/cassettes/Restforce_DB_Cleaner/_run/given_a_synchronized_Salesforce_record/when_the_record_meets_the_mapping_conditions/does_not_drop_the_synchronized_database_record.yml +89 -36
- data/test/cassettes/Restforce_DB_Collector/_run/given_a_Salesforce_record_with_an_associated_database_record/returns_the_attributes_from_both_records.yml +103 -50
- data/test/cassettes/Restforce_DB_Collector/_run/given_an_existing_Salesforce_record/which_has_been_synchronized/returns_the_attributes_from_the_Salesforce_record.yml +102 -73
- data/test/cassettes/Restforce_DB_Collector/_run/given_an_existing_Salesforce_record/which_has_not_been_synchronized/does_not_store_any_attributes.yml +81 -40
- data/test/cassettes/Restforce_DB_Collector/_run/given_an_existing_database_record/returns_the_attributes_from_the_database_record.yml +66 -13
- data/test/cassettes/Restforce_DB_Collector/_run/when_the_record_has_not_been_updated_outside_of_the_system/does_not_collect_any_changes.yml +82 -29
- data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_Salesforce_record/for_a_Passive_strategy/does_not_create_a_database_record.yml +20 -20
- data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_Salesforce_record/for_an_Always_strategy/creates_a_matching_database_record.yml +81 -28
- data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_database_record/for_an_Always_strategy/populates_Salesforce_with_the_new_record.yml +103 -67
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_synced_/when_a_matching_database_record_exists/returns_true.yml +81 -28
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_synced_/when_no_matching_database_record_exists/returns_false.yml +81 -28
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_update_/updates_the_local_record_with_the_passed_attributes.yml +59 -59
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_update_/updates_the_record_in_Salesforce_with_the_passed_attributes.yml +67 -67
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_updated_internally_/when_another_user_made_the_last_change/returns_false.yml +18 -18
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_updated_internally_/when_our_client_made_the_last_change/returns_true.yml +101 -48
- data/test/cassettes/Restforce_DB_Model/given_a_database_model_which_includes_the_module/_force_sync_/given_a_previously-synchronized_record_for_a_mapped_model/force-updates_both_synchronized_records.yml +67 -67
- data/test/cassettes/Restforce_DB_Model/given_a_database_model_which_includes_the_module/_force_sync_/given_an_unsynchronized_record_for_a_mapped_model/creates_a_matching_record_in_Salesforce.yml +78 -42
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_all/returns_a_list_of_the_existing_records_in_Salesforce.yml +82 -29
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_create_/creates_a_record_in_Salesforce_from_the_passed_database_record_s_attributes.yml +70 -34
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_create_/updates_the_database_record_with_the_Salesforce_record_s_ID.yml +70 -34
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_create_/when_a_Salesforce_record_already_exists_for_the_database_instance/uses_the_existing_record.yml +76 -40
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_create_/wipes_the_temporary_SynchronizationId__c_value_used_for_upsert.yml +247 -0
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/finds_existing_records_in_Salesforce.yml +81 -28
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/given_a_set_of_mapping_conditions/when_a_record_does_not_meet_the_conditions/does_not_find_the_record.yml +80 -27
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/given_a_set_of_mapping_conditions/when_a_record_meets_the_conditions/finds_the_record.yml +81 -28
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/returns_nil_when_no_matching_record_exists.yml +65 -12
- data/test/cassettes/Restforce_DB_Strategies_Always/_build_/given_a_Salesforce_record/wants_to_build_a_new_matching_record.yml +81 -28
- data/test/cassettes/Restforce_DB_Strategies_Always/_build_/given_a_Salesforce_record/with_a_corresponding_database_record/does_not_want_to_build_a_new_record.yml +81 -28
- data/test/cassettes/Restforce_DB_Strategies_Associated/_build_/given_an_inverse_mapping/with_a_synchronized_association_record/wants_to_build_a_new_record.yml +103 -52
- data/test/cassettes/Restforce_DB_Strategies_Associated/_build_/given_an_inverse_mapping/with_an_existing_database_record/does_not_want_to_build_a_new_record.yml +95 -44
- data/test/cassettes/Restforce_DB_Strategies_Associated/_build_/given_an_inverse_mapping/with_no_synchronized_association_record/does_not_want_to_build_a_new_record.yml +103 -52
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/when_the_change_timestamp_is_stale/does_not_update_the_database_record.yml +60 -96
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/when_the_change_timestamp_is_stale/does_not_update_the_salesforce_record.yml +97 -44
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/when_the_changes_are_current/updates_the_database_record.yml +77 -77
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/when_the_changes_are_current/updates_the_salesforce_record.yml +85 -85
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_no_associated_database_record/does_nothing_for_this_specific_mapping.yml +89 -36
- data/test/cassettes/Restforce_DB_Worker/a_race_condition_during_synchronization/does_not_change_the_user-entered_name_on_the_database_record.yml +153 -116
- data/test/cassettes/Restforce_DB_Worker/a_race_condition_during_synchronization/overrides_the_stale-but-more-recent_name_on_the_Salesforce.yml +161 -124
- data/test/lib/restforce/db/attacher_test.rb +93 -0
- data/test/lib/restforce/db/field_processor_test.rb +62 -23
- data/test/lib/restforce/db/record_types/salesforce_test.rb +5 -0
- data/test/lib/restforce/db/worker_test.rb +4 -3
- metadata +13 -4
@@ -21,10 +21,10 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Thu, 25 Jun 2015 21:53:08 GMT
|
25
25
|
Set-Cookie:
|
26
|
-
- BrowserId=
|
27
|
-
|
26
|
+
- BrowserId=cbNmpMsUSbOKgPKxkG75-Q;Path=/;Domain=.salesforce.com;Expires=Mon,
|
27
|
+
24-Aug-2015 21:53:08 GMT
|
28
28
|
Expires:
|
29
29
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
30
30
|
Pragma:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
- chunked
|
38
38
|
body:
|
39
39
|
encoding: ASCII-8BIT
|
40
|
-
string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"
|
40
|
+
string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1435269189101","token_type":"Bearer","instance_url":"https://<host>","signature":"goBjXRPFNKdoFBEvrU6uDi6FAdsreZSK1JxiAbL8Blo=","access_token":"00D1a000000H3O9!AQ4AQIEnz7RMa1N2z10U8y.cU3CAaZeOCxcDVSetug6psPcDYNjSbdC91y8MHqmZ.ZXE_zkQURv2YNCWYEsl0fcbZwb1MPEA"}'
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Thu, 25 Jun 2015 21:53:09 GMT
|
43
43
|
- request:
|
44
44
|
method: post
|
45
45
|
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
|
@@ -53,7 +53,7 @@ http_interactions:
|
|
53
53
|
Content-Type:
|
54
54
|
- application/json
|
55
55
|
Authorization:
|
56
|
-
- OAuth 00D1a000000H3O9!
|
56
|
+
- OAuth 00D1a000000H3O9!AQ4AQIEnz7RMa1N2z10U8y.cU3CAaZeOCxcDVSetug6psPcDYNjSbdC91y8MHqmZ.ZXE_zkQURv2YNCWYEsl0fcbZwb1MPEA
|
57
57
|
Accept-Encoding:
|
58
58
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
59
59
|
Accept:
|
@@ -64,28 +64,28 @@ http_interactions:
|
|
64
64
|
message: Created
|
65
65
|
headers:
|
66
66
|
Date:
|
67
|
-
-
|
67
|
+
- Thu, 25 Jun 2015 21:53:09 GMT
|
68
68
|
Set-Cookie:
|
69
|
-
- BrowserId=
|
70
|
-
|
69
|
+
- BrowserId=C0wCatRbSXWVduB-iX4Iww;Path=/;Domain=.salesforce.com;Expires=Mon,
|
70
|
+
24-Aug-2015 21:53:09 GMT
|
71
71
|
Expires:
|
72
72
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
73
73
|
Sforce-Limit-Info:
|
74
|
-
- api-usage=
|
74
|
+
- api-usage=1/15000
|
75
75
|
Location:
|
76
|
-
- "/services/data/<api_version>/sobjects/CustomObject__c/
|
76
|
+
- "/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zhVhAAI"
|
77
77
|
Content-Type:
|
78
78
|
- application/json;charset=UTF-8
|
79
79
|
Transfer-Encoding:
|
80
80
|
- chunked
|
81
81
|
body:
|
82
82
|
encoding: ASCII-8BIT
|
83
|
-
string: '{"id":"
|
83
|
+
string: '{"id":"a001a000002zhVhAAI","success":true,"errors":[]}'
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Thu, 25 Jun 2015 21:53:09 GMT
|
86
86
|
- request:
|
87
87
|
method: get
|
88
|
-
uri: https://<host>/services/data/<api_version>/
|
88
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/describe
|
89
89
|
body:
|
90
90
|
encoding: US-ASCII
|
91
91
|
string: ''
|
@@ -93,7 +93,7 @@ http_interactions:
|
|
93
93
|
User-Agent:
|
94
94
|
- Faraday v0.9.1
|
95
95
|
Authorization:
|
96
|
-
- OAuth 00D1a000000H3O9!
|
96
|
+
- OAuth 00D1a000000H3O9!AQ4AQIEnz7RMa1N2z10U8y.cU3CAaZeOCxcDVSetug6psPcDYNjSbdC91y8MHqmZ.ZXE_zkQURv2YNCWYEsl0fcbZwb1MPEA
|
97
97
|
Accept-Encoding:
|
98
98
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
99
99
|
Accept:
|
@@ -104,27 +104,41 @@ http_interactions:
|
|
104
104
|
message: OK
|
105
105
|
headers:
|
106
106
|
Date:
|
107
|
-
-
|
107
|
+
- Thu, 25 Jun 2015 21:53:09 GMT
|
108
108
|
Set-Cookie:
|
109
|
-
- BrowserId=
|
110
|
-
|
109
|
+
- BrowserId=JjaTT6fGQDSeFzsUhvFvug;Path=/;Domain=.salesforce.com;Expires=Mon,
|
110
|
+
24-Aug-2015 21:53:09 GMT
|
111
111
|
Expires:
|
112
112
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
113
113
|
Sforce-Limit-Info:
|
114
|
-
- api-usage=
|
114
|
+
- api-usage=1/15000
|
115
|
+
Org.eclipse.jetty.server.include.etag:
|
116
|
+
- aa7ee96f
|
117
|
+
Last-Modified:
|
118
|
+
- Wed, 24 Jun 2015 02:10:32 GMT
|
115
119
|
Content-Type:
|
116
120
|
- application/json;charset=UTF-8
|
121
|
+
Etag:
|
122
|
+
- aa7ee96-gzip"
|
117
123
|
Transfer-Encoding:
|
118
124
|
- chunked
|
119
125
|
body:
|
120
126
|
encoding: ASCII-8BIT
|
121
|
-
string: '{"
|
122
|
-
|
127
|
+
string: '{"activateable":false,"childRelationships":[{"cascadeDelete":true,"childSObject":"AttachedContentDocument","deprecatedAndHidden":false,"field":"LinkedEntityId","relationshipName":"AttachedContentDocuments","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"Attachment","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"Attachments","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"CollaborationGroupRecord","deprecatedAndHidden":false,"field":"RecordId","relationshipName":"RecordAssociatedGroups","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"CombinedAttachment","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"CombinedAttachments","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"ContentDocumentLink","deprecatedAndHidden":false,"field":"LinkedEntityId","relationshipName":null,"restrictedDelete":false},{"cascadeDelete":false,"childSObject":"ContentVersion","deprecatedAndHidden":false,"field":"FirstPublishLocationId","relationshipName":null,"restrictedDelete":false},{"cascadeDelete":true,"childSObject":"CustomObjectDetail__c","deprecatedAndHidden":false,"field":"CustomObject__c","relationshipName":"CustomObjectDetails__r","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"EntitySubscription","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"FeedSubscriptionsForEntity","restrictedDelete":false},{"cascadeDelete":false,"childSObject":"FeedComment","deprecatedAndHidden":false,"field":"ParentId","relationshipName":null,"restrictedDelete":false},{"cascadeDelete":true,"childSObject":"FeedItem","deprecatedAndHidden":false,"field":"ParentId","relationshipName":null,"restrictedDelete":false},{"cascadeDelete":true,"childSObject":"Note","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"Notes","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"NoteAndAttachment","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"NotesAndAttachments","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"ProcessInstance","deprecatedAndHidden":false,"field":"TargetObjectId","relationshipName":"ProcessInstances","restrictedDelete":false},{"cascadeDelete":false,"childSObject":"ProcessInstanceHistory","deprecatedAndHidden":false,"field":"TargetObjectId","relationshipName":"ProcessSteps","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"TopicAssignment","deprecatedAndHidden":false,"field":"EntityId","relationshipName":"TopicAssignments","restrictedDelete":false}],"compactLayoutable":true,"createable":true,"custom":true,"customSetting":false,"deletable":true,"deprecatedAndHidden":false,"feedEnabled":false,"fields":[{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":true,"inlineHelpText":null,"label":"Record
|
128
|
+
ID","length":18,"name":"Id","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"id","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Owner
|
129
|
+
ID","length":18,"name":"OwnerId","nameField":false,"namePointing":true,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":["Group","User"],"relationshipName":"Owner","relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"reference","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Deleted","length":0,"name":"IsDeleted","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:boolean","sortable":true,"type":"boolean","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":240,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":true,"inlineHelpText":null,"label":"CustomObject
|
130
|
+
Name","length":80,"name":"Name","nameField":true,"namePointing":false,"nillable":true,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:string","sortable":true,"type":"string","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":false,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Created
|
131
|
+
Date","length":0,"name":"CreatedDate","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:dateTime","sortable":true,"type":"datetime","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Created
|
132
|
+
By ID","length":18,"name":"CreatedById","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":["User"],"relationshipName":"CreatedBy","relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"reference","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":false,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Last
|
133
|
+
Modified Date","length":0,"name":"LastModifiedDate","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:dateTime","sortable":true,"type":"datetime","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Last
|
134
|
+
Modified By ID","length":18,"name":"LastModifiedById","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":["User"],"relationshipName":"LastModifiedBy","relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"reference","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":false,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"System
|
135
|
+
Modstamp","length":0,"name":"SystemModstamp","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:dateTime","sortable":true,"type":"datetime","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":765,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":true,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":false,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Example
|
136
|
+
Field","length":255,"name":"Example_Field__c","nameField":false,"namePointing":false,"nillable":true,"permissionable":true,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:string","sortable":true,"type":"string","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":true,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":false,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Friend","length":18,"name":"Friend__c","nameField":false,"namePointing":false,"nillable":true,"permissionable":true,"picklistValues":[],"precision":0,"referenceTo":["Contact"],"relationshipName":"Friend__r","relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"reference","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":true,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Visible","length":0,"name":"Visible__c","nameField":false,"namePointing":false,"nillable":false,"permissionable":true,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:boolean","sortable":true,"type":"boolean","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":108,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":true,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":false,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":true,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":true,"inlineHelpText":null,"label":"SynchronizationID","length":36,"name":"SynchronizationId__c","nameField":false,"namePointing":false,"nillable":true,"permissionable":true,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:string","sortable":true,"type":"string","unique":false,"updateable":true,"writeRequiresMasterRead":false}],"keyPrefix":"a00","label":"CustomObject","labelPlural":"CustomObjects","layoutable":true,"listviewable":null,"lookupLayoutable":null,"mergeable":false,"name":"CustomObject__c","queryable":true,"recordTypeInfos":[{"available":true,"defaultRecordTypeMapping":true,"name":"Master","recordTypeId":"012000000000000AAA","urls":{"layout":"/services/data/<api_version>/sobjects/CustomObject__c/describe/layouts/012000000000000AAA"}}],"replicateable":true,"retrieveable":true,"searchLayoutable":true,"searchable":true,"triggerable":true,"undeletable":true,"updateable":true,"urls":{"uiEditTemplate":"https://<host>/{ID}/e","sobject":"/services/data/<api_version>/sobjects/CustomObject__c","quickActions":"/services/data/<api_version>/sobjects/CustomObject__c/quickActions","uiDetailTemplate":"https://<host>/{ID}","describe":"/services/data/<api_version>/sobjects/CustomObject__c/describe","rowTemplate":"/services/data/<api_version>/sobjects/CustomObject__c/{ID}","layouts":"/services/data/<api_version>/sobjects/CustomObject__c/describe/layouts","compactLayouts":"/services/data/<api_version>/sobjects/CustomObject__c/describe/compactLayouts","uiNewRecord":"https://<host>/a00/e"}}'
|
123
137
|
http_version:
|
124
|
-
recorded_at:
|
138
|
+
recorded_at: Thu, 25 Jun 2015 21:53:10 GMT
|
125
139
|
- request:
|
126
140
|
method: get
|
127
|
-
uri: https://<host>/services/data/<api_version>/
|
141
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000002zhVhAAI%27
|
128
142
|
body:
|
129
143
|
encoding: US-ASCII
|
130
144
|
string: ''
|
@@ -132,7 +146,7 @@ http_interactions:
|
|
132
146
|
User-Agent:
|
133
147
|
- Faraday v0.9.1
|
134
148
|
Authorization:
|
135
|
-
- OAuth 00D1a000000H3O9!
|
149
|
+
- OAuth 00D1a000000H3O9!AQ4AQIEnz7RMa1N2z10U8y.cU3CAaZeOCxcDVSetug6psPcDYNjSbdC91y8MHqmZ.ZXE_zkQURv2YNCWYEsl0fcbZwb1MPEA
|
136
150
|
Accept-Encoding:
|
137
151
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
138
152
|
Accept:
|
@@ -143,41 +157,27 @@ http_interactions:
|
|
143
157
|
message: OK
|
144
158
|
headers:
|
145
159
|
Date:
|
146
|
-
-
|
160
|
+
- Thu, 25 Jun 2015 21:53:09 GMT
|
147
161
|
Set-Cookie:
|
148
|
-
- BrowserId=
|
149
|
-
|
162
|
+
- BrowserId=GMgOuPLYQM2ssAoictYN6w;Path=/;Domain=.salesforce.com;Expires=Mon,
|
163
|
+
24-Aug-2015 21:53:09 GMT
|
150
164
|
Expires:
|
151
165
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
152
166
|
Sforce-Limit-Info:
|
153
|
-
- api-usage=
|
154
|
-
Org.eclipse.jetty.server.include.etag:
|
155
|
-
- cdc3a566
|
156
|
-
Last-Modified:
|
157
|
-
- Sat, 13 Jun 2015 07:59:59 GMT
|
167
|
+
- api-usage=1/15000
|
158
168
|
Content-Type:
|
159
169
|
- application/json;charset=UTF-8
|
160
|
-
Etag:
|
161
|
-
- cdc3a56-gzip"
|
162
170
|
Transfer-Encoding:
|
163
171
|
- chunked
|
164
172
|
body:
|
165
173
|
encoding: ASCII-8BIT
|
166
|
-
string: '{"
|
167
|
-
|
168
|
-
ID","length":18,"name":"OwnerId","nameField":false,"namePointing":true,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":["Group","User"],"relationshipName":"Owner","relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"reference","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Deleted","length":0,"name":"IsDeleted","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:boolean","sortable":true,"type":"boolean","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":240,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":true,"inlineHelpText":null,"label":"CustomObject
|
169
|
-
Name","length":80,"name":"Name","nameField":true,"namePointing":false,"nillable":true,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:string","sortable":true,"type":"string","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":false,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Created
|
170
|
-
Date","length":0,"name":"CreatedDate","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:dateTime","sortable":true,"type":"datetime","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Created
|
171
|
-
By ID","length":18,"name":"CreatedById","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":["User"],"relationshipName":"CreatedBy","relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"reference","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":false,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Last
|
172
|
-
Modified Date","length":0,"name":"LastModifiedDate","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:dateTime","sortable":true,"type":"datetime","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Last
|
173
|
-
Modified By ID","length":18,"name":"LastModifiedById","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":["User"],"relationshipName":"LastModifiedBy","relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"reference","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":false,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"System
|
174
|
-
Modstamp","length":0,"name":"SystemModstamp","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:dateTime","sortable":true,"type":"datetime","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":765,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":true,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":false,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Example
|
175
|
-
Field","length":255,"name":"Example_Field__c","nameField":false,"namePointing":false,"nillable":true,"permissionable":true,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:string","sortable":true,"type":"string","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":true,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":false,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Friend","length":18,"name":"Friend__c","nameField":false,"namePointing":false,"nillable":true,"permissionable":true,"picklistValues":[],"precision":0,"referenceTo":["Contact"],"relationshipName":"Friend__r","relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"reference","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":true,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Visible","length":0,"name":"Visible__c","nameField":false,"namePointing":false,"nillable":false,"permissionable":true,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:boolean","sortable":true,"type":"boolean","unique":false,"updateable":true,"writeRequiresMasterRead":false}],"keyPrefix":"a00","label":"CustomObject","labelPlural":"CustomObjects","layoutable":true,"listviewable":null,"lookupLayoutable":null,"mergeable":false,"name":"CustomObject__c","queryable":true,"recordTypeInfos":[{"available":true,"defaultRecordTypeMapping":true,"name":"Master","recordTypeId":"012000000000000AAA","urls":{"layout":"/services/data/<api_version>/sobjects/CustomObject__c/describe/layouts/012000000000000AAA"}}],"replicateable":true,"retrieveable":true,"searchLayoutable":true,"searchable":true,"triggerable":true,"undeletable":true,"updateable":true,"urls":{"uiEditTemplate":"https://<host>/{ID}/e","sobject":"/services/data/<api_version>/sobjects/CustomObject__c","quickActions":"/services/data/<api_version>/sobjects/CustomObject__c/quickActions","uiDetailTemplate":"https://<host>/{ID}","describe":"/services/data/<api_version>/sobjects/CustomObject__c/describe","rowTemplate":"/services/data/<api_version>/sobjects/CustomObject__c/{ID}","layouts":"/services/data/<api_version>/sobjects/CustomObject__c/describe/layouts","compactLayouts":"/services/data/<api_version>/sobjects/CustomObject__c/describe/compactLayouts","uiNewRecord":"https://<host>/a00/e"}}'
|
174
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zhVhAAI"},"Id":"a001a000002zhVhAAI","SynchronizationId__c":null,"SystemModstamp":"2015-06-25T21:53:09.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Sally''s
|
175
|
+
Seashells","Example_Field__c":"She sells them down by the seashore."}]}'
|
176
176
|
http_version:
|
177
|
-
recorded_at:
|
177
|
+
recorded_at: Thu, 25 Jun 2015 21:53:10 GMT
|
178
178
|
- request:
|
179
179
|
method: patch
|
180
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
180
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zhVhAAI
|
181
181
|
body:
|
182
182
|
encoding: UTF-8
|
183
183
|
string: '{"Name":"Sarah''s Seagulls","Example_Field__c":"She sells them down
|
@@ -188,7 +188,7 @@ http_interactions:
|
|
188
188
|
Content-Type:
|
189
189
|
- application/json
|
190
190
|
Authorization:
|
191
|
-
- OAuth 00D1a000000H3O9!
|
191
|
+
- OAuth 00D1a000000H3O9!AQ4AQIEnz7RMa1N2z10U8y.cU3CAaZeOCxcDVSetug6psPcDYNjSbdC91y8MHqmZ.ZXE_zkQURv2YNCWYEsl0fcbZwb1MPEA
|
192
192
|
Accept-Encoding:
|
193
193
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
194
194
|
Accept:
|
@@ -199,22 +199,22 @@ http_interactions:
|
|
199
199
|
message: No Content
|
200
200
|
headers:
|
201
201
|
Date:
|
202
|
-
-
|
202
|
+
- Thu, 25 Jun 2015 21:53:09 GMT
|
203
203
|
Set-Cookie:
|
204
|
-
- BrowserId=
|
205
|
-
|
204
|
+
- BrowserId=YVomMf9UR4GJHIflFG03Sg;Path=/;Domain=.salesforce.com;Expires=Mon,
|
205
|
+
24-Aug-2015 21:53:09 GMT
|
206
206
|
Expires:
|
207
207
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
208
208
|
Sforce-Limit-Info:
|
209
|
-
- api-usage=
|
209
|
+
- api-usage=1/15000
|
210
210
|
body:
|
211
211
|
encoding: UTF-8
|
212
212
|
string: ''
|
213
213
|
http_version:
|
214
|
-
recorded_at:
|
214
|
+
recorded_at: Thu, 25 Jun 2015 21:53:10 GMT
|
215
215
|
- request:
|
216
216
|
method: get
|
217
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%
|
217
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000002zhVhAAI%27
|
218
218
|
body:
|
219
219
|
encoding: US-ASCII
|
220
220
|
string: ''
|
@@ -222,7 +222,7 @@ http_interactions:
|
|
222
222
|
User-Agent:
|
223
223
|
- Faraday v0.9.1
|
224
224
|
Authorization:
|
225
|
-
- OAuth 00D1a000000H3O9!
|
225
|
+
- OAuth 00D1a000000H3O9!AQ4AQIEnz7RMa1N2z10U8y.cU3CAaZeOCxcDVSetug6psPcDYNjSbdC91y8MHqmZ.ZXE_zkQURv2YNCWYEsl0fcbZwb1MPEA
|
226
226
|
Accept-Encoding:
|
227
227
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
228
228
|
Accept:
|
@@ -233,27 +233,27 @@ http_interactions:
|
|
233
233
|
message: OK
|
234
234
|
headers:
|
235
235
|
Date:
|
236
|
-
-
|
236
|
+
- Thu, 25 Jun 2015 21:53:10 GMT
|
237
237
|
Set-Cookie:
|
238
|
-
- BrowserId=
|
239
|
-
|
238
|
+
- BrowserId=QriUktMNRnCWp7JNaEdGvA;Path=/;Domain=.salesforce.com;Expires=Mon,
|
239
|
+
24-Aug-2015 21:53:10 GMT
|
240
240
|
Expires:
|
241
241
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
242
242
|
Sforce-Limit-Info:
|
243
|
-
- api-usage=
|
243
|
+
- api-usage=2/15000
|
244
244
|
Content-Type:
|
245
245
|
- application/json;charset=UTF-8
|
246
246
|
Transfer-Encoding:
|
247
247
|
- chunked
|
248
248
|
body:
|
249
249
|
encoding: ASCII-8BIT
|
250
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/
|
250
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zhVhAAI"},"Id":"a001a000002zhVhAAI","SynchronizationId__c":null,"SystemModstamp":"2015-06-25T21:53:10.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Sarah''s
|
251
251
|
Seagulls","Example_Field__c":"She sells them down by the seashore."}]}'
|
252
252
|
http_version:
|
253
|
-
recorded_at:
|
253
|
+
recorded_at: Thu, 25 Jun 2015 21:53:10 GMT
|
254
254
|
- request:
|
255
255
|
method: delete
|
256
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
256
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zhVhAAI
|
257
257
|
body:
|
258
258
|
encoding: US-ASCII
|
259
259
|
string: ''
|
@@ -261,7 +261,7 @@ http_interactions:
|
|
261
261
|
User-Agent:
|
262
262
|
- Faraday v0.9.1
|
263
263
|
Authorization:
|
264
|
-
- OAuth 00D1a000000H3O9!
|
264
|
+
- OAuth 00D1a000000H3O9!AQ4AQIEnz7RMa1N2z10U8y.cU3CAaZeOCxcDVSetug6psPcDYNjSbdC91y8MHqmZ.ZXE_zkQURv2YNCWYEsl0fcbZwb1MPEA
|
265
265
|
Accept-Encoding:
|
266
266
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
267
267
|
Accept:
|
@@ -272,17 +272,17 @@ http_interactions:
|
|
272
272
|
message: No Content
|
273
273
|
headers:
|
274
274
|
Date:
|
275
|
-
-
|
275
|
+
- Thu, 25 Jun 2015 21:53:10 GMT
|
276
276
|
Set-Cookie:
|
277
|
-
- BrowserId=
|
278
|
-
|
277
|
+
- BrowserId=Sb7Dkg2UQdigDnkNSU0KrQ;Path=/;Domain=.salesforce.com;Expires=Mon,
|
278
|
+
24-Aug-2015 21:53:10 GMT
|
279
279
|
Expires:
|
280
280
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
281
281
|
Sforce-Limit-Info:
|
282
|
-
- api-usage=
|
282
|
+
- api-usage=1/15000
|
283
283
|
body:
|
284
284
|
encoding: UTF-8
|
285
285
|
string: ''
|
286
286
|
http_version:
|
287
|
-
recorded_at:
|
287
|
+
recorded_at: Thu, 25 Jun 2015 21:53:11 GMT
|
288
288
|
recorded_with: VCR 2.9.3
|
@@ -21,10 +21,10 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Fri, 26 Jun 2015 20:00:50 GMT
|
25
25
|
Set-Cookie:
|
26
|
-
- BrowserId=
|
27
|
-
|
26
|
+
- BrowserId=GRVK9LuGSgam1WRXKcIeNA;Path=/;Domain=.salesforce.com;Expires=Tue,
|
27
|
+
25-Aug-2015 20:00:50 GMT
|
28
28
|
Expires:
|
29
29
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
30
30
|
Pragma:
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
- chunked
|
38
38
|
body:
|
39
39
|
encoding: ASCII-8BIT
|
40
|
-
string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"
|
40
|
+
string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1435348850425","token_type":"Bearer","instance_url":"https://<host>","signature":"FhOP2uLythNwgCcTr/BQQ/Yai4dcjlvtnA+1CiIe9tk=","access_token":"00D1a000000H3O9!AQ4AQBPmUB0jG__CiIfWEBZ.RUTVVJm_WreLssta.gEq1gtlj_BSyYQminxMfJ6g2GW08.1Chcd.coP0_KTpj3WhU_NUATWs"}'
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Fri, 26 Jun 2015 20:00:50 GMT
|
43
43
|
- request:
|
44
44
|
method: get
|
45
45
|
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/describe
|
@@ -50,7 +50,7 @@ http_interactions:
|
|
50
50
|
User-Agent:
|
51
51
|
- Faraday v0.9.1
|
52
52
|
Authorization:
|
53
|
-
- OAuth 00D1a000000H3O9!
|
53
|
+
- OAuth 00D1a000000H3O9!AQ4AQBPmUB0jG__CiIfWEBZ.RUTVVJm_WreLssta.gEq1gtlj_BSyYQminxMfJ6g2GW08.1Chcd.coP0_KTpj3WhU_NUATWs
|
54
54
|
Accept-Encoding:
|
55
55
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
56
56
|
Accept:
|
@@ -61,14 +61,14 @@ http_interactions:
|
|
61
61
|
message: OK
|
62
62
|
headers:
|
63
63
|
Date:
|
64
|
-
-
|
64
|
+
- Fri, 26 Jun 2015 20:00:51 GMT
|
65
65
|
Set-Cookie:
|
66
|
-
- BrowserId=
|
67
|
-
|
66
|
+
- BrowserId=bSv3pUTQQhCZ1FzyEvQrbA;Path=/;Domain=.salesforce.com;Expires=Tue,
|
67
|
+
25-Aug-2015 20:00:51 GMT
|
68
68
|
Expires:
|
69
69
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
70
70
|
Sforce-Limit-Info:
|
71
|
-
- api-usage=
|
71
|
+
- api-usage=595/15000
|
72
72
|
Org.eclipse.jetty.server.include.etag:
|
73
73
|
- aa7ee96f
|
74
74
|
Last-Modified:
|
@@ -92,7 +92,7 @@ http_interactions:
|
|
92
92
|
Modstamp","length":0,"name":"SystemModstamp","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:dateTime","sortable":true,"type":"datetime","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":765,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":true,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":false,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Example
|
93
93
|
Field","length":255,"name":"Example_Field__c","nameField":false,"namePointing":false,"nillable":true,"permissionable":true,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:string","sortable":true,"type":"string","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":true,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":false,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Friend","length":18,"name":"Friend__c","nameField":false,"namePointing":false,"nillable":true,"permissionable":true,"picklistValues":[],"precision":0,"referenceTo":["Contact"],"relationshipName":"Friend__r","relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"reference","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":true,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Visible","length":0,"name":"Visible__c","nameField":false,"namePointing":false,"nillable":false,"permissionable":true,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:boolean","sortable":true,"type":"boolean","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":108,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":true,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":false,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":true,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":true,"inlineHelpText":null,"label":"SynchronizationID","length":36,"name":"SynchronizationId__c","nameField":false,"namePointing":false,"nillable":true,"permissionable":true,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:string","sortable":true,"type":"string","unique":false,"updateable":true,"writeRequiresMasterRead":false}],"keyPrefix":"a00","label":"CustomObject","labelPlural":"CustomObjects","layoutable":true,"listviewable":null,"lookupLayoutable":null,"mergeable":false,"name":"CustomObject__c","queryable":true,"recordTypeInfos":[{"available":true,"defaultRecordTypeMapping":true,"name":"Master","recordTypeId":"012000000000000AAA","urls":{"layout":"/services/data/<api_version>/sobjects/CustomObject__c/describe/layouts/012000000000000AAA"}}],"replicateable":true,"retrieveable":true,"searchLayoutable":true,"searchable":true,"triggerable":true,"undeletable":true,"updateable":true,"urls":{"uiEditTemplate":"https://<host>/{ID}/e","sobject":"/services/data/<api_version>/sobjects/CustomObject__c","quickActions":"/services/data/<api_version>/sobjects/CustomObject__c/quickActions","uiDetailTemplate":"https://<host>/{ID}","describe":"/services/data/<api_version>/sobjects/CustomObject__c/describe","rowTemplate":"/services/data/<api_version>/sobjects/CustomObject__c/{ID}","layouts":"/services/data/<api_version>/sobjects/CustomObject__c/describe/layouts","compactLayouts":"/services/data/<api_version>/sobjects/CustomObject__c/describe/compactLayouts","uiNewRecord":"https://<host>/a00/e"}}'
|
94
94
|
http_version:
|
95
|
-
recorded_at:
|
95
|
+
recorded_at: Fri, 26 Jun 2015 20:00:51 GMT
|
96
96
|
- request:
|
97
97
|
method: patch
|
98
98
|
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/SynchronizationId__c/CustomObject::1
|
@@ -106,7 +106,7 @@ http_interactions:
|
|
106
106
|
Content-Type:
|
107
107
|
- application/json
|
108
108
|
Authorization:
|
109
|
-
- OAuth 00D1a000000H3O9!
|
109
|
+
- OAuth 00D1a000000H3O9!AQ4AQBPmUB0jG__CiIfWEBZ.RUTVVJm_WreLssta.gEq1gtlj_BSyYQminxMfJ6g2GW08.1Chcd.coP0_KTpj3WhU_NUATWs
|
110
110
|
Accept-Encoding:
|
111
111
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
112
112
|
Accept:
|
@@ -117,28 +117,28 @@ http_interactions:
|
|
117
117
|
message: Created
|
118
118
|
headers:
|
119
119
|
Date:
|
120
|
-
-
|
120
|
+
- Fri, 26 Jun 2015 20:00:52 GMT
|
121
121
|
Set-Cookie:
|
122
|
-
- BrowserId=
|
123
|
-
|
122
|
+
- BrowserId=9cP9-gMlTSWy-AC8CWZk9g;Path=/;Domain=.salesforce.com;Expires=Tue,
|
123
|
+
25-Aug-2015 20:00:52 GMT
|
124
124
|
Expires:
|
125
125
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
126
126
|
Sforce-Limit-Info:
|
127
|
-
- api-usage=
|
127
|
+
- api-usage=599/15000
|
128
128
|
Location:
|
129
|
-
- "/services/data/<api_version>/sobjects/CustomObject__c/
|
129
|
+
- "/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zl6mAAA"
|
130
130
|
Content-Type:
|
131
131
|
- application/json;charset=UTF-8
|
132
132
|
Transfer-Encoding:
|
133
133
|
- chunked
|
134
134
|
body:
|
135
135
|
encoding: UTF-8
|
136
|
-
string: '{"id":"
|
136
|
+
string: '{"id":"a001a000002zl6mAAA","success":true,"errors":[]}'
|
137
137
|
http_version:
|
138
|
-
recorded_at:
|
138
|
+
recorded_at: Fri, 26 Jun 2015 20:00:52 GMT
|
139
139
|
- request:
|
140
140
|
method: get
|
141
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%
|
141
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000002zl6mAAA%27
|
142
142
|
body:
|
143
143
|
encoding: US-ASCII
|
144
144
|
string: ''
|
@@ -146,7 +146,7 @@ http_interactions:
|
|
146
146
|
User-Agent:
|
147
147
|
- Faraday v0.9.1
|
148
148
|
Authorization:
|
149
|
-
- OAuth 00D1a000000H3O9!
|
149
|
+
- OAuth 00D1a000000H3O9!AQ4AQBPmUB0jG__CiIfWEBZ.RUTVVJm_WreLssta.gEq1gtlj_BSyYQminxMfJ6g2GW08.1Chcd.coP0_KTpj3WhU_NUATWs
|
150
150
|
Accept-Encoding:
|
151
151
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
152
152
|
Accept:
|
@@ -157,27 +157,63 @@ http_interactions:
|
|
157
157
|
message: OK
|
158
158
|
headers:
|
159
159
|
Date:
|
160
|
-
-
|
160
|
+
- Fri, 26 Jun 2015 20:00:53 GMT
|
161
161
|
Set-Cookie:
|
162
|
-
- BrowserId=
|
163
|
-
|
162
|
+
- BrowserId=R9zl7gGqTfGHKlntGNZ0mQ;Path=/;Domain=.salesforce.com;Expires=Tue,
|
163
|
+
25-Aug-2015 20:00:53 GMT
|
164
164
|
Expires:
|
165
165
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
166
166
|
Sforce-Limit-Info:
|
167
|
-
- api-usage=
|
167
|
+
- api-usage=600/15000
|
168
168
|
Content-Type:
|
169
169
|
- application/json;charset=UTF-8
|
170
170
|
Transfer-Encoding:
|
171
171
|
- chunked
|
172
172
|
body:
|
173
173
|
encoding: ASCII-8BIT
|
174
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/
|
174
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zl6mAAA"},"Id":"a001a000002zl6mAAA","SynchronizationId__c":"CustomObject::1","SystemModstamp":"2015-06-26T20:00:52.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Frederick''s
|
175
175
|
Flip-flop","Example_Field__c":"Yes, we only have the left one."}]}'
|
176
176
|
http_version:
|
177
|
-
recorded_at:
|
177
|
+
recorded_at: Fri, 26 Jun 2015 20:00:53 GMT
|
178
|
+
- request:
|
179
|
+
method: patch
|
180
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zl6mAAA
|
181
|
+
body:
|
182
|
+
encoding: UTF-8
|
183
|
+
string: '{"SynchronizationId__c":null}'
|
184
|
+
headers:
|
185
|
+
User-Agent:
|
186
|
+
- Faraday v0.9.1
|
187
|
+
Content-Type:
|
188
|
+
- application/json
|
189
|
+
Authorization:
|
190
|
+
- OAuth 00D1a000000H3O9!AQ4AQBPmUB0jG__CiIfWEBZ.RUTVVJm_WreLssta.gEq1gtlj_BSyYQminxMfJ6g2GW08.1Chcd.coP0_KTpj3WhU_NUATWs
|
191
|
+
Accept-Encoding:
|
192
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
193
|
+
Accept:
|
194
|
+
- "*/*"
|
195
|
+
response:
|
196
|
+
status:
|
197
|
+
code: 204
|
198
|
+
message: No Content
|
199
|
+
headers:
|
200
|
+
Date:
|
201
|
+
- Fri, 26 Jun 2015 20:00:54 GMT
|
202
|
+
Set-Cookie:
|
203
|
+
- BrowserId=N6sDdX0_RVquWfx3dg5sZw;Path=/;Domain=.salesforce.com;Expires=Tue,
|
204
|
+
25-Aug-2015 20:00:54 GMT
|
205
|
+
Expires:
|
206
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
207
|
+
Sforce-Limit-Info:
|
208
|
+
- api-usage=597/15000
|
209
|
+
body:
|
210
|
+
encoding: UTF-8
|
211
|
+
string: ''
|
212
|
+
http_version:
|
213
|
+
recorded_at: Fri, 26 Jun 2015 20:00:54 GMT
|
178
214
|
- request:
|
179
215
|
method: get
|
180
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%
|
216
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000002zl6mAAA%27
|
181
217
|
body:
|
182
218
|
encoding: US-ASCII
|
183
219
|
string: ''
|
@@ -185,7 +221,7 @@ http_interactions:
|
|
185
221
|
User-Agent:
|
186
222
|
- Faraday v0.9.1
|
187
223
|
Authorization:
|
188
|
-
- OAuth 00D1a000000H3O9!
|
224
|
+
- OAuth 00D1a000000H3O9!AQ4AQBPmUB0jG__CiIfWEBZ.RUTVVJm_WreLssta.gEq1gtlj_BSyYQminxMfJ6g2GW08.1Chcd.coP0_KTpj3WhU_NUATWs
|
189
225
|
Accept-Encoding:
|
190
226
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
191
227
|
Accept:
|
@@ -196,27 +232,27 @@ http_interactions:
|
|
196
232
|
message: OK
|
197
233
|
headers:
|
198
234
|
Date:
|
199
|
-
-
|
235
|
+
- Fri, 26 Jun 2015 20:00:55 GMT
|
200
236
|
Set-Cookie:
|
201
|
-
- BrowserId=
|
202
|
-
|
237
|
+
- BrowserId=O3hsVUdLRf2O1gAWZFvNZg;Path=/;Domain=.salesforce.com;Expires=Tue,
|
238
|
+
25-Aug-2015 20:00:55 GMT
|
203
239
|
Expires:
|
204
240
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
205
241
|
Sforce-Limit-Info:
|
206
|
-
- api-usage=
|
242
|
+
- api-usage=598/15000
|
207
243
|
Content-Type:
|
208
244
|
- application/json;charset=UTF-8
|
209
245
|
Transfer-Encoding:
|
210
246
|
- chunked
|
211
247
|
body:
|
212
248
|
encoding: ASCII-8BIT
|
213
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/
|
249
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zl6mAAA"},"Id":"a001a000002zl6mAAA","SynchronizationId__c":null,"SystemModstamp":"2015-06-26T20:00:54.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Frederick''s
|
214
250
|
Flip-flop","Example_Field__c":"Yes, we only have the left one."}]}'
|
215
251
|
http_version:
|
216
|
-
recorded_at:
|
252
|
+
recorded_at: Fri, 26 Jun 2015 20:00:55 GMT
|
217
253
|
- request:
|
218
254
|
method: delete
|
219
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
255
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zl6mAAA
|
220
256
|
body:
|
221
257
|
encoding: US-ASCII
|
222
258
|
string: ''
|
@@ -224,7 +260,7 @@ http_interactions:
|
|
224
260
|
User-Agent:
|
225
261
|
- Faraday v0.9.1
|
226
262
|
Authorization:
|
227
|
-
- OAuth 00D1a000000H3O9!
|
263
|
+
- OAuth 00D1a000000H3O9!AQ4AQBPmUB0jG__CiIfWEBZ.RUTVVJm_WreLssta.gEq1gtlj_BSyYQminxMfJ6g2GW08.1Chcd.coP0_KTpj3WhU_NUATWs
|
228
264
|
Accept-Encoding:
|
229
265
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
230
266
|
Accept:
|
@@ -235,17 +271,17 @@ http_interactions:
|
|
235
271
|
message: No Content
|
236
272
|
headers:
|
237
273
|
Date:
|
238
|
-
-
|
274
|
+
- Fri, 26 Jun 2015 20:00:56 GMT
|
239
275
|
Set-Cookie:
|
240
|
-
- BrowserId=
|
241
|
-
|
276
|
+
- BrowserId=yPvEcYBqTBGJZlrzetXpFA;Path=/;Domain=.salesforce.com;Expires=Tue,
|
277
|
+
25-Aug-2015 20:00:56 GMT
|
242
278
|
Expires:
|
243
279
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
244
280
|
Sforce-Limit-Info:
|
245
|
-
- api-usage=
|
281
|
+
- api-usage=597/15000
|
246
282
|
body:
|
247
283
|
encoding: UTF-8
|
248
284
|
string: ''
|
249
285
|
http_version:
|
250
|
-
recorded_at:
|
286
|
+
recorded_at: Fri, 26 Jun 2015 20:00:56 GMT
|
251
287
|
recorded_with: VCR 2.9.3
|