restforce-db 2.7.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -0
- data/lib/generators/templates/script +102 -3
- data/lib/restforce/db/instances/active_record.rb +20 -9
- data/lib/restforce/db/instances/salesforce.rb +0 -8
- data/lib/restforce/db/record_types/salesforce.rb +17 -5
- data/lib/restforce/db/version.rb +1 -1
- data/test/cassettes/Restforce_DB_Initializer/_run/given_an_existing_database_record/for_an_Always_strategy/populates_Salesforce_with_the_new_record.yml +56 -56
- 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 +49 -49
- 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/_create_/when_a_Salesforce_record_already_exists_for_the_database_instance/uses_the_existing_record.yml +247 -0
- data/test/cassettes/Restforce_DB_Worker/a_race_condition_during_synchronization/does_not_change_the_user-entered_name_on_the_database_record.yml +106 -107
- data/test/cassettes/Restforce_DB_Worker/a_race_condition_during_synchronization/overrides_the_stale-but-more-recent_name_on_the_Salesforce.yml +114 -115
- data/test/lib/restforce/db/instances/active_record_test.rb +9 -2
- data/test/lib/restforce/db/record_types/salesforce_test.rb +14 -4
- metadata +3 -2
@@ -21,10 +21,10 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Wed, 24 Jun 2015 18:35:49 GMT
|
25
25
|
Set-Cookie:
|
26
|
-
- BrowserId=
|
27
|
-
|
26
|
+
- BrowserId=b2NaA-VMSMiBPlJOG3sMUA;Path=/;Domain=.salesforce.com;Expires=Sun,
|
27
|
+
23-Aug-2015 18:35:49 GMT
|
28
28
|
Expires:
|
29
29
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
30
30
|
Pragma:
|
@@ -37,12 +37,12 @@ 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":"1435170949166","token_type":"Bearer","instance_url":"https://<host>","signature":"0Z5Q9RmXXGFv8EY6DYUr2rMYsV6FawxXr1tns/kLUGg=","access_token":"00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl"}'
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Wed, 24 Jun 2015 18:35:57 GMT
|
43
43
|
- request:
|
44
44
|
method: get
|
45
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20SystemModstamp%20%3C%202015-06-
|
45
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20SystemModstamp%20%3C%202015-06-24T18:35:56Z
|
46
46
|
body:
|
47
47
|
encoding: US-ASCII
|
48
48
|
string: ''
|
@@ -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!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
54
54
|
Accept-Encoding:
|
55
55
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
56
56
|
Accept:
|
@@ -61,23 +61,23 @@ http_interactions:
|
|
61
61
|
message: OK
|
62
62
|
headers:
|
63
63
|
Date:
|
64
|
-
-
|
64
|
+
- Wed, 24 Jun 2015 18:35:49 GMT
|
65
65
|
Set-Cookie:
|
66
|
-
- BrowserId=
|
67
|
-
|
66
|
+
- BrowserId=dMUz_gJzRjKCx0fdczwNWA;Path=/;Domain=.salesforce.com;Expires=Sun,
|
67
|
+
23-Aug-2015 18:35:49 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=40/15000
|
72
72
|
Content-Type:
|
73
73
|
- application/json;charset=UTF-8
|
74
74
|
Transfer-Encoding:
|
75
75
|
- chunked
|
76
76
|
body:
|
77
77
|
encoding: ASCII-8BIT
|
78
|
-
string: '{"totalSize":
|
78
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000002ze8cAAA"},"Id":"a001a000002ze8cAAA","SystemModstamp":"2015-06-24T17:05:30.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Testing2","Example_Field__c":null}]}'
|
79
79
|
http_version:
|
80
|
-
recorded_at:
|
80
|
+
recorded_at: Wed, 24 Jun 2015 18:35:57 GMT
|
81
81
|
- request:
|
82
82
|
method: get
|
83
83
|
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/describe
|
@@ -88,7 +88,7 @@ http_interactions:
|
|
88
88
|
User-Agent:
|
89
89
|
- Faraday v0.9.1
|
90
90
|
Authorization:
|
91
|
-
- OAuth 00D1a000000H3O9!
|
91
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
92
92
|
Accept-Encoding:
|
93
93
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
94
94
|
Accept:
|
@@ -99,22 +99,22 @@ http_interactions:
|
|
99
99
|
message: OK
|
100
100
|
headers:
|
101
101
|
Date:
|
102
|
-
-
|
102
|
+
- Wed, 24 Jun 2015 18:35:49 GMT
|
103
103
|
Set-Cookie:
|
104
|
-
- BrowserId=
|
105
|
-
|
104
|
+
- BrowserId=93Q3JkLDQLCFvWaOsLt_fw;Path=/;Domain=.salesforce.com;Expires=Sun,
|
105
|
+
23-Aug-2015 18:35:49 GMT
|
106
106
|
Expires:
|
107
107
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
108
108
|
Sforce-Limit-Info:
|
109
|
-
- api-usage=
|
109
|
+
- api-usage=40/15000
|
110
110
|
Org.eclipse.jetty.server.include.etag:
|
111
|
-
-
|
111
|
+
- aa7ee96f
|
112
112
|
Last-Modified:
|
113
|
-
-
|
113
|
+
- Wed, 24 Jun 2015 02:10:32 GMT
|
114
114
|
Content-Type:
|
115
115
|
- application/json;charset=UTF-8
|
116
116
|
Etag:
|
117
|
-
-
|
117
|
+
- aa7ee96-gzip"
|
118
118
|
Transfer-Encoding:
|
119
119
|
- chunked
|
120
120
|
body:
|
@@ -128,12 +128,12 @@ http_interactions:
|
|
128
128
|
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
|
129
129
|
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
|
130
130
|
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
|
131
|
-
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"}}'
|
131
|
+
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"}}'
|
132
132
|
http_version:
|
133
|
-
recorded_at:
|
133
|
+
recorded_at: Wed, 24 Jun 2015 18:35:57 GMT
|
134
134
|
- request:
|
135
|
-
method:
|
136
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
|
135
|
+
method: patch
|
136
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/SynchronizationId__c/CustomObject::1
|
137
137
|
body:
|
138
138
|
encoding: UTF-8
|
139
139
|
string: '{"Name":null,"Example_Field__c":null}'
|
@@ -143,7 +143,7 @@ http_interactions:
|
|
143
143
|
Content-Type:
|
144
144
|
- application/json
|
145
145
|
Authorization:
|
146
|
-
- OAuth 00D1a000000H3O9!
|
146
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
147
147
|
Accept-Encoding:
|
148
148
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
149
149
|
Accept:
|
@@ -154,28 +154,28 @@ http_interactions:
|
|
154
154
|
message: Created
|
155
155
|
headers:
|
156
156
|
Date:
|
157
|
-
-
|
157
|
+
- Wed, 24 Jun 2015 18:35:49 GMT
|
158
158
|
Set-Cookie:
|
159
|
-
- BrowserId=
|
160
|
-
|
159
|
+
- BrowserId=BsQejRKEQDCYx0GKQYASDw;Path=/;Domain=.salesforce.com;Expires=Sun,
|
160
|
+
23-Aug-2015 18:35:49 GMT
|
161
161
|
Expires:
|
162
162
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
163
163
|
Sforce-Limit-Info:
|
164
|
-
- api-usage=
|
164
|
+
- api-usage=40/15000
|
165
165
|
Location:
|
166
|
-
- "/services/data/<api_version>/sobjects/CustomObject__c/
|
166
|
+
- "/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zeDrAAI"
|
167
167
|
Content-Type:
|
168
168
|
- application/json;charset=UTF-8
|
169
169
|
Transfer-Encoding:
|
170
170
|
- chunked
|
171
171
|
body:
|
172
|
-
encoding:
|
173
|
-
string: '{"id":"
|
172
|
+
encoding: UTF-8
|
173
|
+
string: '{"id":"a001a000002zeDrAAI","success":true,"errors":[]}'
|
174
174
|
http_version:
|
175
|
-
recorded_at:
|
175
|
+
recorded_at: Wed, 24 Jun 2015 18:35:57 GMT
|
176
176
|
- request:
|
177
177
|
method: get
|
178
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%
|
178
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000002zeDrAAI%27
|
179
179
|
body:
|
180
180
|
encoding: US-ASCII
|
181
181
|
string: ''
|
@@ -183,7 +183,7 @@ http_interactions:
|
|
183
183
|
User-Agent:
|
184
184
|
- Faraday v0.9.1
|
185
185
|
Authorization:
|
186
|
-
- OAuth 00D1a000000H3O9!
|
186
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
187
187
|
Accept-Encoding:
|
188
188
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
189
189
|
Accept:
|
@@ -194,26 +194,26 @@ http_interactions:
|
|
194
194
|
message: OK
|
195
195
|
headers:
|
196
196
|
Date:
|
197
|
-
-
|
197
|
+
- Wed, 24 Jun 2015 18:35:50 GMT
|
198
198
|
Set-Cookie:
|
199
|
-
- BrowserId=
|
200
|
-
|
199
|
+
- BrowserId=RShQrX9MQWGCHroNr6gFBw;Path=/;Domain=.salesforce.com;Expires=Sun,
|
200
|
+
23-Aug-2015 18:35:50 GMT
|
201
201
|
Expires:
|
202
202
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
203
203
|
Sforce-Limit-Info:
|
204
|
-
- api-usage=
|
204
|
+
- api-usage=44/15000
|
205
205
|
Content-Type:
|
206
206
|
- application/json;charset=UTF-8
|
207
207
|
Transfer-Encoding:
|
208
208
|
- chunked
|
209
209
|
body:
|
210
210
|
encoding: ASCII-8BIT
|
211
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/
|
211
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zeDrAAI"},"Id":"a001a000002zeDrAAI","SystemModstamp":"2015-06-24T18:35:49.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"a001a000002zeDr","Example_Field__c":null}]}'
|
212
212
|
http_version:
|
213
|
-
recorded_at:
|
213
|
+
recorded_at: Wed, 24 Jun 2015 18:35:58 GMT
|
214
214
|
- request:
|
215
215
|
method: get
|
216
|
-
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,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000002zeDrAAI%27
|
217
217
|
body:
|
218
218
|
encoding: US-ASCII
|
219
219
|
string: ''
|
@@ -221,7 +221,7 @@ http_interactions:
|
|
221
221
|
User-Agent:
|
222
222
|
- Faraday v0.9.1
|
223
223
|
Authorization:
|
224
|
-
- OAuth 00D1a000000H3O9!
|
224
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
225
225
|
Accept-Encoding:
|
226
226
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
227
227
|
Accept:
|
@@ -232,26 +232,26 @@ http_interactions:
|
|
232
232
|
message: OK
|
233
233
|
headers:
|
234
234
|
Date:
|
235
|
-
-
|
235
|
+
- Wed, 24 Jun 2015 18:35:50 GMT
|
236
236
|
Set-Cookie:
|
237
|
-
- BrowserId=
|
238
|
-
|
237
|
+
- BrowserId=xJB6QJS_SZeR5hAzcos-cg;Path=/;Domain=.salesforce.com;Expires=Sun,
|
238
|
+
23-Aug-2015 18:35:50 GMT
|
239
239
|
Expires:
|
240
240
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
241
241
|
Sforce-Limit-Info:
|
242
|
-
- api-usage=
|
242
|
+
- api-usage=40/15000
|
243
243
|
Content-Type:
|
244
244
|
- application/json;charset=UTF-8
|
245
245
|
Transfer-Encoding:
|
246
246
|
- chunked
|
247
247
|
body:
|
248
248
|
encoding: ASCII-8BIT
|
249
|
-
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/a001a000002zeDrAAI"},"Id":"a001a000002zeDrAAI","SystemModstamp":"2015-06-24T18:35:49.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"a001a000002zeDr","Example_Field__c":null}]}'
|
250
250
|
http_version:
|
251
|
-
recorded_at:
|
251
|
+
recorded_at: Wed, 24 Jun 2015 18:35:58 GMT
|
252
252
|
- request:
|
253
253
|
method: patch
|
254
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
254
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zeDrAAI
|
255
255
|
body:
|
256
256
|
encoding: UTF-8
|
257
257
|
string: '{"Name":"A Stale Synchronized Name"}'
|
@@ -261,7 +261,7 @@ http_interactions:
|
|
261
261
|
Content-Type:
|
262
262
|
- application/json
|
263
263
|
Authorization:
|
264
|
-
- OAuth 00D1a000000H3O9!
|
264
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
265
265
|
Accept-Encoding:
|
266
266
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
267
267
|
Accept:
|
@@ -272,22 +272,22 @@ http_interactions:
|
|
272
272
|
message: No Content
|
273
273
|
headers:
|
274
274
|
Date:
|
275
|
-
-
|
275
|
+
- Wed, 24 Jun 2015 18:35:50 GMT
|
276
276
|
Set-Cookie:
|
277
|
-
- BrowserId=
|
278
|
-
|
277
|
+
- BrowserId=qkD72ZkNR-qX32jVYys1HQ;Path=/;Domain=.salesforce.com;Expires=Sun,
|
278
|
+
23-Aug-2015 18:35:50 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=40/15000
|
283
283
|
body:
|
284
284
|
encoding: UTF-8
|
285
285
|
string: ''
|
286
286
|
http_version:
|
287
|
-
recorded_at:
|
287
|
+
recorded_at: Wed, 24 Jun 2015 18:35:58 GMT
|
288
288
|
- request:
|
289
289
|
method: get
|
290
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20SystemModstamp%20%3C%202015-06-
|
290
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20SystemModstamp%20%3C%202015-06-24T18:35:59Z%20and%20SystemModstamp%20%3E=%202015-06-24T18:35:56Z
|
291
291
|
body:
|
292
292
|
encoding: US-ASCII
|
293
293
|
string: ''
|
@@ -295,7 +295,7 @@ http_interactions:
|
|
295
295
|
User-Agent:
|
296
296
|
- Faraday v0.9.1
|
297
297
|
Authorization:
|
298
|
-
- OAuth 00D1a000000H3O9!
|
298
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
299
299
|
Accept-Encoding:
|
300
300
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
301
301
|
Accept:
|
@@ -306,27 +306,26 @@ http_interactions:
|
|
306
306
|
message: OK
|
307
307
|
headers:
|
308
308
|
Date:
|
309
|
-
-
|
309
|
+
- Wed, 24 Jun 2015 18:35:51 GMT
|
310
310
|
Set-Cookie:
|
311
|
-
- BrowserId=
|
312
|
-
|
311
|
+
- BrowserId=avnSJ0nPRW-rzHemkQrhBQ;Path=/;Domain=.salesforce.com;Expires=Sun,
|
312
|
+
23-Aug-2015 18:35:51 GMT
|
313
313
|
Expires:
|
314
314
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
315
315
|
Sforce-Limit-Info:
|
316
|
-
- api-usage=
|
316
|
+
- api-usage=41/15000
|
317
317
|
Content-Type:
|
318
318
|
- application/json;charset=UTF-8
|
319
319
|
Transfer-Encoding:
|
320
320
|
- chunked
|
321
321
|
body:
|
322
322
|
encoding: ASCII-8BIT
|
323
|
-
string: '{"totalSize":
|
324
|
-
Stale Synchronized Name","Example_Field__c":null}]}'
|
323
|
+
string: '{"totalSize":0,"done":true,"records":[]}'
|
325
324
|
http_version:
|
326
|
-
recorded_at:
|
325
|
+
recorded_at: Wed, 24 Jun 2015 18:35:59 GMT
|
327
326
|
- request:
|
328
327
|
method: get
|
329
|
-
uri: https://<host>/services/data/<api_version>/
|
328
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000002zeDrAAI%27
|
330
329
|
body:
|
331
330
|
encoding: US-ASCII
|
332
331
|
string: ''
|
@@ -334,7 +333,7 @@ http_interactions:
|
|
334
333
|
User-Agent:
|
335
334
|
- Faraday v0.9.1
|
336
335
|
Authorization:
|
337
|
-
- OAuth 00D1a000000H3O9!
|
336
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
338
337
|
Accept-Encoding:
|
339
338
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
340
339
|
Accept:
|
@@ -345,26 +344,27 @@ http_interactions:
|
|
345
344
|
message: OK
|
346
345
|
headers:
|
347
346
|
Date:
|
348
|
-
-
|
347
|
+
- Wed, 24 Jun 2015 18:35:52 GMT
|
349
348
|
Set-Cookie:
|
350
|
-
- BrowserId=
|
351
|
-
|
349
|
+
- BrowserId=3o21UiP1S0Syo3EeHNCQLg;Path=/;Domain=.salesforce.com;Expires=Sun,
|
350
|
+
23-Aug-2015 18:35:52 GMT
|
352
351
|
Expires:
|
353
352
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
354
353
|
Sforce-Limit-Info:
|
355
|
-
- api-usage=
|
354
|
+
- api-usage=40/15000
|
356
355
|
Content-Type:
|
357
356
|
- application/json;charset=UTF-8
|
358
357
|
Transfer-Encoding:
|
359
358
|
- chunked
|
360
359
|
body:
|
361
360
|
encoding: ASCII-8BIT
|
362
|
-
string: '{"
|
361
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zeDrAAI"},"Id":"a001a000002zeDrAAI","SystemModstamp":"2015-06-24T18:35:50.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"A
|
362
|
+
Stale Synchronized Name","Example_Field__c":null}]}'
|
363
363
|
http_version:
|
364
|
-
recorded_at:
|
364
|
+
recorded_at: Wed, 24 Jun 2015 18:36:00 GMT
|
365
365
|
- request:
|
366
366
|
method: get
|
367
|
-
uri: https
|
367
|
+
uri: https://<host>/services/data/<api_version>/
|
368
368
|
body:
|
369
369
|
encoding: US-ASCII
|
370
370
|
string: ''
|
@@ -372,7 +372,7 @@ http_interactions:
|
|
372
372
|
User-Agent:
|
373
373
|
- Faraday v0.9.1
|
374
374
|
Authorization:
|
375
|
-
- OAuth 00D1a000000H3O9!
|
375
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
376
376
|
Accept-Encoding:
|
377
377
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
378
378
|
Accept:
|
@@ -383,26 +383,26 @@ http_interactions:
|
|
383
383
|
message: OK
|
384
384
|
headers:
|
385
385
|
Date:
|
386
|
-
-
|
387
|
-
- Thu, 18 Jun 2015 21:20:08 GMT
|
386
|
+
- Wed, 24 Jun 2015 18:35:52 GMT
|
388
387
|
Set-Cookie:
|
389
|
-
- BrowserId=
|
390
|
-
|
388
|
+
- BrowserId=7SU5U2SXRSGFwEzJeocqBg;Path=/;Domain=.salesforce.com;Expires=Sun,
|
389
|
+
23-Aug-2015 18:35:52 GMT
|
391
390
|
Expires:
|
392
391
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
392
|
+
Sforce-Limit-Info:
|
393
|
+
- api-usage=41/15000
|
393
394
|
Content-Type:
|
394
395
|
- application/json;charset=UTF-8
|
395
396
|
Transfer-Encoding:
|
396
397
|
- chunked
|
397
398
|
body:
|
398
399
|
encoding: ASCII-8BIT
|
399
|
-
string: '{"
|
400
|
-
Horner","email":"andrew@tablexi.com","email_verified":true,"first_name":"Andrew","last_name":"Horner","timezone":"America/Los_Angeles","photos":{"picture":"https://c.na24.content.force.com/profilephoto/005/F","thumbnail":"https://c.na24.content.force.com/profilephoto/005/T"},"addr_street":null,"addr_city":null,"addr_state":null,"addr_country":"US","addr_zip":"60661","mobile_phone":null,"mobile_phone_verified":false,"status":{"created_date":null,"body":null},"urls":{"enterprise":"https://<host>/services/Soap/c/{version}/00D1a000000H3O9","metadata":"https://<host>/services/Soap/m/{version}/00D1a000000H3O9","partner":"https://<host>/services/Soap/u/{version}/00D1a000000H3O9","rest":"https://<host>/services/data/v{version}/","sobjects":"https://<host>/services/data/v{version}/sobjects/","search":"https://<host>/services/data/v{version}/search/","query":"https://<host>/services/data/v{version}/query/","recent":"https://<host>/services/data/v{version}/recent/","profile":"https://<host>/0051a000000UGT8AAO","feeds":"https://<host>/services/data/v{version}/chatter/feeds","groups":"https://<host>/services/data/v{version}/chatter/groups","users":"https://<host>/services/data/v{version}/chatter/users","feed_items":"https://<host>/services/data/v{version}/chatter/feed-items"},"active":true,"user_type":"STANDARD","language":"en_US","locale":"en_US","utcOffset":-28800000,"last_modified_date":"2015-03-17T04:14:23.000+0000","is_app_installed":true}'
|
400
|
+
string: '{"limits":"/services/data/<api_version>/limits","sobjects":"/services/data/<api_version>/sobjects","connect":"/services/data/<api_version>/connect","query":"/services/data/<api_version>/query","theme":"/services/data/<api_version>/theme","queryAll":"/services/data/<api_version>/queryAll","tooling":"/services/data/<api_version>/tooling","chatter":"/services/data/<api_version>/chatter","analytics":"/services/data/<api_version>/analytics","recent":"/services/data/<api_version>/recent","commerce":"/services/data/<api_version>/commerce","licensing":"/services/data/<api_version>/licensing","identity":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","flexiPage":"/services/data/<api_version>/flexiPage","search":"/services/data/<api_version>/search","quickActions":"/services/data/<api_version>/quickActions","wave":"/services/data/<api_version>/wave","appMenu":"/services/data/<api_version>/appMenu"}'
|
401
401
|
http_version:
|
402
|
-
recorded_at:
|
402
|
+
recorded_at: Wed, 24 Jun 2015 18:36:00 GMT
|
403
403
|
- request:
|
404
404
|
method: get
|
405
|
-
uri: https
|
405
|
+
uri: https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO
|
406
406
|
body:
|
407
407
|
encoding: US-ASCII
|
408
408
|
string: ''
|
@@ -410,7 +410,7 @@ http_interactions:
|
|
410
410
|
User-Agent:
|
411
411
|
- Faraday v0.9.1
|
412
412
|
Authorization:
|
413
|
-
- OAuth 00D1a000000H3O9!
|
413
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
414
414
|
Accept-Encoding:
|
415
415
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
416
416
|
Accept:
|
@@ -421,27 +421,26 @@ http_interactions:
|
|
421
421
|
message: OK
|
422
422
|
headers:
|
423
423
|
Date:
|
424
|
-
-
|
424
|
+
- Wed, 24 Jun 2015 18:35:52 GMT
|
425
|
+
- Wed, 24 Jun 2015 18:35:52 GMT
|
425
426
|
Set-Cookie:
|
426
|
-
- BrowserId=
|
427
|
-
|
427
|
+
- BrowserId=TYUTQS3VRFOuxh8FmnEggQ;Path=/;Domain=.salesforce.com;Expires=Sun,
|
428
|
+
23-Aug-2015 18:35:52 GMT
|
428
429
|
Expires:
|
429
430
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
430
|
-
Sforce-Limit-Info:
|
431
|
-
- api-usage=168/15000
|
432
431
|
Content-Type:
|
433
432
|
- application/json;charset=UTF-8
|
434
433
|
Transfer-Encoding:
|
435
434
|
- chunked
|
436
435
|
body:
|
437
436
|
encoding: ASCII-8BIT
|
438
|
-
string: '{"
|
439
|
-
|
437
|
+
string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","asserted_user":true,"user_id":"0051a000000UGT8AAO","organization_id":"00D1a000000H3O9EAK","username":"andrew+salesforce@tablexi.com","nick_name":"andrew+salesforce1.42656567106328E12","display_name":"Andrew
|
438
|
+
Horner","email":"andrew@tablexi.com","email_verified":true,"first_name":"Andrew","last_name":"Horner","timezone":"America/Los_Angeles","photos":{"picture":"https://c.na24.content.force.com/profilephoto/005/F","thumbnail":"https://c.na24.content.force.com/profilephoto/005/T"},"addr_street":null,"addr_city":null,"addr_state":null,"addr_country":"US","addr_zip":"60661","mobile_phone":null,"mobile_phone_verified":false,"status":{"created_date":null,"body":null},"urls":{"enterprise":"https://<host>/services/Soap/c/{version}/00D1a000000H3O9","metadata":"https://<host>/services/Soap/m/{version}/00D1a000000H3O9","partner":"https://<host>/services/Soap/u/{version}/00D1a000000H3O9","rest":"https://<host>/services/data/v{version}/","sobjects":"https://<host>/services/data/v{version}/sobjects/","search":"https://<host>/services/data/v{version}/search/","query":"https://<host>/services/data/v{version}/query/","recent":"https://<host>/services/data/v{version}/recent/","profile":"https://<host>/0051a000000UGT8AAO","feeds":"https://<host>/services/data/v{version}/chatter/feeds","groups":"https://<host>/services/data/v{version}/chatter/groups","users":"https://<host>/services/data/v{version}/chatter/users","feed_items":"https://<host>/services/data/v{version}/chatter/feed-items"},"active":true,"user_type":"STANDARD","language":"en_US","locale":"en_US","utcOffset":-28800000,"last_modified_date":"2015-03-17T04:14:23.000+0000","is_app_installed":true}'
|
440
439
|
http_version:
|
441
|
-
recorded_at:
|
440
|
+
recorded_at: Wed, 24 Jun 2015 18:36:00 GMT
|
442
441
|
- request:
|
443
442
|
method: patch
|
444
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
443
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zeDrAAI
|
445
444
|
body:
|
446
445
|
encoding: UTF-8
|
447
446
|
string: '{"Name":"A New User-Entered Name","Example_Field__c":null}'
|
@@ -451,7 +450,7 @@ http_interactions:
|
|
451
450
|
Content-Type:
|
452
451
|
- application/json
|
453
452
|
Authorization:
|
454
|
-
- OAuth 00D1a000000H3O9!
|
453
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
455
454
|
Accept-Encoding:
|
456
455
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
457
456
|
Accept:
|
@@ -462,22 +461,22 @@ http_interactions:
|
|
462
461
|
message: No Content
|
463
462
|
headers:
|
464
463
|
Date:
|
465
|
-
-
|
464
|
+
- Wed, 24 Jun 2015 18:35:52 GMT
|
466
465
|
Set-Cookie:
|
467
|
-
- BrowserId=
|
468
|
-
|
466
|
+
- BrowserId=z3uUSnWdQii0UnHx3-QDKg;Path=/;Domain=.salesforce.com;Expires=Sun,
|
467
|
+
23-Aug-2015 18:35:52 GMT
|
469
468
|
Expires:
|
470
469
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
471
470
|
Sforce-Limit-Info:
|
472
|
-
- api-usage=
|
471
|
+
- api-usage=41/15000
|
473
472
|
body:
|
474
473
|
encoding: UTF-8
|
475
474
|
string: ''
|
476
475
|
http_version:
|
477
|
-
recorded_at:
|
476
|
+
recorded_at: Wed, 24 Jun 2015 18:36:00 GMT
|
478
477
|
- request:
|
479
478
|
method: get
|
480
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%
|
479
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Id%20=%20%27a001a000002zeDrAAI%27
|
481
480
|
body:
|
482
481
|
encoding: US-ASCII
|
483
482
|
string: ''
|
@@ -485,7 +484,7 @@ http_interactions:
|
|
485
484
|
User-Agent:
|
486
485
|
- Faraday v0.9.1
|
487
486
|
Authorization:
|
488
|
-
- OAuth 00D1a000000H3O9!
|
487
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
489
488
|
Accept-Encoding:
|
490
489
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
491
490
|
Accept:
|
@@ -496,27 +495,27 @@ http_interactions:
|
|
496
495
|
message: OK
|
497
496
|
headers:
|
498
497
|
Date:
|
499
|
-
-
|
498
|
+
- Wed, 24 Jun 2015 18:35:52 GMT
|
500
499
|
Set-Cookie:
|
501
|
-
- BrowserId=
|
502
|
-
|
500
|
+
- BrowserId=MNIFfifZSsCQYXdwWDoJjg;Path=/;Domain=.salesforce.com;Expires=Sun,
|
501
|
+
23-Aug-2015 18:35:52 GMT
|
503
502
|
Expires:
|
504
503
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
505
504
|
Sforce-Limit-Info:
|
506
|
-
- api-usage=
|
505
|
+
- api-usage=42/15000
|
507
506
|
Content-Type:
|
508
507
|
- application/json;charset=UTF-8
|
509
508
|
Transfer-Encoding:
|
510
509
|
- chunked
|
511
510
|
body:
|
512
511
|
encoding: ASCII-8BIT
|
513
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/
|
512
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zeDrAAI"},"Id":"a001a000002zeDrAAI","SystemModstamp":"2015-06-24T18:35:52.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"A
|
514
513
|
New User-Entered Name","Example_Field__c":null}]}'
|
515
514
|
http_version:
|
516
|
-
recorded_at:
|
515
|
+
recorded_at: Wed, 24 Jun 2015 18:36:00 GMT
|
517
516
|
- request:
|
518
517
|
method: delete
|
519
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
518
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zeDrAAI
|
520
519
|
body:
|
521
520
|
encoding: US-ASCII
|
522
521
|
string: ''
|
@@ -524,7 +523,7 @@ http_interactions:
|
|
524
523
|
User-Agent:
|
525
524
|
- Faraday v0.9.1
|
526
525
|
Authorization:
|
527
|
-
- OAuth 00D1a000000H3O9!
|
526
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
528
527
|
Accept-Encoding:
|
529
528
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
530
529
|
Accept:
|
@@ -535,17 +534,17 @@ http_interactions:
|
|
535
534
|
message: No Content
|
536
535
|
headers:
|
537
536
|
Date:
|
538
|
-
-
|
537
|
+
- Wed, 24 Jun 2015 18:35:53 GMT
|
539
538
|
Set-Cookie:
|
540
|
-
- BrowserId=
|
541
|
-
|
539
|
+
- BrowserId=3YOlwhAKSeqj1Q32u9o_aQ;Path=/;Domain=.salesforce.com;Expires=Sun,
|
540
|
+
23-Aug-2015 18:35:53 GMT
|
542
541
|
Expires:
|
543
542
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
544
543
|
Sforce-Limit-Info:
|
545
|
-
- api-usage=
|
544
|
+
- api-usage=40/15000
|
546
545
|
body:
|
547
546
|
encoding: UTF-8
|
548
547
|
string: ''
|
549
548
|
http_version:
|
550
|
-
recorded_at:
|
549
|
+
recorded_at: Wed, 24 Jun 2015 18:36:01 GMT
|
551
550
|
recorded_with: VCR 2.9.3
|