restforce-db 3.1.1 → 3.1.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/cleaner.rb +31 -2
- data/lib/restforce/db/version.rb +1 -1
- 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 +52 -52
- 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 +44 -44
- 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 +42 -42
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 386e259816079ce1f9b7eeb1ad6028daa552bfb7
|
4
|
+
data.tar.gz: 3b9ac175fdd418fbefab7b3e865d88b2230e4571
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c1ae937112b3200347699f59d8bd5a878dcd8e6b8ed21b72ef3f9cb8c5824eb31f89939ecfb799fc6f9db9994bcb32986d21494394b8e88e2df68141b584146
|
7
|
+
data.tar.gz: 38d120a7854a2f27306c023f73bce721a75112d348986be35ab8d2d912aa115bbd14847eafd5281451e64ca9e613ec116fbfbea38fd90980b55c7cd35c29866c
|
data/lib/restforce/db/cleaner.rb
CHANGED
@@ -7,6 +7,23 @@ module Restforce
|
|
7
7
|
# for a specific mapping.
|
8
8
|
class Cleaner < Task
|
9
9
|
|
10
|
+
# RecordsChanged is an exception which reports IDs for Salesforce records
|
11
|
+
# that were updated externally during the cleaning process.
|
12
|
+
class RecordsChanged < RuntimeError
|
13
|
+
|
14
|
+
# Public: Initialize a new RecordsChanged exception.
|
15
|
+
#
|
16
|
+
# salesforce_model - A String name of a Salesforce object type.
|
17
|
+
# ids - An Array of String Salesforce IDs.
|
18
|
+
def initialize(salesforce_model, ids)
|
19
|
+
super <<-MESSAGE
|
20
|
+
The following #{salesforce_model} records were updated externally
|
21
|
+
during the cleaning phase of synchronization: #{ids.join(', ')}
|
22
|
+
MESSAGE
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
|
10
27
|
# Salesforce can take a few minutes to register record deletion. This
|
11
28
|
# buffer gives us a window of time (in seconds) to look back and see
|
12
29
|
# records which may not have been visible in previous runs.
|
@@ -53,7 +70,19 @@ module Restforce
|
|
53
70
|
def invalid_salesforce_ids
|
54
71
|
return [] if @mapping.conditions.empty? || @mapping.strategy.passive?
|
55
72
|
|
56
|
-
|
73
|
+
# NOTE: We need to query for _valid_ records first, because, in the
|
74
|
+
# scenario where a record is updated _between_ the two queries running,
|
75
|
+
# the change to the SystemModstamp will prevent the record from being
|
76
|
+
# picked up in the second query. In this situation, it's safer to omit
|
77
|
+
# the ID from the list of aggregate IDs than it is to omit it from the
|
78
|
+
# list of valid IDs.
|
79
|
+
valid_ids = valid_salesforce_ids
|
80
|
+
all_ids = all_salesforce_ids
|
81
|
+
|
82
|
+
updated_ids = valid_ids - all_ids
|
83
|
+
DB.logger.error(RecordsChanged.new(@mapping.salesforce_model, updated_ids)) unless updated_ids.empty?
|
84
|
+
|
85
|
+
all_ids - valid_ids
|
57
86
|
end
|
58
87
|
|
59
88
|
# Internal: Get the IDs of all recently-modified Salesforce records
|
@@ -89,7 +118,7 @@ module Restforce
|
|
89
118
|
# removing records which belong to a parallel mapping on the same
|
90
119
|
# ActiveRecord class.
|
91
120
|
#
|
92
|
-
#
|
121
|
+
# Returns an Array of Mappings.
|
93
122
|
def parallel_mappings
|
94
123
|
Registry[@mapping.database_model].select do |mapping|
|
95
124
|
mapping.salesforce_model == @mapping.salesforce_model
|
data/lib/restforce/db/version.rb
CHANGED
@@ -21,10 +21,10 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 30 Jun 2015 21:55:26 GMT
|
25
25
|
Set-Cookie:
|
26
|
-
- BrowserId=
|
27
|
-
|
26
|
+
- BrowserId=R2hPFLLfQDKPkisldnr-ig;Path=/;Domain=.salesforce.com;Expires=Sat,
|
27
|
+
29-Aug-2015 21:55:26 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":"1435701326155","token_type":"Bearer","instance_url":"https://<host>","signature":"6qg0fqHjFmvRfj7hY8suf/HbufcFj+0igrCnL21hvok=","access_token":"00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9"}'
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Tue, 30 Jun 2015 21:55:26 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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
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
|
+
- Tue, 30 Jun 2015 21:55:27 GMT
|
68
68
|
Set-Cookie:
|
69
|
-
- BrowserId=
|
70
|
-
|
69
|
+
- BrowserId=Wd9It7f1QGyOe-aFc6BbGw;Path=/;Domain=.salesforce.com;Expires=Sat,
|
70
|
+
29-Aug-2015 21:55:27 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/a001a00000306RRAAY"
|
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":"a001a00000306RRAAY","success":true,"errors":[]}'
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Tue, 30 Jun 2015 21:55:27 GMT
|
86
86
|
- request:
|
87
87
|
method: delete
|
88
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
88
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a00000306RRAAY
|
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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
97
97
|
Accept-Encoding:
|
98
98
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
99
99
|
Accept:
|
@@ -104,17 +104,17 @@ http_interactions:
|
|
104
104
|
message: No Content
|
105
105
|
headers:
|
106
106
|
Date:
|
107
|
-
-
|
107
|
+
- Tue, 30 Jun 2015 21:55:28 GMT
|
108
108
|
Set-Cookie:
|
109
|
-
- BrowserId=
|
110
|
-
|
109
|
+
- BrowserId=UresOOfWSbqgn4mbs9k_cg;Path=/;Domain=.salesforce.com;Expires=Sat,
|
110
|
+
29-Aug-2015 21:55:28 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
115
|
body:
|
116
116
|
encoding: UTF-8
|
117
117
|
string: ''
|
118
118
|
http_version:
|
119
|
-
recorded_at:
|
119
|
+
recorded_at: Tue, 30 Jun 2015 21:55:28 GMT
|
120
120
|
recorded_with: VCR 2.9.3
|
@@ -21,10 +21,10 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 30 Jun 2015 21:55:17 GMT
|
25
25
|
Set-Cookie:
|
26
|
-
- BrowserId=
|
27
|
-
|
26
|
+
- BrowserId=yv_KrecZT7WQoJ-TvTgbpw;Path=/;Domain=.salesforce.com;Expires=Sat,
|
27
|
+
29-Aug-2015 21:55:17 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":"1435701317323","token_type":"Bearer","instance_url":"https://<host>","signature":"DjRqs+lCivYr9PUm35GWeIV0uHQitMDlWVh61P52IIo=","access_token":"00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9"}'
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Tue, 30 Jun 2015 21:55:17 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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
57
57
|
Accept-Encoding:
|
58
58
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
59
59
|
Accept:
|
@@ -64,25 +64,25 @@ http_interactions:
|
|
64
64
|
message: Created
|
65
65
|
headers:
|
66
66
|
Date:
|
67
|
-
-
|
67
|
+
- Tue, 30 Jun 2015 21:55:18 GMT
|
68
68
|
Set-Cookie:
|
69
|
-
- BrowserId=
|
70
|
-
|
69
|
+
- BrowserId=caLEQU34Q7GwJVvE0pqOPQ;Path=/;Domain=.salesforce.com;Expires=Sat,
|
70
|
+
29-Aug-2015 21:55:18 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/a001a00000306RMAAY"
|
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":"a001a00000306RMAAY","success":true,"errors":[]}'
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Tue, 30 Jun 2015 21:55:18 GMT
|
86
86
|
- request:
|
87
87
|
method: get
|
88
88
|
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/describe
|
@@ -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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
97
97
|
Accept-Encoding:
|
98
98
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
99
99
|
Accept:
|
@@ -104,14 +104,14 @@ http_interactions:
|
|
104
104
|
message: OK
|
105
105
|
headers:
|
106
106
|
Date:
|
107
|
-
-
|
107
|
+
- Tue, 30 Jun 2015 21:55:19 GMT
|
108
108
|
Set-Cookie:
|
109
|
-
- BrowserId=
|
110
|
-
|
109
|
+
- BrowserId=NzerSUbyTK6EQ3r06RYtHg;Path=/;Domain=.salesforce.com;Expires=Sat,
|
110
|
+
29-Aug-2015 21:55:19 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
115
|
Org.eclipse.jetty.server.include.etag:
|
116
116
|
- aa7ee96f
|
117
117
|
Last-Modified:
|
@@ -135,10 +135,10 @@ http_interactions:
|
|
135
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
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"}}'
|
137
137
|
http_version:
|
138
|
-
recorded_at:
|
138
|
+
recorded_at: Tue, 30 Jun 2015 21:55:20 GMT
|
139
139
|
- request:
|
140
140
|
method: get
|
141
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c
|
141
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Name%20!=%20%27Are%20you%20going%20to%20Scarborough%20Fair?%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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
150
150
|
Accept-Encoding:
|
151
151
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
152
152
|
Accept:
|
@@ -157,28 +157,26 @@ http_interactions:
|
|
157
157
|
message: OK
|
158
158
|
headers:
|
159
159
|
Date:
|
160
|
-
-
|
160
|
+
- Tue, 30 Jun 2015 21:55:21 GMT
|
161
161
|
Set-Cookie:
|
162
|
-
- BrowserId=
|
163
|
-
|
162
|
+
- BrowserId=3MVtfddjRf-O0Pol-RPCgw;Path=/;Domain=.salesforce.com;Expires=Sat,
|
163
|
+
29-Aug-2015 21:55:21 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=1/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":
|
175
|
-
you going to Scarborough Fair?","Example_Field__c":"Parsley, Sage, Rosemary,
|
176
|
-
and Thyme."},{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000002ze8cAAA"},"Id":"a001a000002ze8cAAA","SynchronizationId__c":"someid","SystemModstamp":"2015-06-24T17:05:30.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Testing2","Example_Field__c":null}]}'
|
174
|
+
string: '{"totalSize":0,"done":true,"records":[]}'
|
177
175
|
http_version:
|
178
|
-
recorded_at:
|
176
|
+
recorded_at: Tue, 30 Jun 2015 21:55:21 GMT
|
179
177
|
- request:
|
180
178
|
method: get
|
181
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById
|
179
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById%20from%20CustomObject__c%20where%20Name%20=%20%27Are%20you%20going%20to%20Scarborough%20Fair?%27
|
182
180
|
body:
|
183
181
|
encoding: US-ASCII
|
184
182
|
string: ''
|
@@ -186,7 +184,7 @@ http_interactions:
|
|
186
184
|
User-Agent:
|
187
185
|
- Faraday v0.9.1
|
188
186
|
Authorization:
|
189
|
-
- OAuth 00D1a000000H3O9!
|
187
|
+
- OAuth 00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
190
188
|
Accept-Encoding:
|
191
189
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
192
190
|
Accept:
|
@@ -197,26 +195,26 @@ http_interactions:
|
|
197
195
|
message: OK
|
198
196
|
headers:
|
199
197
|
Date:
|
200
|
-
-
|
198
|
+
- Tue, 30 Jun 2015 21:55:22 GMT
|
201
199
|
Set-Cookie:
|
202
|
-
- BrowserId=
|
203
|
-
|
200
|
+
- BrowserId=DThhyJcqSvmNHnecQF8IDg;Path=/;Domain=.salesforce.com;Expires=Sat,
|
201
|
+
29-Aug-2015 21:55:22 GMT
|
204
202
|
Expires:
|
205
203
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
206
204
|
Sforce-Limit-Info:
|
207
|
-
- api-usage=
|
205
|
+
- api-usage=1/15000
|
208
206
|
Content-Type:
|
209
207
|
- application/json;charset=UTF-8
|
210
208
|
Transfer-Encoding:
|
211
209
|
- chunked
|
212
210
|
body:
|
213
211
|
encoding: ASCII-8BIT
|
214
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/
|
212
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a00000306RMAAY"},"Id":"a001a00000306RMAAY","SynchronizationId__c":null,"SystemModstamp":"2015-06-30T21:55:18.000+0000","LastModifiedById":"0051a000000UGT8AAO"}]}'
|
215
213
|
http_version:
|
216
|
-
recorded_at:
|
214
|
+
recorded_at: Tue, 30 Jun 2015 21:55:22 GMT
|
217
215
|
- request:
|
218
216
|
method: get
|
219
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById%20from%20CustomObject__c
|
217
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c
|
220
218
|
body:
|
221
219
|
encoding: US-ASCII
|
222
220
|
string: ''
|
@@ -224,7 +222,7 @@ http_interactions:
|
|
224
222
|
User-Agent:
|
225
223
|
- Faraday v0.9.1
|
226
224
|
Authorization:
|
227
|
-
- OAuth 00D1a000000H3O9!
|
225
|
+
- OAuth 00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
228
226
|
Accept-Encoding:
|
229
227
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
230
228
|
Accept:
|
@@ -235,26 +233,28 @@ http_interactions:
|
|
235
233
|
message: OK
|
236
234
|
headers:
|
237
235
|
Date:
|
238
|
-
-
|
236
|
+
- Tue, 30 Jun 2015 21:55:23 GMT
|
239
237
|
Set-Cookie:
|
240
|
-
- BrowserId=
|
241
|
-
|
238
|
+
- BrowserId=EgIvOWszSVS1r5u7jxu24w;Path=/;Domain=.salesforce.com;Expires=Sat,
|
239
|
+
29-Aug-2015 21:55:23 GMT
|
242
240
|
Expires:
|
243
241
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
244
242
|
Sforce-Limit-Info:
|
245
|
-
- api-usage=
|
243
|
+
- api-usage=1/15000
|
246
244
|
Content-Type:
|
247
245
|
- application/json;charset=UTF-8
|
248
246
|
Transfer-Encoding:
|
249
247
|
- chunked
|
250
248
|
body:
|
251
249
|
encoding: ASCII-8BIT
|
252
|
-
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/a001a00000306RMAAY"},"Id":"a001a00000306RMAAY","SynchronizationId__c":null,"SystemModstamp":"2015-06-30T21:55:18.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Are
|
251
|
+
you going to Scarborough Fair?","Example_Field__c":"Parsley, Sage, Rosemary,
|
252
|
+
and Thyme."}]}'
|
253
253
|
http_version:
|
254
|
-
recorded_at:
|
254
|
+
recorded_at: Tue, 30 Jun 2015 21:55:23 GMT
|
255
255
|
- request:
|
256
256
|
method: delete
|
257
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
257
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a00000306RMAAY
|
258
258
|
body:
|
259
259
|
encoding: US-ASCII
|
260
260
|
string: ''
|
@@ -262,7 +262,7 @@ http_interactions:
|
|
262
262
|
User-Agent:
|
263
263
|
- Faraday v0.9.1
|
264
264
|
Authorization:
|
265
|
-
- OAuth 00D1a000000H3O9!
|
265
|
+
- OAuth 00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
266
266
|
Accept-Encoding:
|
267
267
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
268
268
|
Accept:
|
@@ -273,17 +273,17 @@ http_interactions:
|
|
273
273
|
message: No Content
|
274
274
|
headers:
|
275
275
|
Date:
|
276
|
-
-
|
276
|
+
- Tue, 30 Jun 2015 21:55:24 GMT
|
277
277
|
Set-Cookie:
|
278
|
-
- BrowserId=
|
279
|
-
|
278
|
+
- BrowserId=iZSCFLCSQhekPjfu-tViPw;Path=/;Domain=.salesforce.com;Expires=Sat,
|
279
|
+
29-Aug-2015 21:55:24 GMT
|
280
280
|
Expires:
|
281
281
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
282
282
|
Sforce-Limit-Info:
|
283
|
-
- api-usage=
|
283
|
+
- api-usage=1/15000
|
284
284
|
body:
|
285
285
|
encoding: UTF-8
|
286
286
|
string: ''
|
287
287
|
http_version:
|
288
|
-
recorded_at:
|
288
|
+
recorded_at: Tue, 30 Jun 2015 21:55:24 GMT
|
289
289
|
recorded_with: VCR 2.9.3
|
@@ -21,10 +21,10 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 30 Jun 2015 21:55:32 GMT
|
25
25
|
Set-Cookie:
|
26
|
-
- BrowserId=
|
27
|
-
|
26
|
+
- BrowserId=Y2SJeKuFTfiO2KtyZOaptw;Path=/;Domain=.salesforce.com;Expires=Sat,
|
27
|
+
29-Aug-2015 21:55:32 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":"1435701332803","token_type":"Bearer","instance_url":"https://<host>","signature":"Yc6LTL9u007ayCIy24S6mdU3tB+Q0Vyz3gaNFdH6x+U=","access_token":"00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9"}'
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Tue, 30 Jun 2015 21:55:32 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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
57
57
|
Accept-Encoding:
|
58
58
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
59
59
|
Accept:
|
@@ -64,25 +64,25 @@ http_interactions:
|
|
64
64
|
message: Created
|
65
65
|
headers:
|
66
66
|
Date:
|
67
|
-
-
|
67
|
+
- Tue, 30 Jun 2015 21:55:33 GMT
|
68
68
|
Set-Cookie:
|
69
|
-
- BrowserId=
|
70
|
-
|
69
|
+
- BrowserId=wN3HaF8WTJenosnVMKrkVA;Path=/;Domain=.salesforce.com;Expires=Sat,
|
70
|
+
29-Aug-2015 21:55:33 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/a001a00000306RbAAI"
|
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":"a001a00000306RbAAI","success":true,"errors":[]}'
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Tue, 30 Jun 2015 21:55:34 GMT
|
86
86
|
- request:
|
87
87
|
method: get
|
88
88
|
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/describe
|
@@ -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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
97
97
|
Accept-Encoding:
|
98
98
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
99
99
|
Accept:
|
@@ -104,14 +104,14 @@ http_interactions:
|
|
104
104
|
message: OK
|
105
105
|
headers:
|
106
106
|
Date:
|
107
|
-
-
|
107
|
+
- Tue, 30 Jun 2015 21:55:35 GMT
|
108
108
|
Set-Cookie:
|
109
|
-
- BrowserId=
|
110
|
-
|
109
|
+
- BrowserId=bb5LcubLSu-cqFVoMA4yEw;Path=/;Domain=.salesforce.com;Expires=Sat,
|
110
|
+
29-Aug-2015 21:55:35 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=3/15000
|
115
115
|
Org.eclipse.jetty.server.include.etag:
|
116
116
|
- aa7ee96f
|
117
117
|
Last-Modified:
|
@@ -135,10 +135,10 @@ http_interactions:
|
|
135
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
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"}}'
|
137
137
|
http_version:
|
138
|
-
recorded_at:
|
138
|
+
recorded_at: Tue, 30 Jun 2015 21:55:35 GMT
|
139
139
|
- request:
|
140
140
|
method: get
|
141
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c
|
141
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Name%20!=%20%27Are%20you%20going%20to%20Scarborough%20Fair?%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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
150
150
|
Accept-Encoding:
|
151
151
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
152
152
|
Accept:
|
@@ -157,28 +157,26 @@ http_interactions:
|
|
157
157
|
message: OK
|
158
158
|
headers:
|
159
159
|
Date:
|
160
|
-
-
|
160
|
+
- Tue, 30 Jun 2015 21:55:36 GMT
|
161
161
|
Set-Cookie:
|
162
|
-
- BrowserId=
|
163
|
-
|
162
|
+
- BrowserId=8pHtB1AMS62zQJtGv5OyyQ;Path=/;Domain=.salesforce.com;Expires=Sat,
|
163
|
+
29-Aug-2015 21:55:36 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=2/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":
|
175
|
-
you going to Scarborough Fair?","Example_Field__c":"Parsley, Sage, Rosemary,
|
176
|
-
and Thyme."},{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000002ze8cAAA"},"Id":"a001a000002ze8cAAA","SynchronizationId__c":"someid","SystemModstamp":"2015-06-24T17:05:30.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Testing2","Example_Field__c":null}]}'
|
174
|
+
string: '{"totalSize":0,"done":true,"records":[]}'
|
177
175
|
http_version:
|
178
|
-
recorded_at:
|
176
|
+
recorded_at: Tue, 30 Jun 2015 21:55:36 GMT
|
179
177
|
- request:
|
180
178
|
method: get
|
181
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c
|
179
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c
|
182
180
|
body:
|
183
181
|
encoding: US-ASCII
|
184
182
|
string: ''
|
@@ -186,7 +184,7 @@ http_interactions:
|
|
186
184
|
User-Agent:
|
187
185
|
- Faraday v0.9.1
|
188
186
|
Authorization:
|
189
|
-
- OAuth 00D1a000000H3O9!
|
187
|
+
- OAuth 00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
190
188
|
Accept-Encoding:
|
191
189
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
192
190
|
Accept:
|
@@ -197,26 +195,28 @@ http_interactions:
|
|
197
195
|
message: OK
|
198
196
|
headers:
|
199
197
|
Date:
|
200
|
-
-
|
198
|
+
- Tue, 30 Jun 2015 21:55:37 GMT
|
201
199
|
Set-Cookie:
|
202
|
-
- BrowserId=
|
203
|
-
|
200
|
+
- BrowserId=pOzD91n-T7C866-TqM4oMA;Path=/;Domain=.salesforce.com;Expires=Sat,
|
201
|
+
29-Aug-2015 21:55:37 GMT
|
204
202
|
Expires:
|
205
203
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
206
204
|
Sforce-Limit-Info:
|
207
|
-
- api-usage=
|
205
|
+
- api-usage=3/15000
|
208
206
|
Content-Type:
|
209
207
|
- application/json;charset=UTF-8
|
210
208
|
Transfer-Encoding:
|
211
209
|
- chunked
|
212
210
|
body:
|
213
211
|
encoding: ASCII-8BIT
|
214
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/
|
212
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a00000306RbAAI"},"Id":"a001a00000306RbAAI","SynchronizationId__c":null,"SystemModstamp":"2015-06-30T21:55:34.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Are
|
213
|
+
you going to Scarborough Fair?","Example_Field__c":"Parsley, Sage, Rosemary,
|
214
|
+
and Thyme."}]}'
|
215
215
|
http_version:
|
216
|
-
recorded_at:
|
216
|
+
recorded_at: Tue, 30 Jun 2015 21:55:37 GMT
|
217
217
|
- request:
|
218
218
|
method: delete
|
219
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
219
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a00000306RbAAI
|
220
220
|
body:
|
221
221
|
encoding: US-ASCII
|
222
222
|
string: ''
|
@@ -224,7 +224,7 @@ http_interactions:
|
|
224
224
|
User-Agent:
|
225
225
|
- Faraday v0.9.1
|
226
226
|
Authorization:
|
227
|
-
- OAuth 00D1a000000H3O9!
|
227
|
+
- OAuth 00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
228
228
|
Accept-Encoding:
|
229
229
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
230
230
|
Accept:
|
@@ -235,17 +235,17 @@ http_interactions:
|
|
235
235
|
message: No Content
|
236
236
|
headers:
|
237
237
|
Date:
|
238
|
-
-
|
238
|
+
- Tue, 30 Jun 2015 21:55:38 GMT
|
239
239
|
Set-Cookie:
|
240
|
-
- BrowserId=
|
241
|
-
|
240
|
+
- BrowserId=RJv0qyNVQOejPs9Rtp2vKA;Path=/;Domain=.salesforce.com;Expires=Sat,
|
241
|
+
29-Aug-2015 21:55:38 GMT
|
242
242
|
Expires:
|
243
243
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
244
244
|
Sforce-Limit-Info:
|
245
|
-
- api-usage=
|
245
|
+
- api-usage=3/15000
|
246
246
|
body:
|
247
247
|
encoding: UTF-8
|
248
248
|
string: ''
|
249
249
|
http_version:
|
250
|
-
recorded_at:
|
250
|
+
recorded_at: Tue, 30 Jun 2015 21:55:38 GMT
|
251
251
|
recorded_with: VCR 2.9.3
|
@@ -21,10 +21,10 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 30 Jun 2015 21:55:29 GMT
|
25
25
|
Set-Cookie:
|
26
|
-
- BrowserId=
|
27
|
-
|
26
|
+
- BrowserId=hat_S98hQ5q6-kteuUX_xA;Path=/;Domain=.salesforce.com;Expires=Sat,
|
27
|
+
29-Aug-2015 21:55:29 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":"1435701329559","token_type":"Bearer","instance_url":"https://<host>","signature":"eHyKdL+9ynInOSrB72EDOkm9VgT/oPAUHFvF6210xBY=","access_token":"00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9"}'
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Tue, 30 Jun 2015 21:55:29 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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
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
|
+
- Tue, 30 Jun 2015 21:55:30 GMT
|
68
68
|
Set-Cookie:
|
69
|
-
- BrowserId=
|
70
|
-
|
69
|
+
- BrowserId=ToJ-DE0rT9igC1o66wh4SA;Path=/;Domain=.salesforce.com;Expires=Sat,
|
70
|
+
29-Aug-2015 21:55:30 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=2/15000
|
75
75
|
Location:
|
76
|
-
- "/services/data/<api_version>/sobjects/CustomObject__c/
|
76
|
+
- "/services/data/<api_version>/sobjects/CustomObject__c/a001a00000306RWAAY"
|
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":"a001a00000306RWAAY","success":true,"errors":[]}'
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Tue, 30 Jun 2015 21:55:30 GMT
|
86
86
|
- request:
|
87
87
|
method: delete
|
88
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
88
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a00000306RWAAY
|
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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
97
97
|
Accept-Encoding:
|
98
98
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
99
99
|
Accept:
|
@@ -104,17 +104,17 @@ http_interactions:
|
|
104
104
|
message: No Content
|
105
105
|
headers:
|
106
106
|
Date:
|
107
|
-
-
|
107
|
+
- Tue, 30 Jun 2015 21:55:31 GMT
|
108
108
|
Set-Cookie:
|
109
|
-
- BrowserId=
|
110
|
-
|
109
|
+
- BrowserId=BJkKXEqpS6yRWaMBcZNnag;Path=/;Domain=.salesforce.com;Expires=Sat,
|
110
|
+
29-Aug-2015 21:55:31 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
115
|
body:
|
116
116
|
encoding: UTF-8
|
117
117
|
string: ''
|
118
118
|
http_version:
|
119
|
-
recorded_at:
|
119
|
+
recorded_at: Tue, 30 Jun 2015 21:55:31 GMT
|
120
120
|
recorded_with: VCR 2.9.3
|
@@ -21,10 +21,10 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 30 Jun 2015 21:55:39 GMT
|
25
25
|
Set-Cookie:
|
26
|
-
- BrowserId=
|
27
|
-
|
26
|
+
- BrowserId=s29JWsGiRKq8oIt3OPdJuA;Path=/;Domain=.salesforce.com;Expires=Sat,
|
27
|
+
29-Aug-2015 21:55:39 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":"1435701340011","token_type":"Bearer","instance_url":"https://<host>","signature":"EVdyAzzrtR4inCtDUo3fF7bJvboNssRt06zybqV2E38=","access_token":"00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9"}'
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Tue, 30 Jun 2015 21:55:40 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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
57
57
|
Accept-Encoding:
|
58
58
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
59
59
|
Accept:
|
@@ -64,25 +64,25 @@ http_interactions:
|
|
64
64
|
message: Created
|
65
65
|
headers:
|
66
66
|
Date:
|
67
|
-
-
|
67
|
+
- Tue, 30 Jun 2015 21:55:41 GMT
|
68
68
|
Set-Cookie:
|
69
|
-
- BrowserId=
|
70
|
-
|
69
|
+
- BrowserId=Bf2qJhmIT_eRsbIqxm5hvQ;Path=/;Domain=.salesforce.com;Expires=Sat,
|
70
|
+
29-Aug-2015 21:55:41 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=4/15000
|
75
75
|
Location:
|
76
|
-
- "/services/data/<api_version>/sobjects/CustomObject__c/
|
76
|
+
- "/services/data/<api_version>/sobjects/CustomObject__c/a001a00000306RgAAI"
|
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":"a001a00000306RgAAI","success":true,"errors":[]}'
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Tue, 30 Jun 2015 21:55:41 GMT
|
86
86
|
- request:
|
87
87
|
method: get
|
88
88
|
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/describe
|
@@ -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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
97
97
|
Accept-Encoding:
|
98
98
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
99
99
|
Accept:
|
@@ -104,14 +104,14 @@ http_interactions:
|
|
104
104
|
message: OK
|
105
105
|
headers:
|
106
106
|
Date:
|
107
|
-
-
|
107
|
+
- Tue, 30 Jun 2015 21:55:42 GMT
|
108
108
|
Set-Cookie:
|
109
|
-
- BrowserId=
|
110
|
-
|
109
|
+
- BrowserId=GPIRW7pxRESzYZ6EJz2PZg;Path=/;Domain=.salesforce.com;Expires=Sat,
|
110
|
+
29-Aug-2015 21:55:42 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=3/15000
|
115
115
|
Org.eclipse.jetty.server.include.etag:
|
116
116
|
- aa7ee96f
|
117
117
|
Last-Modified:
|
@@ -135,10 +135,10 @@ http_interactions:
|
|
135
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
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"}}'
|
137
137
|
http_version:
|
138
|
-
recorded_at:
|
138
|
+
recorded_at: Tue, 30 Jun 2015 21:55:42 GMT
|
139
139
|
- request:
|
140
140
|
method: get
|
141
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c
|
141
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20Name%20=%20%27Are%20you%20going%20to%20Scarborough%20Fair?%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!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
150
150
|
Accept-Encoding:
|
151
151
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
152
152
|
Accept:
|
@@ -157,28 +157,28 @@ http_interactions:
|
|
157
157
|
message: OK
|
158
158
|
headers:
|
159
159
|
Date:
|
160
|
-
-
|
160
|
+
- Tue, 30 Jun 2015 21:55:43 GMT
|
161
161
|
Set-Cookie:
|
162
|
-
- BrowserId=
|
163
|
-
|
162
|
+
- BrowserId=LhNYvduaReyYR4D4dg2n7Q;Path=/;Domain=.salesforce.com;Expires=Sat,
|
163
|
+
29-Aug-2015 21:55:43 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=5/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":
|
174
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a00000306RgAAI"},"Id":"a001a00000306RgAAI","SynchronizationId__c":null,"SystemModstamp":"2015-06-30T21:55:41.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Are
|
175
175
|
you going to Scarborough Fair?","Example_Field__c":"Parsley, Sage, Rosemary,
|
176
176
|
and Thyme."}]}'
|
177
177
|
http_version:
|
178
|
-
recorded_at:
|
178
|
+
recorded_at: Tue, 30 Jun 2015 21:55:43 GMT
|
179
179
|
- request:
|
180
180
|
method: get
|
181
|
-
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c
|
181
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SynchronizationId__c,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c
|
182
182
|
body:
|
183
183
|
encoding: US-ASCII
|
184
184
|
string: ''
|
@@ -186,7 +186,7 @@ http_interactions:
|
|
186
186
|
User-Agent:
|
187
187
|
- Faraday v0.9.1
|
188
188
|
Authorization:
|
189
|
-
- OAuth 00D1a000000H3O9!
|
189
|
+
- OAuth 00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
190
190
|
Accept-Encoding:
|
191
191
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
192
192
|
Accept:
|
@@ -197,28 +197,28 @@ http_interactions:
|
|
197
197
|
message: OK
|
198
198
|
headers:
|
199
199
|
Date:
|
200
|
-
-
|
200
|
+
- Tue, 30 Jun 2015 21:55:44 GMT
|
201
201
|
Set-Cookie:
|
202
|
-
- BrowserId=
|
203
|
-
|
202
|
+
- BrowserId=9yrIOgGTR-euv2pa5WOFjg;Path=/;Domain=.salesforce.com;Expires=Sat,
|
203
|
+
29-Aug-2015 21:55:44 GMT
|
204
204
|
Expires:
|
205
205
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
206
206
|
Sforce-Limit-Info:
|
207
|
-
- api-usage=
|
207
|
+
- api-usage=6/15000
|
208
208
|
Content-Type:
|
209
209
|
- application/json;charset=UTF-8
|
210
210
|
Transfer-Encoding:
|
211
211
|
- chunked
|
212
212
|
body:
|
213
213
|
encoding: ASCII-8BIT
|
214
|
-
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/
|
214
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a00000306RgAAI"},"Id":"a001a00000306RgAAI","SynchronizationId__c":null,"SystemModstamp":"2015-06-30T21:55:41.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Are
|
215
215
|
you going to Scarborough Fair?","Example_Field__c":"Parsley, Sage, Rosemary,
|
216
216
|
and Thyme."}]}'
|
217
217
|
http_version:
|
218
|
-
recorded_at:
|
218
|
+
recorded_at: Tue, 30 Jun 2015 21:55:44 GMT
|
219
219
|
- request:
|
220
220
|
method: delete
|
221
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
221
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a00000306RgAAI
|
222
222
|
body:
|
223
223
|
encoding: US-ASCII
|
224
224
|
string: ''
|
@@ -226,7 +226,7 @@ http_interactions:
|
|
226
226
|
User-Agent:
|
227
227
|
- Faraday v0.9.1
|
228
228
|
Authorization:
|
229
|
-
- OAuth 00D1a000000H3O9!
|
229
|
+
- OAuth 00D1a000000H3O9!AQ4AQCuQcUjpJEq9lrBhPkqOA0H54X35lOGdjXK_f7u4TlJkBXW4P6Yb_svq0CVrLupjKXzW7Zx3KIj4GLQzCtt5g5Eot9U9
|
230
230
|
Accept-Encoding:
|
231
231
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
232
232
|
Accept:
|
@@ -237,17 +237,17 @@ http_interactions:
|
|
237
237
|
message: No Content
|
238
238
|
headers:
|
239
239
|
Date:
|
240
|
-
-
|
240
|
+
- Tue, 30 Jun 2015 21:55:45 GMT
|
241
241
|
Set-Cookie:
|
242
|
-
- BrowserId=
|
243
|
-
|
242
|
+
- BrowserId=XCdkrIodRPOTAeObmgP9rg;Path=/;Domain=.salesforce.com;Expires=Sat,
|
243
|
+
29-Aug-2015 21:55:45 GMT
|
244
244
|
Expires:
|
245
245
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
246
246
|
Sforce-Limit-Info:
|
247
|
-
- api-usage=
|
247
|
+
- api-usage=5/15000
|
248
248
|
body:
|
249
249
|
encoding: UTF-8
|
250
250
|
string: ''
|
251
251
|
http_version:
|
252
|
-
recorded_at:
|
252
|
+
recorded_at: Tue, 30 Jun 2015 21:55:45 GMT
|
253
253
|
recorded_with: VCR 2.9.3
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restforce-db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Horner
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|