restforce-db 2.2.2 → 2.2.3
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/associator.rb +1 -1
- data/lib/restforce/db/initializer.rb +2 -2
- data/lib/restforce/db/instances/active_record.rb +18 -8
- data/lib/restforce/db/instances/salesforce.rb +9 -0
- data/lib/restforce/db/synchronization_error.rb +40 -0
- data/lib/restforce/db/synchronizer.rb +15 -9
- data/lib/restforce/db/version.rb +1 -1
- data/lib/restforce/db.rb +9 -0
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/returns_an_associated_record_populated_with_the_Salesforce_attributes.yml +55 -55
- 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 +40 -40
- 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 +59 -59
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_the_associated_record_has_been_cached/uses_the_cached_record.yml +59 -59
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +50 -50
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_build/with_an_unrelated_association_mapping/proceeds_without_raising_an_error.yml +59 -59
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_lookups/returns_a_hash_of_the_associated_records_lookup_IDs.yml +41 -41
- 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 +23 -23
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +58 -58
- data/test/cassettes/Restforce_DB_Associations_BelongsTo/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +58 -58
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/builds_a_number_of_associated_records_from_the_data_in_Salesforce.yml +98 -98
- 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 +40 -40
- 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 +98 -98
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_the_associated_records_have_been_cached/uses_the_cached_records.yml +98 -98
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +32 -32
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +98 -98
- data/test/cassettes/Restforce_DB_Associations_HasMany/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +40 -40
- 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 +86 -86
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/returns_an_associated_record_populated_with_the_Salesforce_attributes.yml +59 -59
- 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 +40 -40
- 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 +59 -59
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_the_associated_record_has_been_cached/uses_the_cached_record.yml +59 -59
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_build/when_the_association_is_non-building/proceeds_without_constructing_any_records.yml +50 -50
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_synced_for_/when_a_matching_associated_record_has_been_synchronized/returns_true.yml +59 -59
- data/test/cassettes/Restforce_DB_Associations_HasOne/with_an_inverse_mapping/_synced_for_/when_no_matching_associated_record_has_been_synchronized/returns_false.yml +59 -59
- 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 +103 -103
- 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 +112 -112
- 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 +23 -23
- 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 +43 -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 +41 -41
- 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 +41 -41
- data/test/cassettes/Restforce_DB_Collector/_run/given_a_Salesforce_record_with_an_associated_database_record/returns_the_attributes_from_both_records.yml +41 -41
- data/test/cassettes/Restforce_DB_Collector/_run/given_an_existing_Salesforce_record/returns_the_attributes_from_the_Salesforce_record.yml +41 -41
- data/test/cassettes/Restforce_DB_Collector/_run/given_an_existing_database_record/returns_the_attributes_from_the_database_record.yml +15 -15
- data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_Salesforce_record/for_a_Passive_strategy/does_not_create_a_database_record.yml +23 -23
- data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_Salesforce_record/for_an_Always_strategy/creates_a_matching_database_record.yml +32 -33
- data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_database_record/for_an_Always_strategy/populates_Salesforce_with_the_new_record.yml +59 -59
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_synced_/when_a_matching_database_record_exists/returns_true.yml +32 -32
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_synced_/when_no_matching_database_record_exists/returns_false.yml +32 -32
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_update_/updates_the_local_record_with_the_passed_attributes.yml +49 -49
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_update_/updates_the_record_in_Salesforce_with_the_passed_attributes.yml +58 -58
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_updated_internally_/when_another_user_made_the_last_change/returns_false.yml +119 -0
- data/test/cassettes/Restforce_DB_Instances_Salesforce/_updated_internally_/when_our_client_made_the_last_change/returns_true.yml +158 -0
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_all/returns_a_list_of_the_existing_records_in_Salesforce.yml +32 -32
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_create_/creates_a_record_in_Salesforce_from_the_passed_database_record_s_attributes.yml +41 -41
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_create_/updates_the_database_record_with_the_Salesforce_record_s_ID.yml +41 -41
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/finds_existing_records_in_Salesforce.yml +32 -32
- 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 +31 -31
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/given_a_set_of_mapping_conditions/when_a_record_meets_the_conditions/finds_the_record.yml +32 -32
- data/test/cassettes/Restforce_DB_RecordTypes_Salesforce/_find/returns_nil_when_no_matching_record_exists.yml +14 -14
- data/test/cassettes/Restforce_DB_Strategies_Always/_build_/given_a_Salesforce_record/wants_to_build_a_new_matching_record.yml +32 -32
- 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 +32 -32
- data/test/cassettes/Restforce_DB_Strategies_Associated/_build_/given_an_inverse_mapping/with_a_synchronized_association_record/wants_to_build_a_new_record.yml +59 -59
- 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 +50 -50
- 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 +59 -59
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/updates_the_database_record.yml +125 -49
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_an_associated_database_record/updates_the_salesforce_record.yml +58 -58
- 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 +125 -36
- 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 +44 -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 +323 -0
- 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 +286 -0
- data/test/cassettes/Restforce_DB_Synchronizer/_run/given_a_Salesforce_record_with_no_associated_database_record/does_nothing_for_this_specific_mapping.yml +41 -41
- data/test/lib/restforce/db/instances/active_record_test.rb +44 -0
- data/test/lib/restforce/db/instances/salesforce_test.rb +20 -0
- data/test/lib/restforce/db/synchronizer_test.rb +25 -13
- metadata +7 -2
@@ -21,10 +21,10 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Mon, 08 Jun 2015 22:13:13 GMT
|
25
25
|
Set-Cookie:
|
26
|
-
- BrowserId
|
27
|
-
|
26
|
+
- BrowserId=-L93PRXwTtGOR7MwxR0BXg;Path=/;Domain=.salesforce.com;Expires=Fri,
|
27
|
+
07-Aug-2015 22:13:13 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":"
|
41
|
-
http_version:
|
42
|
-
recorded_at:
|
40
|
+
string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1433801593109","token_type":"Bearer","instance_url":"https://<host>","signature":"Vj64TUOB1faBoixyHkorG5NV1hfd6SH+SZUcTrWKnAw=","access_token":"00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz"}'
|
41
|
+
http_version:
|
42
|
+
recorded_at: Mon, 08 Jun 2015 22:13:14 GMT
|
43
43
|
- request:
|
44
44
|
method: post
|
45
45
|
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
|
@@ -52,7 +52,7 @@ http_interactions:
|
|
52
52
|
Content-Type:
|
53
53
|
- application/json
|
54
54
|
Authorization:
|
55
|
-
- OAuth 00D1a000000H3O9!
|
55
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
56
56
|
Accept-Encoding:
|
57
57
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
58
58
|
Accept:
|
@@ -63,28 +63,28 @@ http_interactions:
|
|
63
63
|
message: Created
|
64
64
|
headers:
|
65
65
|
Date:
|
66
|
-
-
|
66
|
+
- Mon, 08 Jun 2015 22:13:13 GMT
|
67
67
|
Set-Cookie:
|
68
|
-
- BrowserId=
|
69
|
-
|
68
|
+
- BrowserId=tQ3Qkx9GQpeH20jOR_-bCA;Path=/;Domain=.salesforce.com;Expires=Fri,
|
69
|
+
07-Aug-2015 22:13:13 GMT
|
70
70
|
Expires:
|
71
71
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
72
72
|
Sforce-Limit-Info:
|
73
|
-
- api-usage=
|
73
|
+
- api-usage=79/15000
|
74
74
|
Location:
|
75
|
-
- "/services/data/<api_version>/sobjects/CustomObject__c/
|
75
|
+
- "/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF4wAAE"
|
76
76
|
Content-Type:
|
77
77
|
- application/json;charset=UTF-8
|
78
78
|
Transfer-Encoding:
|
79
79
|
- chunked
|
80
80
|
body:
|
81
81
|
encoding: ASCII-8BIT
|
82
|
-
string: '{"id":"
|
83
|
-
http_version:
|
84
|
-
recorded_at:
|
82
|
+
string: '{"id":"a001a000001cF4wAAE","success":true,"errors":[]}'
|
83
|
+
http_version:
|
84
|
+
recorded_at: Mon, 08 Jun 2015 22:13:14 GMT
|
85
85
|
- request:
|
86
86
|
method: get
|
87
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%
|
87
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000001cF4wAAE%27
|
88
88
|
body:
|
89
89
|
encoding: US-ASCII
|
90
90
|
string: ''
|
@@ -92,7 +92,7 @@ http_interactions:
|
|
92
92
|
User-Agent:
|
93
93
|
- Faraday v0.9.1
|
94
94
|
Authorization:
|
95
|
-
- OAuth 00D1a000000H3O9!
|
95
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
96
96
|
Accept-Encoding:
|
97
97
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
98
98
|
Accept:
|
@@ -103,27 +103,27 @@ http_interactions:
|
|
103
103
|
message: OK
|
104
104
|
headers:
|
105
105
|
Date:
|
106
|
-
-
|
106
|
+
- Mon, 08 Jun 2015 22:13:13 GMT
|
107
107
|
Set-Cookie:
|
108
|
-
- BrowserId=
|
109
|
-
|
108
|
+
- BrowserId=AnmlGHWpRhOZnAnQj_oX7A;Path=/;Domain=.salesforce.com;Expires=Fri,
|
109
|
+
07-Aug-2015 22:13:13 GMT
|
110
110
|
Expires:
|
111
111
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
112
112
|
Sforce-Limit-Info:
|
113
|
-
- api-usage=
|
113
|
+
- api-usage=79/15000
|
114
114
|
Content-Type:
|
115
115
|
- application/json;charset=UTF-8
|
116
116
|
Transfer-Encoding:
|
117
117
|
- chunked
|
118
118
|
body:
|
119
119
|
encoding: ASCII-8BIT
|
120
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/
|
120
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF4wAAE"},"Id":"a001a000001cF4wAAE","SystemModstamp":"2015-06-08T22:13:13.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Sample
|
121
121
|
object","Example_Field__c":null}]}'
|
122
|
-
http_version:
|
123
|
-
recorded_at:
|
122
|
+
http_version:
|
123
|
+
recorded_at: Mon, 08 Jun 2015 22:13:15 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20CustomObject__c%20from%20CustomObjectDetail__c%20where%20CustomObject__c%20=%20%
|
126
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20CustomObject__c%20from%20CustomObjectDetail__c%20where%20CustomObject__c%20=%20%27a001a000001cF4wAAE%27
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -131,7 +131,7 @@ http_interactions:
|
|
131
131
|
User-Agent:
|
132
132
|
- Faraday v0.9.1
|
133
133
|
Authorization:
|
134
|
-
- OAuth 00D1a000000H3O9!
|
134
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
135
135
|
Accept-Encoding:
|
136
136
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
137
137
|
Accept:
|
@@ -142,14 +142,14 @@ http_interactions:
|
|
142
142
|
message: OK
|
143
143
|
headers:
|
144
144
|
Date:
|
145
|
-
-
|
145
|
+
- Mon, 08 Jun 2015 22:13:13 GMT
|
146
146
|
Set-Cookie:
|
147
|
-
- BrowserId=
|
148
|
-
|
147
|
+
- BrowserId=joSsKpECSbe29CrpNZLtag;Path=/;Domain=.salesforce.com;Expires=Fri,
|
148
|
+
07-Aug-2015 22:13:13 GMT
|
149
149
|
Expires:
|
150
150
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
151
151
|
Sforce-Limit-Info:
|
152
|
-
- api-usage=
|
152
|
+
- api-usage=80/15000
|
153
153
|
Content-Type:
|
154
154
|
- application/json;charset=UTF-8
|
155
155
|
Transfer-Encoding:
|
@@ -157,11 +157,11 @@ http_interactions:
|
|
157
157
|
body:
|
158
158
|
encoding: ASCII-8BIT
|
159
159
|
string: '{"totalSize":0,"done":true,"records":[]}'
|
160
|
-
http_version:
|
161
|
-
recorded_at:
|
160
|
+
http_version:
|
161
|
+
recorded_at: Mon, 08 Jun 2015 22:13:15 GMT
|
162
162
|
- request:
|
163
163
|
method: delete
|
164
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
164
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF4wAAE
|
165
165
|
body:
|
166
166
|
encoding: US-ASCII
|
167
167
|
string: ''
|
@@ -169,7 +169,7 @@ http_interactions:
|
|
169
169
|
User-Agent:
|
170
170
|
- Faraday v0.9.1
|
171
171
|
Authorization:
|
172
|
-
- OAuth 00D1a000000H3O9!
|
172
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
173
173
|
Accept-Encoding:
|
174
174
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
175
175
|
Accept:
|
@@ -180,17 +180,17 @@ http_interactions:
|
|
180
180
|
message: No Content
|
181
181
|
headers:
|
182
182
|
Date:
|
183
|
-
-
|
183
|
+
- Mon, 08 Jun 2015 22:13:13 GMT
|
184
184
|
Set-Cookie:
|
185
|
-
- BrowserId=
|
186
|
-
|
185
|
+
- BrowserId=NI5_1H5_Q8K9E_n32GH8Hg;Path=/;Domain=.salesforce.com;Expires=Fri,
|
186
|
+
07-Aug-2015 22:13:13 GMT
|
187
187
|
Expires:
|
188
188
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
189
189
|
Sforce-Limit-Info:
|
190
|
-
- api-usage=
|
190
|
+
- api-usage=81/15000
|
191
191
|
body:
|
192
192
|
encoding: UTF-8
|
193
193
|
string: ''
|
194
|
-
http_version:
|
195
|
-
recorded_at:
|
194
|
+
http_version:
|
195
|
+
recorded_at: Mon, 08 Jun 2015 22:13:15 GMT
|
196
196
|
recorded_with: VCR 2.9.3
|
@@ -21,10 +21,10 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Mon, 08 Jun 2015 22:13:27 GMT
|
25
25
|
Set-Cookie:
|
26
|
-
- BrowserId=
|
27
|
-
|
26
|
+
- BrowserId=yY_zEOLQRdiHuOD8eMKgRQ;Path=/;Domain=.salesforce.com;Expires=Fri,
|
27
|
+
07-Aug-2015 22:13:27 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":"
|
41
|
-
http_version:
|
42
|
-
recorded_at:
|
40
|
+
string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1433801607082","token_type":"Bearer","instance_url":"https://<host>","signature":"EUELGd/eVWoqMkVCH/dtKXDy+TGDtkos/P4p5U/+QLw=","access_token":"00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz"}'
|
41
|
+
http_version:
|
42
|
+
recorded_at: Mon, 08 Jun 2015 22:13:28 GMT
|
43
43
|
- request:
|
44
44
|
method: post
|
45
45
|
uri: https://<host>/services/data/<api_version>/sobjects/Contact
|
@@ -52,7 +52,7 @@ http_interactions:
|
|
52
52
|
Content-Type:
|
53
53
|
- application/json
|
54
54
|
Authorization:
|
55
|
-
- OAuth 00D1a000000H3O9!
|
55
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
56
56
|
Accept-Encoding:
|
57
57
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
58
58
|
Accept:
|
@@ -63,38 +63,38 @@ http_interactions:
|
|
63
63
|
message: Created
|
64
64
|
headers:
|
65
65
|
Date:
|
66
|
-
-
|
66
|
+
- Mon, 08 Jun 2015 22:13:27 GMT
|
67
67
|
Set-Cookie:
|
68
|
-
- BrowserId=
|
69
|
-
|
68
|
+
- BrowserId=1uUU09DwRT-2oqwQUtnxww;Path=/;Domain=.salesforce.com;Expires=Fri,
|
69
|
+
07-Aug-2015 22:13:27 GMT
|
70
70
|
Expires:
|
71
71
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
72
72
|
Sforce-Limit-Info:
|
73
|
-
- api-usage=
|
73
|
+
- api-usage=133/15000
|
74
74
|
Location:
|
75
|
-
- "/services/data/<api_version>/sobjects/Contact/
|
75
|
+
- "/services/data/<api_version>/sobjects/Contact/0031a000004cfNhAAI"
|
76
76
|
Content-Type:
|
77
77
|
- application/json;charset=UTF-8
|
78
78
|
Transfer-Encoding:
|
79
79
|
- chunked
|
80
80
|
body:
|
81
81
|
encoding: ASCII-8BIT
|
82
|
-
string: '{"id":"
|
83
|
-
http_version:
|
84
|
-
recorded_at:
|
82
|
+
string: '{"id":"0031a000004cfNhAAI","success":true,"errors":[]}'
|
83
|
+
http_version:
|
84
|
+
recorded_at: Mon, 08 Jun 2015 22:13:28 GMT
|
85
85
|
- request:
|
86
86
|
method: post
|
87
87
|
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
|
88
88
|
body:
|
89
89
|
encoding: UTF-8
|
90
|
-
string: '{"Friend__c":"
|
90
|
+
string: '{"Friend__c":"0031a000004cfNhAAI"}'
|
91
91
|
headers:
|
92
92
|
User-Agent:
|
93
93
|
- Faraday v0.9.1
|
94
94
|
Content-Type:
|
95
95
|
- application/json
|
96
96
|
Authorization:
|
97
|
-
- OAuth 00D1a000000H3O9!
|
97
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
98
98
|
Accept-Encoding:
|
99
99
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
100
100
|
Accept:
|
@@ -105,38 +105,38 @@ http_interactions:
|
|
105
105
|
message: Created
|
106
106
|
headers:
|
107
107
|
Date:
|
108
|
-
-
|
108
|
+
- Mon, 08 Jun 2015 22:13:27 GMT
|
109
109
|
Set-Cookie:
|
110
|
-
- BrowserId=
|
111
|
-
|
110
|
+
- BrowserId=6WKYBwzlQAmK-hVPgn6tHA;Path=/;Domain=.salesforce.com;Expires=Fri,
|
111
|
+
07-Aug-2015 22:13:27 GMT
|
112
112
|
Expires:
|
113
113
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
114
114
|
Sforce-Limit-Info:
|
115
|
-
- api-usage=
|
115
|
+
- api-usage=129/15000
|
116
116
|
Location:
|
117
|
-
- "/services/data/<api_version>/sobjects/CustomObject__c/
|
117
|
+
- "/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF7uAAE"
|
118
118
|
Content-Type:
|
119
119
|
- application/json;charset=UTF-8
|
120
120
|
Transfer-Encoding:
|
121
121
|
- chunked
|
122
122
|
body:
|
123
123
|
encoding: ASCII-8BIT
|
124
|
-
string: '{"id":"
|
125
|
-
http_version:
|
126
|
-
recorded_at:
|
124
|
+
string: '{"id":"a001a000001cF7uAAE","success":true,"errors":[]}'
|
125
|
+
http_version:
|
126
|
+
recorded_at: Mon, 08 Jun 2015 22:13:29 GMT
|
127
127
|
- request:
|
128
128
|
method: post
|
129
129
|
uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c
|
130
130
|
body:
|
131
131
|
encoding: UTF-8
|
132
|
-
string: '{"CustomObject__c":"
|
132
|
+
string: '{"CustomObject__c":"a001a000001cF7uAAE"}'
|
133
133
|
headers:
|
134
134
|
User-Agent:
|
135
135
|
- Faraday v0.9.1
|
136
136
|
Content-Type:
|
137
137
|
- application/json
|
138
138
|
Authorization:
|
139
|
-
- OAuth 00D1a000000H3O9!
|
139
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
140
140
|
Accept-Encoding:
|
141
141
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
142
142
|
Accept:
|
@@ -147,28 +147,28 @@ http_interactions:
|
|
147
147
|
message: Created
|
148
148
|
headers:
|
149
149
|
Date:
|
150
|
-
-
|
150
|
+
- Mon, 08 Jun 2015 22:13:27 GMT
|
151
151
|
Set-Cookie:
|
152
|
-
- BrowserId=
|
153
|
-
|
152
|
+
- BrowserId=Z3qYrSXqRJm94ibgYqp2qA;Path=/;Domain=.salesforce.com;Expires=Fri,
|
153
|
+
07-Aug-2015 22:13:27 GMT
|
154
154
|
Expires:
|
155
155
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
156
156
|
Sforce-Limit-Info:
|
157
|
-
- api-usage=
|
157
|
+
- api-usage=131/15000
|
158
158
|
Location:
|
159
|
-
- "/services/data/<api_version>/sobjects/CustomObjectDetail__c/
|
159
|
+
- "/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000001FiQWAA0"
|
160
160
|
Content-Type:
|
161
161
|
- application/json;charset=UTF-8
|
162
162
|
Transfer-Encoding:
|
163
163
|
- chunked
|
164
164
|
body:
|
165
165
|
encoding: ASCII-8BIT
|
166
|
-
string: '{"id":"
|
167
|
-
http_version:
|
168
|
-
recorded_at:
|
166
|
+
string: '{"id":"a011a000001FiQWAA0","success":true,"errors":[]}'
|
167
|
+
http_version:
|
168
|
+
recorded_at: Mon, 08 Jun 2015 22:13:29 GMT
|
169
169
|
- request:
|
170
170
|
method: get
|
171
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Email%20from%20Contact%20where%20Id%20=%20%
|
171
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Email%20from%20Contact%20where%20Id%20=%20%270031a000004cfNhAAI%27
|
172
172
|
body:
|
173
173
|
encoding: US-ASCII
|
174
174
|
string: ''
|
@@ -176,7 +176,7 @@ http_interactions:
|
|
176
176
|
User-Agent:
|
177
177
|
- Faraday v0.9.1
|
178
178
|
Authorization:
|
179
|
-
- OAuth 00D1a000000H3O9!
|
179
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
180
180
|
Accept-Encoding:
|
181
181
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
182
182
|
Accept:
|
@@ -187,26 +187,26 @@ http_interactions:
|
|
187
187
|
message: OK
|
188
188
|
headers:
|
189
189
|
Date:
|
190
|
-
-
|
190
|
+
- Mon, 08 Jun 2015 22:13:27 GMT
|
191
191
|
Set-Cookie:
|
192
|
-
- BrowserId=
|
193
|
-
|
192
|
+
- BrowserId=YxeFc543QH2Bym85U6MMxw;Path=/;Domain=.salesforce.com;Expires=Fri,
|
193
|
+
07-Aug-2015 22:13:27 GMT
|
194
194
|
Expires:
|
195
195
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
196
196
|
Sforce-Limit-Info:
|
197
|
-
- api-usage=
|
197
|
+
- api-usage=126/15000
|
198
198
|
Content-Type:
|
199
199
|
- application/json;charset=UTF-8
|
200
200
|
Transfer-Encoding:
|
201
201
|
- chunked
|
202
202
|
body:
|
203
203
|
encoding: ASCII-8BIT
|
204
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"Contact","url":"/services/data/<api_version>/sobjects/Contact/
|
205
|
-
http_version:
|
206
|
-
recorded_at:
|
204
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"Contact","url":"/services/data/<api_version>/sobjects/Contact/0031a000004cfNhAAI"},"Id":"0031a000004cfNhAAI","SystemModstamp":"2015-06-08T22:13:27.000+0000","LastModifiedById":"0051a000000UGT8AAO","Email":"somebody@example.com"}]}'
|
205
|
+
http_version:
|
206
|
+
recorded_at: Mon, 08 Jun 2015 22:13:29 GMT
|
207
207
|
- request:
|
208
208
|
method: get
|
209
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20Example_Field__c,%20Friend__c%20from%20CustomObject__c%20where%20Friend__c%20=%20%
|
209
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c,%20Friend__c%20from%20CustomObject__c%20where%20Friend__c%20=%20%270031a000004cfNhAAI%27
|
210
210
|
body:
|
211
211
|
encoding: US-ASCII
|
212
212
|
string: ''
|
@@ -214,7 +214,7 @@ http_interactions:
|
|
214
214
|
User-Agent:
|
215
215
|
- Faraday v0.9.1
|
216
216
|
Authorization:
|
217
|
-
- OAuth 00D1a000000H3O9!
|
217
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
218
218
|
Accept-Encoding:
|
219
219
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
220
220
|
Accept:
|
@@ -225,26 +225,26 @@ http_interactions:
|
|
225
225
|
message: OK
|
226
226
|
headers:
|
227
227
|
Date:
|
228
|
-
-
|
228
|
+
- Mon, 08 Jun 2015 22:13:28 GMT
|
229
229
|
Set-Cookie:
|
230
|
-
- BrowserId=
|
231
|
-
|
230
|
+
- BrowserId=qXxniYoqQ6KKrr64XeXhgw;Path=/;Domain=.salesforce.com;Expires=Fri,
|
231
|
+
07-Aug-2015 22:13:28 GMT
|
232
232
|
Expires:
|
233
233
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
234
234
|
Sforce-Limit-Info:
|
235
|
-
- api-usage=
|
235
|
+
- api-usage=127/15000
|
236
236
|
Content-Type:
|
237
237
|
- application/json;charset=UTF-8
|
238
238
|
Transfer-Encoding:
|
239
239
|
- chunked
|
240
240
|
body:
|
241
241
|
encoding: ASCII-8BIT
|
242
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/
|
243
|
-
http_version:
|
244
|
-
recorded_at:
|
242
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF7uAAE"},"Id":"a001a000001cF7uAAE","SystemModstamp":"2015-06-08T22:13:27.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"a001a000001cF7u","Example_Field__c":null,"Friend__c":"0031a000004cfNhAAI"}]}'
|
243
|
+
http_version:
|
244
|
+
recorded_at: Mon, 08 Jun 2015 22:13:29 GMT
|
245
245
|
- request:
|
246
246
|
method: get
|
247
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20Name,%20CustomObject__c%20from%20CustomObjectDetail__c%20where%20CustomObject__c%20=%20%
|
247
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20CustomObject__c%20from%20CustomObjectDetail__c%20where%20CustomObject__c%20=%20%27a001a000001cF7uAAE%27
|
248
248
|
body:
|
249
249
|
encoding: US-ASCII
|
250
250
|
string: ''
|
@@ -252,7 +252,7 @@ http_interactions:
|
|
252
252
|
User-Agent:
|
253
253
|
- Faraday v0.9.1
|
254
254
|
Authorization:
|
255
|
-
- OAuth 00D1a000000H3O9!
|
255
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
256
256
|
Accept-Encoding:
|
257
257
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
258
258
|
Accept:
|
@@ -263,26 +263,26 @@ http_interactions:
|
|
263
263
|
message: OK
|
264
264
|
headers:
|
265
265
|
Date:
|
266
|
-
-
|
266
|
+
- Mon, 08 Jun 2015 22:13:28 GMT
|
267
267
|
Set-Cookie:
|
268
|
-
- BrowserId=
|
269
|
-
|
268
|
+
- BrowserId=CLtmCyvxS9aADgQnwiBJCg;Path=/;Domain=.salesforce.com;Expires=Fri,
|
269
|
+
07-Aug-2015 22:13:28 GMT
|
270
270
|
Expires:
|
271
271
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
272
272
|
Sforce-Limit-Info:
|
273
|
-
- api-usage=
|
273
|
+
- api-usage=134/15000
|
274
274
|
Content-Type:
|
275
275
|
- application/json;charset=UTF-8
|
276
276
|
Transfer-Encoding:
|
277
277
|
- chunked
|
278
278
|
body:
|
279
279
|
encoding: ASCII-8BIT
|
280
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/<api_version>/sobjects/CustomObjectDetail__c/
|
281
|
-
http_version:
|
282
|
-
recorded_at:
|
280
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObjectDetail__c","url":"/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000001FiQWAA0"},"Id":"a011a000001FiQWAA0","SystemModstamp":"2015-06-08T22:13:27.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"a011a000001FiQW","CustomObject__c":"a001a000001cF7uAAE"}]}'
|
281
|
+
http_version:
|
282
|
+
recorded_at: Mon, 08 Jun 2015 22:13:29 GMT
|
283
283
|
- request:
|
284
284
|
method: delete
|
285
|
-
uri: https://<host>/services/data/<api_version>/sobjects/Contact/
|
285
|
+
uri: https://<host>/services/data/<api_version>/sobjects/Contact/0031a000004cfNhAAI
|
286
286
|
body:
|
287
287
|
encoding: US-ASCII
|
288
288
|
string: ''
|
@@ -290,7 +290,7 @@ http_interactions:
|
|
290
290
|
User-Agent:
|
291
291
|
- Faraday v0.9.1
|
292
292
|
Authorization:
|
293
|
-
- OAuth 00D1a000000H3O9!
|
293
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
294
294
|
Accept-Encoding:
|
295
295
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
296
296
|
Accept:
|
@@ -301,22 +301,22 @@ http_interactions:
|
|
301
301
|
message: No Content
|
302
302
|
headers:
|
303
303
|
Date:
|
304
|
-
-
|
304
|
+
- Mon, 08 Jun 2015 22:13:28 GMT
|
305
305
|
Set-Cookie:
|
306
|
-
- BrowserId=
|
307
|
-
|
306
|
+
- BrowserId=G5v-3CXQQLSqlngwGsL5KA;Path=/;Domain=.salesforce.com;Expires=Fri,
|
307
|
+
07-Aug-2015 22:13:28 GMT
|
308
308
|
Expires:
|
309
309
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
310
310
|
Sforce-Limit-Info:
|
311
|
-
- api-usage=
|
311
|
+
- api-usage=126/15000
|
312
312
|
body:
|
313
313
|
encoding: UTF-8
|
314
314
|
string: ''
|
315
|
-
http_version:
|
316
|
-
recorded_at:
|
315
|
+
http_version:
|
316
|
+
recorded_at: Mon, 08 Jun 2015 22:13:30 GMT
|
317
317
|
- request:
|
318
318
|
method: delete
|
319
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
319
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000001cF7uAAE
|
320
320
|
body:
|
321
321
|
encoding: US-ASCII
|
322
322
|
string: ''
|
@@ -324,7 +324,7 @@ http_interactions:
|
|
324
324
|
User-Agent:
|
325
325
|
- Faraday v0.9.1
|
326
326
|
Authorization:
|
327
|
-
- OAuth 00D1a000000H3O9!
|
327
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
328
328
|
Accept-Encoding:
|
329
329
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
330
330
|
Accept:
|
@@ -335,22 +335,22 @@ http_interactions:
|
|
335
335
|
message: No Content
|
336
336
|
headers:
|
337
337
|
Date:
|
338
|
-
-
|
338
|
+
- Mon, 08 Jun 2015 22:13:28 GMT
|
339
339
|
Set-Cookie:
|
340
|
-
- BrowserId=
|
341
|
-
|
340
|
+
- BrowserId=DTOZiIdBT7WxJ-VNjKNg3w;Path=/;Domain=.salesforce.com;Expires=Fri,
|
341
|
+
07-Aug-2015 22:13:28 GMT
|
342
342
|
Expires:
|
343
343
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
344
344
|
Sforce-Limit-Info:
|
345
|
-
- api-usage=
|
345
|
+
- api-usage=124/15000
|
346
346
|
body:
|
347
347
|
encoding: UTF-8
|
348
348
|
string: ''
|
349
|
-
http_version:
|
350
|
-
recorded_at:
|
349
|
+
http_version:
|
350
|
+
recorded_at: Mon, 08 Jun 2015 22:13:30 GMT
|
351
351
|
- request:
|
352
352
|
method: delete
|
353
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c/
|
353
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObjectDetail__c/a011a000001FiQWAA0
|
354
354
|
body:
|
355
355
|
encoding: US-ASCII
|
356
356
|
string: ''
|
@@ -358,7 +358,7 @@ http_interactions:
|
|
358
358
|
User-Agent:
|
359
359
|
- Faraday v0.9.1
|
360
360
|
Authorization:
|
361
|
-
- OAuth 00D1a000000H3O9!
|
361
|
+
- OAuth 00D1a000000H3O9!AQ4AQH0rZGqBVji7vO4sB8J1_YW.g5S2vIbe9IaUgwHpwLPEdpfIcj9Ngpc2CndFvJZMwVIIp15.yQQOil19Qc2MuedbnlQz
|
362
362
|
Accept-Encoding:
|
363
363
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
364
364
|
Accept:
|
@@ -369,14 +369,14 @@ http_interactions:
|
|
369
369
|
message: Not Found
|
370
370
|
headers:
|
371
371
|
Date:
|
372
|
-
-
|
372
|
+
- Mon, 08 Jun 2015 22:13:29 GMT
|
373
373
|
Set-Cookie:
|
374
|
-
- BrowserId=
|
375
|
-
|
374
|
+
- BrowserId=SW8n-6iXSP-At3_-z3AYNQ;Path=/;Domain=.salesforce.com;Expires=Fri,
|
375
|
+
07-Aug-2015 22:13:29 GMT
|
376
376
|
Expires:
|
377
377
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
378
378
|
Sforce-Limit-Info:
|
379
|
-
- api-usage=
|
379
|
+
- api-usage=125/15000
|
380
380
|
Content-Type:
|
381
381
|
- application/json;charset=UTF-8
|
382
382
|
Transfer-Encoding:
|
@@ -384,6 +384,6 @@ http_interactions:
|
|
384
384
|
body:
|
385
385
|
encoding: UTF-8
|
386
386
|
string: '[{"message":"entity is deleted","errorCode":"ENTITY_IS_DELETED","fields":[]}]'
|
387
|
-
http_version:
|
388
|
-
recorded_at:
|
387
|
+
http_version:
|
388
|
+
recorded_at: Mon, 08 Jun 2015 22:13:30 GMT
|
389
389
|
recorded_with: VCR 2.9.3
|