restforce-db 2.7.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -0,0 +1,247 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://<host>/services/oauth2/token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: grant_type=password&client_id=<client_id>&client_secret=<client_secret>&username=<username>&password=<password><security_token>
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.1
|
12
|
+
Content-Type:
|
13
|
+
- application/x-www-form-urlencoded
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Wed, 24 Jun 2015 18:34:12 GMT
|
25
|
+
Set-Cookie:
|
26
|
+
- BrowserId=65-mj0zyQJuF1brqHMgz_w;Path=/;Domain=.salesforce.com;Expires=Sun,
|
27
|
+
23-Aug-2015 18:34:12 GMT
|
28
|
+
Expires:
|
29
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
30
|
+
Pragma:
|
31
|
+
- no-cache
|
32
|
+
Cache-Control:
|
33
|
+
- no-cache, no-store
|
34
|
+
Content-Type:
|
35
|
+
- application/json;charset=UTF-8
|
36
|
+
Transfer-Encoding:
|
37
|
+
- chunked
|
38
|
+
body:
|
39
|
+
encoding: ASCII-8BIT
|
40
|
+
string: '{"id":"https://login.salesforce.com/id/00D1a000000H3O9EAK/0051a000000UGT8AAO","issued_at":"1435170852632","token_type":"Bearer","instance_url":"https://<host>","signature":"fD1AjUm+00zLlLOZVVOAkg4kQi/SsUlZdfu259X8LwQ=","access_token":"00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl"}'
|
41
|
+
http_version:
|
42
|
+
recorded_at: Wed, 24 Jun 2015 18:34:20 GMT
|
43
|
+
- request:
|
44
|
+
method: post
|
45
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c
|
46
|
+
body:
|
47
|
+
encoding: UTF-8
|
48
|
+
string: '{"SynchronizationId__c":"CustomObject::1"}'
|
49
|
+
headers:
|
50
|
+
User-Agent:
|
51
|
+
- Faraday v0.9.1
|
52
|
+
Content-Type:
|
53
|
+
- application/json
|
54
|
+
Authorization:
|
55
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
56
|
+
Accept-Encoding:
|
57
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
58
|
+
Accept:
|
59
|
+
- "*/*"
|
60
|
+
response:
|
61
|
+
status:
|
62
|
+
code: 201
|
63
|
+
message: Created
|
64
|
+
headers:
|
65
|
+
Date:
|
66
|
+
- Wed, 24 Jun 2015 18:34:12 GMT
|
67
|
+
Set-Cookie:
|
68
|
+
- BrowserId=GhMOi4D7Qsi6lN4AzgnaXQ;Path=/;Domain=.salesforce.com;Expires=Sun,
|
69
|
+
23-Aug-2015 18:34:12 GMT
|
70
|
+
Expires:
|
71
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
72
|
+
Sforce-Limit-Info:
|
73
|
+
- api-usage=33/15000
|
74
|
+
Location:
|
75
|
+
- "/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zeDSAAY"
|
76
|
+
Content-Type:
|
77
|
+
- application/json;charset=UTF-8
|
78
|
+
Transfer-Encoding:
|
79
|
+
- chunked
|
80
|
+
body:
|
81
|
+
encoding: ASCII-8BIT
|
82
|
+
string: '{"id":"a001a000002zeDSAAY","success":true,"errors":[]}'
|
83
|
+
http_version:
|
84
|
+
recorded_at: Wed, 24 Jun 2015 18:34:20 GMT
|
85
|
+
- request:
|
86
|
+
method: get
|
87
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/describe
|
88
|
+
body:
|
89
|
+
encoding: US-ASCII
|
90
|
+
string: ''
|
91
|
+
headers:
|
92
|
+
User-Agent:
|
93
|
+
- Faraday v0.9.1
|
94
|
+
Authorization:
|
95
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
96
|
+
Accept-Encoding:
|
97
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
98
|
+
Accept:
|
99
|
+
- "*/*"
|
100
|
+
response:
|
101
|
+
status:
|
102
|
+
code: 200
|
103
|
+
message: OK
|
104
|
+
headers:
|
105
|
+
Date:
|
106
|
+
- Wed, 24 Jun 2015 18:34:13 GMT
|
107
|
+
Set-Cookie:
|
108
|
+
- BrowserId=fSw5D1LBT8Kh8iaqKsmr7g;Path=/;Domain=.salesforce.com;Expires=Sun,
|
109
|
+
23-Aug-2015 18:34:13 GMT
|
110
|
+
Expires:
|
111
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
112
|
+
Sforce-Limit-Info:
|
113
|
+
- api-usage=33/15000
|
114
|
+
Org.eclipse.jetty.server.include.etag:
|
115
|
+
- aa7ee96f
|
116
|
+
Last-Modified:
|
117
|
+
- Wed, 24 Jun 2015 02:10:32 GMT
|
118
|
+
Content-Type:
|
119
|
+
- application/json;charset=UTF-8
|
120
|
+
Etag:
|
121
|
+
- aa7ee96-gzip"
|
122
|
+
Transfer-Encoding:
|
123
|
+
- chunked
|
124
|
+
body:
|
125
|
+
encoding: ASCII-8BIT
|
126
|
+
string: '{"activateable":false,"childRelationships":[{"cascadeDelete":true,"childSObject":"AttachedContentDocument","deprecatedAndHidden":false,"field":"LinkedEntityId","relationshipName":"AttachedContentDocuments","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"Attachment","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"Attachments","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"CollaborationGroupRecord","deprecatedAndHidden":false,"field":"RecordId","relationshipName":"RecordAssociatedGroups","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"CombinedAttachment","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"CombinedAttachments","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"ContentDocumentLink","deprecatedAndHidden":false,"field":"LinkedEntityId","relationshipName":null,"restrictedDelete":false},{"cascadeDelete":false,"childSObject":"ContentVersion","deprecatedAndHidden":false,"field":"FirstPublishLocationId","relationshipName":null,"restrictedDelete":false},{"cascadeDelete":true,"childSObject":"CustomObjectDetail__c","deprecatedAndHidden":false,"field":"CustomObject__c","relationshipName":"CustomObjectDetails__r","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"EntitySubscription","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"FeedSubscriptionsForEntity","restrictedDelete":false},{"cascadeDelete":false,"childSObject":"FeedComment","deprecatedAndHidden":false,"field":"ParentId","relationshipName":null,"restrictedDelete":false},{"cascadeDelete":true,"childSObject":"FeedItem","deprecatedAndHidden":false,"field":"ParentId","relationshipName":null,"restrictedDelete":false},{"cascadeDelete":true,"childSObject":"Note","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"Notes","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"NoteAndAttachment","deprecatedAndHidden":false,"field":"ParentId","relationshipName":"NotesAndAttachments","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"ProcessInstance","deprecatedAndHidden":false,"field":"TargetObjectId","relationshipName":"ProcessInstances","restrictedDelete":false},{"cascadeDelete":false,"childSObject":"ProcessInstanceHistory","deprecatedAndHidden":false,"field":"TargetObjectId","relationshipName":"ProcessSteps","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"TopicAssignment","deprecatedAndHidden":false,"field":"EntityId","relationshipName":"TopicAssignments","restrictedDelete":false}],"compactLayoutable":true,"createable":true,"custom":true,"customSetting":false,"deletable":true,"deprecatedAndHidden":false,"feedEnabled":false,"fields":[{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":true,"inlineHelpText":null,"label":"Record
|
127
|
+
ID","length":18,"name":"Id","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"id","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Owner
|
128
|
+
ID","length":18,"name":"OwnerId","nameField":false,"namePointing":true,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":["Group","User"],"relationshipName":"Owner","relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"reference","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Deleted","length":0,"name":"IsDeleted","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:boolean","sortable":true,"type":"boolean","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":240,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":true,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":true,"inlineHelpText":null,"label":"CustomObject
|
129
|
+
Name","length":80,"name":"Name","nameField":true,"namePointing":false,"nillable":true,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:string","sortable":true,"type":"string","unique":false,"updateable":true,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":false,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Created
|
130
|
+
Date","length":0,"name":"CreatedDate","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":[],"relationshipName":null,"relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"xsd:dateTime","sortable":true,"type":"datetime","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":18,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":true,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Created
|
131
|
+
By ID","length":18,"name":"CreatedById","nameField":false,"namePointing":false,"nillable":false,"permissionable":false,"picklistValues":[],"precision":0,"referenceTo":["User"],"relationshipName":"CreatedBy","relationshipOrder":null,"restrictedDelete":false,"restrictedPicklist":false,"scale":0,"soapType":"tns:ID","sortable":true,"type":"reference","unique":false,"updateable":false,"writeRequiresMasterRead":false},{"autoNumber":false,"byteLength":0,"calculated":false,"calculatedFormula":null,"cascadeDelete":false,"caseSensitive":false,"controllerName":null,"createable":false,"custom":false,"defaultValue":null,"defaultValueFormula":null,"defaultedOnCreate":true,"dependentPicklist":false,"deprecatedAndHidden":false,"digits":0,"displayLocationInDecimal":false,"externalId":false,"filterable":true,"groupable":false,"htmlFormatted":false,"idLookup":false,"inlineHelpText":null,"label":"Last
|
132
|
+
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
|
133
|
+
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
|
134
|
+
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
|
135
|
+
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"}}'
|
136
|
+
http_version:
|
137
|
+
recorded_at: Wed, 24 Jun 2015 18:34:21 GMT
|
138
|
+
- request:
|
139
|
+
method: patch
|
140
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/SynchronizationId__c/CustomObject::1
|
141
|
+
body:
|
142
|
+
encoding: UTF-8
|
143
|
+
string: '{"Name":"Something","Example_Field__c":"Something else"}'
|
144
|
+
headers:
|
145
|
+
User-Agent:
|
146
|
+
- Faraday v0.9.1
|
147
|
+
Content-Type:
|
148
|
+
- application/json
|
149
|
+
Authorization:
|
150
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
151
|
+
Accept-Encoding:
|
152
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
153
|
+
Accept:
|
154
|
+
- "*/*"
|
155
|
+
response:
|
156
|
+
status:
|
157
|
+
code: 204
|
158
|
+
message: No Content
|
159
|
+
headers:
|
160
|
+
Date:
|
161
|
+
- Wed, 24 Jun 2015 18:34:13 GMT
|
162
|
+
Set-Cookie:
|
163
|
+
- BrowserId=b0UmYqBQSm6Db0EZ0vdVyw;Path=/;Domain=.salesforce.com;Expires=Sun,
|
164
|
+
23-Aug-2015 18:34:13 GMT
|
165
|
+
Expires:
|
166
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
167
|
+
Sforce-Limit-Info:
|
168
|
+
- api-usage=34/15000
|
169
|
+
body:
|
170
|
+
encoding: UTF-8
|
171
|
+
string: ''
|
172
|
+
http_version:
|
173
|
+
recorded_at: Wed, 24 Jun 2015 18:34:21 GMT
|
174
|
+
- request:
|
175
|
+
method: get
|
176
|
+
uri: https://<host>/services/data/<api_version>/query?q=select%20Id,%20SystemModstamp,%20LastModifiedById,%20Name,%20Example_Field__c%20from%20CustomObject__c%20where%20SynchronizationId__c%20=%20%27CustomObject::1%27
|
177
|
+
body:
|
178
|
+
encoding: US-ASCII
|
179
|
+
string: ''
|
180
|
+
headers:
|
181
|
+
User-Agent:
|
182
|
+
- Faraday v0.9.1
|
183
|
+
Authorization:
|
184
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
185
|
+
Accept-Encoding:
|
186
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
187
|
+
Accept:
|
188
|
+
- "*/*"
|
189
|
+
response:
|
190
|
+
status:
|
191
|
+
code: 200
|
192
|
+
message: OK
|
193
|
+
headers:
|
194
|
+
Date:
|
195
|
+
- Wed, 24 Jun 2015 18:34:13 GMT
|
196
|
+
Set-Cookie:
|
197
|
+
- BrowserId=zTcZ86GoSjiAQX7aA-MkAw;Path=/;Domain=.salesforce.com;Expires=Sun,
|
198
|
+
23-Aug-2015 18:34:13 GMT
|
199
|
+
Expires:
|
200
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
201
|
+
Sforce-Limit-Info:
|
202
|
+
- api-usage=33/15000
|
203
|
+
Content-Type:
|
204
|
+
- application/json;charset=UTF-8
|
205
|
+
Transfer-Encoding:
|
206
|
+
- chunked
|
207
|
+
body:
|
208
|
+
encoding: ASCII-8BIT
|
209
|
+
string: '{"totalSize":1,"done":true,"records":[{"attributes":{"type":"CustomObject__c","url":"/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zeDSAAY"},"Id":"a001a000002zeDSAAY","SystemModstamp":"2015-06-24T18:34:13.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"Something","Example_Field__c":"Something
|
210
|
+
else"}]}'
|
211
|
+
http_version:
|
212
|
+
recorded_at: Wed, 24 Jun 2015 18:34:21 GMT
|
213
|
+
- request:
|
214
|
+
method: delete
|
215
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zeDSAAY
|
216
|
+
body:
|
217
|
+
encoding: US-ASCII
|
218
|
+
string: ''
|
219
|
+
headers:
|
220
|
+
User-Agent:
|
221
|
+
- Faraday v0.9.1
|
222
|
+
Authorization:
|
223
|
+
- OAuth 00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl
|
224
|
+
Accept-Encoding:
|
225
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
226
|
+
Accept:
|
227
|
+
- "*/*"
|
228
|
+
response:
|
229
|
+
status:
|
230
|
+
code: 204
|
231
|
+
message: No Content
|
232
|
+
headers:
|
233
|
+
Date:
|
234
|
+
- Wed, 24 Jun 2015 18:34:13 GMT
|
235
|
+
Set-Cookie:
|
236
|
+
- BrowserId=xaujmY4OTXKSpDYWgy0oog;Path=/;Domain=.salesforce.com;Expires=Sun,
|
237
|
+
23-Aug-2015 18:34:13 GMT
|
238
|
+
Expires:
|
239
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
240
|
+
Sforce-Limit-Info:
|
241
|
+
- api-usage=33/15000
|
242
|
+
body:
|
243
|
+
encoding: UTF-8
|
244
|
+
string: ''
|
245
|
+
http_version:
|
246
|
+
recorded_at: Wed, 24 Jun 2015 18:34:21 GMT
|
247
|
+
recorded_with: VCR 2.9.3
|
@@ -21,10 +21,10 @@ http_interactions:
|
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Wed, 24 Jun 2015 18:35:44 GMT
|
25
25
|
Set-Cookie:
|
26
|
-
- BrowserId=
|
27
|
-
|
26
|
+
- BrowserId=0HtfDnE6TKuFAcE7g5mMkw;Path=/;Domain=.salesforce.com;Expires=Sun,
|
27
|
+
23-Aug-2015 18:35:44 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":"1435170945033","token_type":"Bearer","instance_url":"https://<host>","signature":"ph9ikOtL8qckvkW9lMeO6WOB6lx47MpV5jACPsZjCY4=","access_token":"00D1a000000H3O9!AQ4AQNK96zuBaEk9NKWUAyWWpuQMJkhWoqad9KZ4VwaiC5uJ8k6jTm.ILyUyydEv.pXY3IFrmILmW.cLInyzW6.ZDXbrtThl"}'
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Wed, 24 Jun 2015 18:35:52 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:52Z
|
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:45 GMT
|
65
65
|
Set-Cookie:
|
66
|
-
- BrowserId=
|
67
|
-
|
66
|
+
- BrowserId=DcOJjcB1SVWNLOXR3aeOAw;Path=/;Domain=.salesforce.com;Expires=Sun,
|
67
|
+
23-Aug-2015 18:35:45 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:53 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:45 GMT
|
103
103
|
Set-Cookie:
|
104
|
-
- BrowserId=
|
105
|
-
|
104
|
+
- BrowserId=ESccvx0cQ4CyFt_Zehqg3w;Path=/;Domain=.salesforce.com;Expires=Sun,
|
105
|
+
23-Aug-2015 18:35:45 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:53 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:45 GMT
|
158
158
|
Set-Cookie:
|
159
|
-
- BrowserId=
|
160
|
-
|
159
|
+
- BrowserId=SXJJ0akjQb2sSSD3rN7wtA;Path=/;Domain=.salesforce.com;Expires=Sun,
|
160
|
+
23-Aug-2015 18:35:45 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/a001a000002zeDmAAI"
|
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":"a001a000002zeDmAAI","success":true,"errors":[]}'
|
174
174
|
http_version:
|
175
|
-
recorded_at:
|
175
|
+
recorded_at: Wed, 24 Jun 2015 18:35:53 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%27a001a000002zeDmAAI%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:46 GMT
|
198
198
|
Set-Cookie:
|
199
|
-
- BrowserId=
|
200
|
-
|
199
|
+
- BrowserId=l5W3EavaRrWQk_5e_x9-Jw;Path=/;Domain=.salesforce.com;Expires=Sun,
|
200
|
+
23-Aug-2015 18:35:46 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=41/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/a001a000002zeDmAAI"},"Id":"a001a000002zeDmAAI","SystemModstamp":"2015-06-24T18:35:45.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"a001a000002zeDm","Example_Field__c":null}]}'
|
212
212
|
http_version:
|
213
|
-
recorded_at:
|
213
|
+
recorded_at: Wed, 24 Jun 2015 18:35:53 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%27a001a000002zeDmAAI%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:46 GMT
|
236
236
|
Set-Cookie:
|
237
|
-
- BrowserId=
|
238
|
-
|
237
|
+
- BrowserId=DiQBjEIpTgmpEjKK3w2XkQ;Path=/;Domain=.salesforce.com;Expires=Sun,
|
238
|
+
23-Aug-2015 18:35:46 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=41/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/a001a000002zeDmAAI"},"Id":"a001a000002zeDmAAI","SystemModstamp":"2015-06-24T18:35:45.000+0000","LastModifiedById":"0051a000000UGT8AAO","Name":"a001a000002zeDm","Example_Field__c":null}]}'
|
250
250
|
http_version:
|
251
|
-
recorded_at:
|
251
|
+
recorded_at: Wed, 24 Jun 2015 18:35:54 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/a001a000002zeDmAAI
|
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:46 GMT
|
276
276
|
Set-Cookie:
|
277
|
-
- BrowserId=
|
278
|
-
|
277
|
+
- BrowserId=rfNA7NPpSF2AV5YxLvCWVg;Path=/;Domain=.salesforce.com;Expires=Sun,
|
278
|
+
23-Aug-2015 18:35:46 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=41/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:54 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:55Z%20and%20SystemModstamp%20%3E=%202015-06-24T18:35:52Z
|
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:47 GMT
|
310
310
|
Set-Cookie:
|
311
|
-
- BrowserId=
|
312
|
-
|
311
|
+
- BrowserId=BEraxObxTniXYACumKvjOw;Path=/;Domain=.salesforce.com;Expires=Sun,
|
312
|
+
23-Aug-2015 18:35:47 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:55 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%27a001a000002zeDmAAI%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:47 GMT
|
349
348
|
Set-Cookie:
|
350
|
-
- BrowserId=
|
351
|
-
|
349
|
+
- BrowserId=1m0CtpOoRNePVl1_bQTZVA;Path=/;Domain=.salesforce.com;Expires=Sun,
|
350
|
+
23-Aug-2015 18:35:47 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=41/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/a001a000002zeDmAAI"},"Id":"a001a000002zeDmAAI","SystemModstamp":"2015-06-24T18:35:46.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:35:55 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:19:54 GMT
|
386
|
+
- Wed, 24 Jun 2015 18:35:48 GMT
|
388
387
|
Set-Cookie:
|
389
|
-
- BrowserId=
|
390
|
-
|
388
|
+
- BrowserId=m8fujo6aRcOMKoxia40Oqw;Path=/;Domain=.salesforce.com;Expires=Sun,
|
389
|
+
23-Aug-2015 18:35:48 GMT
|
391
390
|
Expires:
|
392
391
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
392
|
+
Sforce-Limit-Info:
|
393
|
+
- api-usage=42/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:35:55 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:48 GMT
|
425
|
+
- Wed, 24 Jun 2015 18:35:48 GMT
|
425
426
|
Set-Cookie:
|
426
|
-
- BrowserId=
|
427
|
-
|
427
|
+
- BrowserId=YPizg6poSwihowVznT16Gw;Path=/;Domain=.salesforce.com;Expires=Sun,
|
428
|
+
23-Aug-2015 18:35:48 GMT
|
428
429
|
Expires:
|
429
430
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
430
|
-
Sforce-Limit-Info:
|
431
|
-
- api-usage=166/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:35:56 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/a001a000002zeDmAAI
|
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:48 GMT
|
466
465
|
Set-Cookie:
|
467
|
-
- BrowserId=
|
468
|
-
|
466
|
+
- BrowserId=DYebWbWoRvu0d07Mduwf5w;Path=/;Domain=.salesforce.com;Expires=Sun,
|
467
|
+
23-Aug-2015 18:35:48 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=40/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:35:56 GMT
|
478
477
|
- request:
|
479
478
|
method: delete
|
480
|
-
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/
|
479
|
+
uri: https://<host>/services/data/<api_version>/sobjects/CustomObject__c/a001a000002zeDmAAI
|
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,17 +495,17 @@ http_interactions:
|
|
496
495
|
message: No Content
|
497
496
|
headers:
|
498
497
|
Date:
|
499
|
-
-
|
498
|
+
- Wed, 24 Jun 2015 18:35:48 GMT
|
500
499
|
Set-Cookie:
|
501
|
-
- BrowserId=
|
502
|
-
|
500
|
+
- BrowserId=nBP8eVhmSsyyoz69gX03BA;Path=/;Domain=.salesforce.com;Expires=Sun,
|
501
|
+
23-Aug-2015 18:35:48 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=40/15000
|
507
506
|
body:
|
508
507
|
encoding: UTF-8
|
509
508
|
string: ''
|
510
509
|
http_version:
|
511
|
-
recorded_at:
|
510
|
+
recorded_at: Wed, 24 Jun 2015 18:35:56 GMT
|
512
511
|
recorded_with: VCR 2.9.3
|