SQL Server / Salesforce Platform APIs / Get Most Recently Used List View Records and Metadata
Back to Collection Items
-- Important: See this note about string length limitations for strings returned by sp_OAMethod calls.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
DECLARE @hr int
-- Important: Do not use nvarchar(max). See the warning about using nvarchar(max).
DECLARE @sTmp0 nvarchar(4000)
-- This example assumes the Chilkat API to have been previously unlocked.
-- See Global Unlock Sample for sample code.
DECLARE @http int
-- Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.Http', @http OUT
IF @hr <> 0
BEGIN
PRINT 'Failed to create ActiveX component'
RETURN
END
DECLARE @success int
-- Adds the "Authorization: Bearer <access_token>" header.
EXEC sp_OASetProperty @http, 'AuthToken', '<access_token>'
DECLARE @sbResponseBody int
-- Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.StringBuilder', @sbResponseBody OUT
EXEC sp_OAMethod @http, 'QuickGetSb', @success OUT, 'https://domain.com/services/data/v{{version}}/ui-api/mru-list-ui/:SOBJECT_API_NAME', @sbResponseBody
IF @success = 0
BEGIN
EXEC sp_OAGetProperty @http, 'LastErrorText', @sTmp0 OUT
PRINT @sTmp0
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @sbResponseBody
RETURN
END
DECLARE @jResp int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jResp OUT
EXEC sp_OAMethod @jResp, 'LoadSb', @success OUT, @sbResponseBody
EXEC sp_OASetProperty @jResp, 'EmitCompact', 0
PRINT 'Response Body:'
EXEC sp_OAMethod @jResp, 'Emit', @sTmp0 OUT
PRINT @sTmp0
DECLARE @respStatusCode int
EXEC sp_OAGetProperty @http, 'LastStatus', @respStatusCode OUT
PRINT 'Response Status Code = ' + @respStatusCode
IF @respStatusCode >= 400
BEGIN
PRINT 'Response Header:'
EXEC sp_OAGetProperty @http, 'LastHeader', @sTmp0 OUT
PRINT @sTmp0
PRINT 'Failed.'
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @sbResponseBody
EXEC @hr = sp_OADestroy @jResp
RETURN
END
-- Sample JSON response:
-- (Sample code for parsing the JSON response is shown below)
-- {
-- "eTag": "2227b993464298233d1c6d2e65ffe857",
-- "info": {
-- "cloneable": false,
-- "createable": true,
-- "deletable": false,
-- "displayColumns": [
-- {
-- "fieldApiName": "Name",
-- "label": "Account Name",
-- "lookupId": null,
-- "sortable": true
-- },
-- {
-- "fieldApiName": "Site",
-- "label": "Account Site",
-- "lookupId": null,
-- "sortable": true
-- },
-- {
-- "fieldApiName": "Phone",
-- "label": "Phone",
-- "lookupId": null,
-- "sortable": true
-- },
-- {
-- "fieldApiName": "Owner.Alias",
-- "label": "Account Owner Alias",
-- "lookupId": null,
-- "sortable": true
-- }
-- ],
-- "eTag": "4c63719f66dbb57c7cb86c2effc5f08b",
-- "filterLogicString": null,
-- "filteredByInfo": [
-- ],
-- "label": "Recently Viewed",
-- "listReference": {
-- "id": null,
-- "listViewApiName": null,
-- "objectApiName": "Account",
-- "type": "mru"
-- },
-- "objectApiNames": [
-- ],
-- "orderedByInfo": [
-- ],
-- "updateable": false,
-- "userPreferences": {
-- "columnWidths": {
-- "Site": -1,
-- "Owner.Alias": -1,
-- "Phone": -1,
-- "Name": -1
-- },
-- "columnWrap": {
-- "Site": false,
-- "Owner.Alias": false,
-- "Phone": false,
-- "Name": false
-- }
-- },
-- "visibility": "Public",
-- "visibilityEditable": false
-- },
-- "records": {
-- "count": 4,
-- "currentPageToken": "0",
-- "currentPageUrl": "/services/data/v58.0/ui-api/mru-list-records/Account?pageSize=50&pageToken=0",
-- "fields": [
-- ],
-- "listInfoETag": "4c63719f66dbb57c7cb86c2effc5f08b",
-- "listReference": {
-- "id": null,
-- "listViewApiName": null,
-- "objectApiName": "Account",
-- "type": "mru"
-- },
-- "nextPageToken": null,
-- "nextPageUrl": null,
-- "optionalFields": [
-- ],
-- "pageSize": 50,
-- "previousPageToken": null,
-- "previousPageUrl": null,
-- "records": [
-- {
-- "apiName": "Account",
-- "childRelationships": {},
-- "eTag": "f7f6e483706369d93dc673d2afff3d4b",
-- "fields": {
-- "CreatedDate": {
-- "displayValue": "09/05/2016 15:51",
-- "value": "2016-05-09T13:51:39.000Z"
-- },
-- "Id": {
-- "displayValue": null,
-- "value": "00158000006QBOlAAO"
-- },
-- "LastModifiedById": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedDate": {
-- "displayValue": "06/10/2023 11:14",
-- "value": "2023-10-06T09:14:04.000Z"
-- },
-- "Name": {
-- "displayValue": null,
-- "value": "United Oil & Gas Corp."
-- },
-- "Owner": {
-- "displayValue": "Philippe Ozil",
-- "value": {
-- "apiName": "User",
-- "childRelationships": {},
-- "eTag": "a12d0b3adcc7691ad4ffd5dc82bd3276",
-- "fields": {
-- "Alias": {
-- "displayValue": null,
-- "value": "POzil"
-- },
-- "CreatedDate": {
-- "displayValue": "09/05/2016 15:51",
-- "value": "2016-05-09T13:51:39.000Z"
-- },
-- "Id": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedById": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedDate": {
-- "displayValue": "06/10/2023 10:34",
-- "value": "2023-10-06T08:34:22.000Z"
-- },
-- "Name": {
-- "displayValue": null,
-- "value": "Philippe Ozil"
-- },
-- "SystemModstamp": {
-- "displayValue": "06/10/2023 10:34",
-- "value": "2023-10-06T08:34:22.000Z"
-- }
-- },
-- "id": "00558000000yFyDAAU",
-- "lastModifiedById": "00558000000yFyDAAU",
-- "lastModifiedDate": "2023-10-06T08:34:22.000Z",
-- "recordTypeId": null,
-- "recordTypeInfo": null,
-- "systemModstamp": "2023-10-06T08:34:22.000Z",
-- "weakEtag": 1696581262000
-- }
-- },
-- "OwnerId": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "Phone": {
-- "displayValue": null,
-- "value": "(212) 842-5500"
-- },
-- "Site": {
-- "displayValue": null,
-- "value": null
-- },
-- "SystemModstamp": {
-- "displayValue": "06/10/2023 11:14",
-- "value": "2023-10-06T09:14:04.000Z"
-- }
-- },
-- "id": "00158000006QBOlAAO",
-- "lastModifiedById": "00558000000yFyDAAU",
-- "lastModifiedDate": "2023-10-06T09:14:04.000Z",
-- "recordTypeId": "012000000000000AAA",
-- "recordTypeInfo": null,
-- "systemModstamp": "2023-10-06T09:14:04.000Z",
-- "weakEtag": 1696583644000
-- },
-- {
-- "apiName": "Account",
-- "childRelationships": {},
-- "eTag": "08edfcddd69a2afecdf0ebb41cb56796",
-- "fields": {
-- "CreatedDate": {
-- "displayValue": "09/05/2016 15:51",
-- "value": "2016-05-09T13:51:39.000Z"
-- },
-- "Id": {
-- "displayValue": null,
-- "value": "00158000006QBOiAAO"
-- },
-- "LastModifiedById": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedDate": {
-- "displayValue": "11/05/2016 10:48",
-- "value": "2016-05-11T08:48:05.000Z"
-- },
-- "Name": {
-- "displayValue": null,
-- "value": "Pyramid Construction Inc."
-- },
-- "Owner": {
-- "displayValue": "Philippe Ozil",
-- "value": {
-- "apiName": "User",
-- "childRelationships": {},
-- "eTag": "a12d0b3adcc7691ad4ffd5dc82bd3276",
-- "fields": {
-- "Alias": {
-- "displayValue": null,
-- "value": "POzil"
-- },
-- "CreatedDate": {
-- "displayValue": "09/05/2016 15:51",
-- "value": "2016-05-09T13:51:39.000Z"
-- },
-- "Id": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedById": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedDate": {
-- "displayValue": "06/10/2023 10:34",
-- "value": "2023-10-06T08:34:22.000Z"
-- },
-- "Name": {
-- "displayValue": null,
-- "value": "Philippe Ozil"
-- },
-- "SystemModstamp": {
-- "displayValue": "06/10/2023 10:34",
-- "value": "2023-10-06T08:34:22.000Z"
-- }
-- },
-- "id": "00558000000yFyDAAU",
-- "lastModifiedById": "00558000000yFyDAAU",
-- "lastModifiedDate": "2023-10-06T08:34:22.000Z",
-- "recordTypeId": null,
-- "recordTypeInfo": null,
-- "systemModstamp": "2023-10-06T08:34:22.000Z",
-- "weakEtag": 1696581262000
-- }
-- },
-- "OwnerId": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "Phone": {
-- "displayValue": null,
-- "value": "(014) 427-4427"
-- },
-- "Site": {
-- "displayValue": null,
-- "value": null
-- },
-- "SystemModstamp": {
-- "displayValue": "11/05/2016 10:48",
-- "value": "2016-05-11T08:48:05.000Z"
-- }
-- },
-- "id": "00158000006QBOiAAO",
-- "lastModifiedById": "00558000000yFyDAAU",
-- "lastModifiedDate": "2016-05-11T08:48:05.000Z",
-- "recordTypeId": "012000000000000AAA",
-- "recordTypeInfo": null,
-- "systemModstamp": "2016-05-11T08:48:05.000Z",
-- "weakEtag": 1462956485000
-- },
-- {
-- "apiName": "Account",
-- "childRelationships": {},
-- "eTag": "2e6480ff0176177161db7d13b49b6a70",
-- "fields": {
-- "CreatedDate": {
-- "displayValue": "27/02/2020 10:28",
-- "value": "2020-02-27T09:28:06.000Z"
-- },
-- "Id": {
-- "displayValue": null,
-- "value": "0014H00002LbR7QQAV"
-- },
-- "LastModifiedById": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedDate": {
-- "displayValue": "04/10/2023 20:35",
-- "value": "2023-10-04T18:35:13.000Z"
-- },
-- "Name": {
-- "displayValue": null,
-- "value": "ABC Computing"
-- },
-- "Owner": {
-- "displayValue": "Philippe Ozil",
-- "value": {
-- "apiName": "User",
-- "childRelationships": {},
-- "eTag": "a12d0b3adcc7691ad4ffd5dc82bd3276",
-- "fields": {
-- "Alias": {
-- "displayValue": null,
-- "value": "POzil"
-- },
-- "CreatedDate": {
-- "displayValue": "09/05/2016 15:51",
-- "value": "2016-05-09T13:51:39.000Z"
-- },
-- "Id": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedById": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedDate": {
-- "displayValue": "06/10/2023 10:34",
-- "value": "2023-10-06T08:34:22.000Z"
-- },
-- "Name": {
-- "displayValue": null,
-- "value": "Philippe Ozil"
-- },
-- "SystemModstamp": {
-- "displayValue": "06/10/2023 10:34",
-- "value": "2023-10-06T08:34:22.000Z"
-- }
-- },
-- "id": "00558000000yFyDAAU",
-- "lastModifiedById": "00558000000yFyDAAU",
-- "lastModifiedDate": "2023-10-06T08:34:22.000Z",
-- "recordTypeId": null,
-- "recordTypeInfo": null,
-- "systemModstamp": "2023-10-06T08:34:22.000Z",
-- "weakEtag": 1696581262000
-- }
-- },
-- "OwnerId": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "Phone": {
-- "displayValue": null,
-- "value": "123123123"
-- },
-- "Site": {
-- "displayValue": null,
-- "value": null
-- },
-- "SystemModstamp": {
-- "displayValue": "04/10/2023 20:35",
-- "value": "2023-10-04T18:35:13.000Z"
-- }
-- },
-- "id": "0014H00002LbR7QQAV",
-- "lastModifiedById": "00558000000yFyDAAU",
-- "lastModifiedDate": "2023-10-04T18:35:13.000Z",
-- "recordTypeId": "012000000000000AAA",
-- "recordTypeInfo": null,
-- "systemModstamp": "2023-10-04T18:35:13.000Z",
-- "weakEtag": 1696444513000
-- },
-- {
-- "apiName": "Account",
-- "childRelationships": {},
-- "eTag": "5577bcfb6590f3f00dfa044865276944",
-- "fields": {
-- "CreatedDate": {
-- "displayValue": "14/09/2023 00:04",
-- "value": "2023-09-13T22:04:24.000Z"
-- },
-- "Id": {
-- "displayValue": null,
-- "value": "0014H00004GXwPnQAL"
-- },
-- "LastModifiedById": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedDate": {
-- "displayValue": "14/09/2023 00:04",
-- "value": "2023-09-13T22:04:24.000Z"
-- },
-- "Name": {
-- "displayValue": null,
-- "value": "test"
-- },
-- "Owner": {
-- "displayValue": "Philippe Ozil",
-- "value": {
-- "apiName": "User",
-- "childRelationships": {},
-- "eTag": "a12d0b3adcc7691ad4ffd5dc82bd3276",
-- "fields": {
-- "Alias": {
-- "displayValue": null,
-- "value": "POzil"
-- },
-- "CreatedDate": {
-- "displayValue": "09/05/2016 15:51",
-- "value": "2016-05-09T13:51:39.000Z"
-- },
-- "Id": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedById": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "LastModifiedDate": {
-- "displayValue": "06/10/2023 10:34",
-- "value": "2023-10-06T08:34:22.000Z"
-- },
-- "Name": {
-- "displayValue": null,
-- "value": "Philippe Ozil"
-- },
-- "SystemModstamp": {
-- "displayValue": "06/10/2023 10:34",
-- "value": "2023-10-06T08:34:22.000Z"
-- }
-- },
-- "id": "00558000000yFyDAAU",
-- "lastModifiedById": "00558000000yFyDAAU",
-- "lastModifiedDate": "2023-10-06T08:34:22.000Z",
-- "recordTypeId": null,
-- "recordTypeInfo": null,
-- "systemModstamp": "2023-10-06T08:34:22.000Z",
-- "weakEtag": 1696581262000
-- }
-- },
-- "OwnerId": {
-- "displayValue": null,
-- "value": "00558000000yFyDAAU"
-- },
-- "Phone": {
-- "displayValue": null,
-- "value": null
-- },
-- "Site": {
-- "displayValue": null,
-- "value": null
-- },
-- "SystemModstamp": {
-- "displayValue": "14/09/2023 00:04",
-- "value": "2023-09-13T22:04:24.000Z"
-- }
-- },
-- "id": "0014H00004GXwPnQAL",
-- "lastModifiedById": "00558000000yFyDAAU",
-- "lastModifiedDate": "2023-09-13T22:04:24.000Z",
-- "recordTypeId": "012000000000000AAA",
-- "recordTypeInfo": null,
-- "systemModstamp": "2023-09-13T22:04:24.000Z",
-- "weakEtag": 1694642664000
-- }
-- ],
-- "sortBy": null
-- }
-- }
-- Sample code for parsing the JSON response...
-- Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
DECLARE @fieldApiName nvarchar(4000)
DECLARE @label nvarchar(4000)
DECLARE @lookupId nvarchar(4000)
DECLARE @sortable int
DECLARE @apiName nvarchar(4000)
DECLARE @DisplayValue nvarchar(4000)
DECLARE @Value nvarchar(4000)
DECLARE @IdDisplayValue nvarchar(4000)
DECLARE @IdValue nvarchar(4000)
DECLARE @LastModifiedByIdDisplayValue nvarchar(4000)
DECLARE @LastModifiedByIdValue nvarchar(4000)
DECLARE @LastModifiedDateDisplayValue nvarchar(4000)
DECLARE @LastModifiedDateValue nvarchar(4000)
DECLARE @NameDisplayValue nvarchar(4000)
DECLARE @NameValue nvarchar(4000)
DECLARE @OwnerDisplayValue nvarchar(4000)
DECLARE @ApiName nvarchar(4000)
DECLARE @ValueETag nvarchar(4000)
DECLARE @AliasDisplayValue nvarchar(4000)
DECLARE @AliasValue nvarchar(4000)
DECLARE @CreatedDateDisplayValue nvarchar(4000)
DECLARE @CreatedDateValue nvarchar(4000)
DECLARE @SystemModstampDisplayValue nvarchar(4000)
DECLARE @SystemModstampValue nvarchar(4000)
DECLARE @ValueId nvarchar(4000)
DECLARE @LastModifiedById nvarchar(4000)
DECLARE @LastModifiedDate nvarchar(4000)
DECLARE @RecordTypeId nvarchar(4000)
DECLARE @RecordTypeInfo nvarchar(4000)
DECLARE @SystemModstamp nvarchar(4000)
DECLARE @WeakEtag int
DECLARE @OwnerIdDisplayValue nvarchar(4000)
DECLARE @OwnerIdValue nvarchar(4000)
DECLARE @PhoneDisplayValue nvarchar(4000)
DECLARE @PhoneValue nvarchar(4000)
DECLARE @SiteDisplayValue nvarchar(4000)
DECLARE @SiteValue nvarchar(4000)
DECLARE @id nvarchar(4000)
DECLARE @lastModifiedById nvarchar(4000)
DECLARE @lastModifiedDate nvarchar(4000)
DECLARE @recordTypeId nvarchar(4000)
DECLARE @recordTypeInfo nvarchar(4000)
DECLARE @systemModstamp nvarchar(4000)
DECLARE @weakEtag int
DECLARE @eTag nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @eTag OUT, 'eTag'
DECLARE @Cloneable int
EXEC sp_OAMethod @jResp, 'BoolOf', @Cloneable OUT, 'info.cloneable'
DECLARE @Createable int
EXEC sp_OAMethod @jResp, 'BoolOf', @Createable OUT, 'info.createable'
DECLARE @Deletable int
EXEC sp_OAMethod @jResp, 'BoolOf', @Deletable OUT, 'info.deletable'
DECLARE @ETag nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @ETag OUT, 'info.eTag'
DECLARE @FilterLogicString nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @FilterLogicString OUT, 'info.filterLogicString'
DECLARE @Label nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Label OUT, 'info.label'
DECLARE @Id nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Id OUT, 'info.listReference.id'
DECLARE @ListViewApiName nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @ListViewApiName OUT, 'info.listReference.listViewApiName'
DECLARE @ObjectApiName nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @ObjectApiName OUT, 'info.listReference.objectApiName'
DECLARE @v_Type nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @v_Type OUT, 'info.listReference.type'
DECLARE @Updateable int
EXEC sp_OAMethod @jResp, 'BoolOf', @Updateable OUT, 'info.updateable'
DECLARE @Site int
EXEC sp_OAMethod @jResp, 'IntOf', @Site OUT, 'info.userPreferences.columnWidths.Site'
DECLARE @Owner_Alias int
EXEC sp_OAMethod @jResp, 'IntOf', @Owner_Alias OUT, 'info.userPreferences.columnWidths."Owner.Alias"'
DECLARE @Phone int
EXEC sp_OAMethod @jResp, 'IntOf', @Phone OUT, 'info.userPreferences.columnWidths.Phone'
DECLARE @Name int
EXEC sp_OAMethod @jResp, 'IntOf', @Name OUT, 'info.userPreferences.columnWidths.Name'
DECLARE @ColumnWrapSite int
EXEC sp_OAMethod @jResp, 'BoolOf', @ColumnWrapSite OUT, 'info.userPreferences.columnWrap.Site'
DECLARE @ColumnWrapOwner_Alias int
EXEC sp_OAMethod @jResp, 'BoolOf', @ColumnWrapOwner_Alias OUT, 'info.userPreferences.columnWrap."Owner.Alias"'
DECLARE @ColumnWrapPhone int
EXEC sp_OAMethod @jResp, 'BoolOf', @ColumnWrapPhone OUT, 'info.userPreferences.columnWrap.Phone'
DECLARE @ColumnWrapName int
EXEC sp_OAMethod @jResp, 'BoolOf', @ColumnWrapName OUT, 'info.userPreferences.columnWrap.Name'
DECLARE @Visibility nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Visibility OUT, 'info.visibility'
DECLARE @VisibilityEditable int
EXEC sp_OAMethod @jResp, 'BoolOf', @VisibilityEditable OUT, 'info.visibilityEditable'
DECLARE @Count int
EXEC sp_OAMethod @jResp, 'IntOf', @Count OUT, 'records.count'
DECLARE @CurrentPageToken nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @CurrentPageToken OUT, 'records.currentPageToken'
DECLARE @CurrentPageUrl nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @CurrentPageUrl OUT, 'records.currentPageUrl'
DECLARE @ListInfoETag nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @ListInfoETag OUT, 'records.listInfoETag'
DECLARE @ListReferenceId nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @ListReferenceId OUT, 'records.listReference.id'
DECLARE @ListReferenceListViewApiName nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @ListReferenceListViewApiName OUT, 'records.listReference.listViewApiName'
DECLARE @ListReferenceObjectApiName nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @ListReferenceObjectApiName OUT, 'records.listReference.objectApiName'
DECLARE @ListReferenceType nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @ListReferenceType OUT, 'records.listReference.type'
DECLARE @NextPageToken nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @NextPageToken OUT, 'records.nextPageToken'
DECLARE @NextPageUrl nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @NextPageUrl OUT, 'records.nextPageUrl'
DECLARE @PageSize int
EXEC sp_OAMethod @jResp, 'IntOf', @PageSize OUT, 'records.pageSize'
DECLARE @PreviousPageToken nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @PreviousPageToken OUT, 'records.previousPageToken'
DECLARE @PreviousPageUrl nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @PreviousPageUrl OUT, 'records.previousPageUrl'
DECLARE @SortBy nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @SortBy OUT, 'records.sortBy'
DECLARE @i int
SELECT @i = 0
DECLARE @count_i int
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'info.displayColumns'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
EXEC sp_OAMethod @jResp, 'StringOf', @fieldApiName OUT, 'info.displayColumns[i].fieldApiName'
EXEC sp_OAMethod @jResp, 'StringOf', @label OUT, 'info.displayColumns[i].label'
EXEC sp_OAMethod @jResp, 'StringOf', @lookupId OUT, 'info.displayColumns[i].lookupId'
EXEC sp_OAMethod @jResp, 'BoolOf', @sortable OUT, 'info.displayColumns[i].sortable'
SELECT @i = @i + 1
END
SELECT @i = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'info.filteredByInfo'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
SELECT @i = @i + 1
END
SELECT @i = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'info.objectApiNames'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
SELECT @i = @i + 1
END
SELECT @i = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'info.orderedByInfo'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
SELECT @i = @i + 1
END
SELECT @i = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'records.fields'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
SELECT @i = @i + 1
END
SELECT @i = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'records.optionalFields'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
SELECT @i = @i + 1
END
SELECT @i = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'records.records'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
EXEC sp_OAMethod @jResp, 'StringOf', @apiName OUT, 'records.records[i].apiName'
EXEC sp_OAMethod @jResp, 'StringOf', @eTag OUT, 'records.records[i].eTag'
EXEC sp_OAMethod @jResp, 'StringOf', @DisplayValue OUT, 'records.records[i].fields.CreatedDate.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @Value OUT, 'records.records[i].fields.CreatedDate.value'
EXEC sp_OAMethod @jResp, 'StringOf', @IdDisplayValue OUT, 'records.records[i].fields.Id.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @IdValue OUT, 'records.records[i].fields.Id.value'
EXEC sp_OAMethod @jResp, 'StringOf', @LastModifiedByIdDisplayValue OUT, 'records.records[i].fields.LastModifiedById.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @LastModifiedByIdValue OUT, 'records.records[i].fields.LastModifiedById.value'
EXEC sp_OAMethod @jResp, 'StringOf', @LastModifiedDateDisplayValue OUT, 'records.records[i].fields.LastModifiedDate.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @LastModifiedDateValue OUT, 'records.records[i].fields.LastModifiedDate.value'
EXEC sp_OAMethod @jResp, 'StringOf', @NameDisplayValue OUT, 'records.records[i].fields.Name.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @NameValue OUT, 'records.records[i].fields.Name.value'
EXEC sp_OAMethod @jResp, 'StringOf', @OwnerDisplayValue OUT, 'records.records[i].fields.Owner.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @ApiName OUT, 'records.records[i].fields.Owner.value.apiName'
EXEC sp_OAMethod @jResp, 'StringOf', @ValueETag OUT, 'records.records[i].fields.Owner.value.eTag'
EXEC sp_OAMethod @jResp, 'StringOf', @AliasDisplayValue OUT, 'records.records[i].fields.Owner.value.fields.Alias.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @AliasValue OUT, 'records.records[i].fields.Owner.value.fields.Alias.value'
EXEC sp_OAMethod @jResp, 'StringOf', @CreatedDateDisplayValue OUT, 'records.records[i].fields.Owner.value.fields.CreatedDate.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @CreatedDateValue OUT, 'records.records[i].fields.Owner.value.fields.CreatedDate.value'
EXEC sp_OAMethod @jResp, 'StringOf', @IdDisplayValue OUT, 'records.records[i].fields.Owner.value.fields.Id.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @IdValue OUT, 'records.records[i].fields.Owner.value.fields.Id.value'
EXEC sp_OAMethod @jResp, 'StringOf', @LastModifiedByIdDisplayValue OUT, 'records.records[i].fields.Owner.value.fields.LastModifiedById.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @LastModifiedByIdValue OUT, 'records.records[i].fields.Owner.value.fields.LastModifiedById.value'
EXEC sp_OAMethod @jResp, 'StringOf', @LastModifiedDateDisplayValue OUT, 'records.records[i].fields.Owner.value.fields.LastModifiedDate.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @LastModifiedDateValue OUT, 'records.records[i].fields.Owner.value.fields.LastModifiedDate.value'
EXEC sp_OAMethod @jResp, 'StringOf', @NameDisplayValue OUT, 'records.records[i].fields.Owner.value.fields.Name.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @NameValue OUT, 'records.records[i].fields.Owner.value.fields.Name.value'
EXEC sp_OAMethod @jResp, 'StringOf', @SystemModstampDisplayValue OUT, 'records.records[i].fields.Owner.value.fields.SystemModstamp.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @SystemModstampValue OUT, 'records.records[i].fields.Owner.value.fields.SystemModstamp.value'
EXEC sp_OAMethod @jResp, 'StringOf', @ValueId OUT, 'records.records[i].fields.Owner.value.id'
EXEC sp_OAMethod @jResp, 'StringOf', @LastModifiedById OUT, 'records.records[i].fields.Owner.value.lastModifiedById'
EXEC sp_OAMethod @jResp, 'StringOf', @LastModifiedDate OUT, 'records.records[i].fields.Owner.value.lastModifiedDate'
EXEC sp_OAMethod @jResp, 'StringOf', @RecordTypeId OUT, 'records.records[i].fields.Owner.value.recordTypeId'
EXEC sp_OAMethod @jResp, 'StringOf', @RecordTypeInfo OUT, 'records.records[i].fields.Owner.value.recordTypeInfo'
EXEC sp_OAMethod @jResp, 'StringOf', @SystemModstamp OUT, 'records.records[i].fields.Owner.value.systemModstamp'
EXEC sp_OAMethod @jResp, 'IntOf', @WeakEtag OUT, 'records.records[i].fields.Owner.value.weakEtag'
EXEC sp_OAMethod @jResp, 'StringOf', @OwnerIdDisplayValue OUT, 'records.records[i].fields.OwnerId.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @OwnerIdValue OUT, 'records.records[i].fields.OwnerId.value'
EXEC sp_OAMethod @jResp, 'StringOf', @PhoneDisplayValue OUT, 'records.records[i].fields.Phone.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @PhoneValue OUT, 'records.records[i].fields.Phone.value'
EXEC sp_OAMethod @jResp, 'StringOf', @SiteDisplayValue OUT, 'records.records[i].fields.Site.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @SiteValue OUT, 'records.records[i].fields.Site.value'
EXEC sp_OAMethod @jResp, 'StringOf', @SystemModstampDisplayValue OUT, 'records.records[i].fields.SystemModstamp.displayValue'
EXEC sp_OAMethod @jResp, 'StringOf', @SystemModstampValue OUT, 'records.records[i].fields.SystemModstamp.value'
EXEC sp_OAMethod @jResp, 'StringOf', @id OUT, 'records.records[i].id'
EXEC sp_OAMethod @jResp, 'StringOf', @lastModifiedById OUT, 'records.records[i].lastModifiedById'
EXEC sp_OAMethod @jResp, 'StringOf', @lastModifiedDate OUT, 'records.records[i].lastModifiedDate'
EXEC sp_OAMethod @jResp, 'StringOf', @recordTypeId OUT, 'records.records[i].recordTypeId'
EXEC sp_OAMethod @jResp, 'StringOf', @recordTypeInfo OUT, 'records.records[i].recordTypeInfo'
EXEC sp_OAMethod @jResp, 'StringOf', @systemModstamp OUT, 'records.records[i].systemModstamp'
EXEC sp_OAMethod @jResp, 'IntOf', @weakEtag OUT, 'records.records[i].weakEtag'
SELECT @i = @i + 1
END
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @sbResponseBody
EXEC @hr = sp_OADestroy @jResp
END
GO
Curl Command
curl -X GET
-H "Authorization: Bearer <access_token>"
https://domain.com/services/data/v{{version}}/ui-api/mru-list-ui/:SOBJECT_API_NAME
Postman Collection Item JSON
{
"name": "Get Most Recently Used List View Records and Metadata",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [
],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{_endpoint}}/services/data/v{{version}}/ui-api/mru-list-ui/:SOBJECT_API_NAME",
"host": [
"{{_endpoint}}"
],
"path": [
"services",
"data",
"v{{version}}",
"ui-api",
"mru-list-ui",
":SOBJECT_API_NAME"
],
"variable": [
{
"key": "SOBJECT_API_NAME",
"value": "",
"description": "Object API name"
}
]
},
"description": "Returns record data and metadata for an object’s most recently used (MRU) list view."
},
"response": [
{
"name": "Get Most Recently Used List View Records and Metadata",
"originalRequest": {
"method": "GET",
"header": [
],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{_endpoint}}/services/data/v{{version}}/ui-api/mru-list-ui/:SOBJECT_API_NAME",
"host": [
"{{_endpoint}}"
],
"path": [
"services",
"data",
"v{{version}}",
"ui-api",
"mru-list-ui",
":SOBJECT_API_NAME"
],
"variable": [
{
"key": "SOBJECT_API_NAME",
"value": "Account",
"description": "Object API name"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Fri, 06 Oct 2023 10:00:19 GMT"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Cache-Control",
"value": "no-cache,must-revalidate,max-age=0,no-store,private"
},
{
"key": "ETag",
"value": "\"2227b993464298233d1c6d2e65ffe857--gzip\""
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8"
},
{
"key": "Vary",
"value": "Accept-Encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
}
],
"cookie": [
],
"body": "{\n \"eTag\": \"2227b993464298233d1c6d2e65ffe857\",\n \"info\": {\n \"cloneable\": false,\n \"createable\": true,\n \"deletable\": false,\n \"displayColumns\": [\n {\n \"fieldApiName\": \"Name\",\n \"label\": \"Account Name\",\n \"lookupId\": null,\n \"sortable\": true\n },\n {\n \"fieldApiName\": \"Site\",\n \"label\": \"Account Site\",\n \"lookupId\": null,\n \"sortable\": true\n },\n {\n \"fieldApiName\": \"Phone\",\n \"label\": \"Phone\",\n \"lookupId\": null,\n \"sortable\": true\n },\n {\n \"fieldApiName\": \"Owner.Alias\",\n \"label\": \"Account Owner Alias\",\n \"lookupId\": null,\n \"sortable\": true\n }\n ],\n \"eTag\": \"4c63719f66dbb57c7cb86c2effc5f08b\",\n \"filterLogicString\": null,\n \"filteredByInfo\": [],\n \"label\": \"Recently Viewed\",\n \"listReference\": {\n \"id\": null,\n \"listViewApiName\": null,\n \"objectApiName\": \"Account\",\n \"type\": \"mru\"\n },\n \"objectApiNames\": [],\n \"orderedByInfo\": [],\n \"updateable\": false,\n \"userPreferences\": {\n \"columnWidths\": {\n \"Site\": -1,\n \"Owner.Alias\": -1,\n \"Phone\": -1,\n \"Name\": -1\n },\n \"columnWrap\": {\n \"Site\": false,\n \"Owner.Alias\": false,\n \"Phone\": false,\n \"Name\": false\n }\n },\n \"visibility\": \"Public\",\n \"visibilityEditable\": false\n },\n \"records\": {\n \"count\": 4,\n \"currentPageToken\": \"0\",\n \"currentPageUrl\": \"/services/data/v58.0/ui-api/mru-list-records/Account?pageSize=50&pageToken=0\",\n \"fields\": [],\n \"listInfoETag\": \"4c63719f66dbb57c7cb86c2effc5f08b\",\n \"listReference\": {\n \"id\": null,\n \"listViewApiName\": null,\n \"objectApiName\": \"Account\",\n \"type\": \"mru\"\n },\n \"nextPageToken\": null,\n \"nextPageUrl\": null,\n \"optionalFields\": [],\n \"pageSize\": 50,\n \"previousPageToken\": null,\n \"previousPageUrl\": null,\n \"records\": [\n {\n \"apiName\": \"Account\",\n \"childRelationships\": {},\n \"eTag\": \"f7f6e483706369d93dc673d2afff3d4b\",\n \"fields\": {\n \"CreatedDate\": {\n \"displayValue\": \"09/05/2016 15:51\",\n \"value\": \"2016-05-09T13:51:39.000Z\"\n },\n \"Id\": {\n \"displayValue\": null,\n \"value\": \"00158000006QBOlAAO\"\n },\n \"LastModifiedById\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedDate\": {\n \"displayValue\": \"06/10/2023 11:14\",\n \"value\": \"2023-10-06T09:14:04.000Z\"\n },\n \"Name\": {\n \"displayValue\": null,\n \"value\": \"United Oil & Gas Corp.\"\n },\n \"Owner\": {\n \"displayValue\": \"Philippe Ozil\",\n \"value\": {\n \"apiName\": \"User\",\n \"childRelationships\": {},\n \"eTag\": \"a12d0b3adcc7691ad4ffd5dc82bd3276\",\n \"fields\": {\n \"Alias\": {\n \"displayValue\": null,\n \"value\": \"POzil\"\n },\n \"CreatedDate\": {\n \"displayValue\": \"09/05/2016 15:51\",\n \"value\": \"2016-05-09T13:51:39.000Z\"\n },\n \"Id\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedById\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedDate\": {\n \"displayValue\": \"06/10/2023 10:34\",\n \"value\": \"2023-10-06T08:34:22.000Z\"\n },\n \"Name\": {\n \"displayValue\": null,\n \"value\": \"Philippe Ozil\"\n },\n \"SystemModstamp\": {\n \"displayValue\": \"06/10/2023 10:34\",\n \"value\": \"2023-10-06T08:34:22.000Z\"\n }\n },\n \"id\": \"00558000000yFyDAAU\",\n \"lastModifiedById\": \"00558000000yFyDAAU\",\n \"lastModifiedDate\": \"2023-10-06T08:34:22.000Z\",\n \"recordTypeId\": null,\n \"recordTypeInfo\": null,\n \"systemModstamp\": \"2023-10-06T08:34:22.000Z\",\n \"weakEtag\": 1696581262000\n }\n },\n \"OwnerId\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"Phone\": {\n \"displayValue\": null,\n \"value\": \"(212) 842-5500\"\n },\n \"Site\": {\n \"displayValue\": null,\n \"value\": null\n },\n \"SystemModstamp\": {\n \"displayValue\": \"06/10/2023 11:14\",\n \"value\": \"2023-10-06T09:14:04.000Z\"\n }\n },\n \"id\": \"00158000006QBOlAAO\",\n \"lastModifiedById\": \"00558000000yFyDAAU\",\n \"lastModifiedDate\": \"2023-10-06T09:14:04.000Z\",\n \"recordTypeId\": \"012000000000000AAA\",\n \"recordTypeInfo\": null,\n \"systemModstamp\": \"2023-10-06T09:14:04.000Z\",\n \"weakEtag\": 1696583644000\n },\n {\n \"apiName\": \"Account\",\n \"childRelationships\": {},\n \"eTag\": \"08edfcddd69a2afecdf0ebb41cb56796\",\n \"fields\": {\n \"CreatedDate\": {\n \"displayValue\": \"09/05/2016 15:51\",\n \"value\": \"2016-05-09T13:51:39.000Z\"\n },\n \"Id\": {\n \"displayValue\": null,\n \"value\": \"00158000006QBOiAAO\"\n },\n \"LastModifiedById\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedDate\": {\n \"displayValue\": \"11/05/2016 10:48\",\n \"value\": \"2016-05-11T08:48:05.000Z\"\n },\n \"Name\": {\n \"displayValue\": null,\n \"value\": \"Pyramid Construction Inc.\"\n },\n \"Owner\": {\n \"displayValue\": \"Philippe Ozil\",\n \"value\": {\n \"apiName\": \"User\",\n \"childRelationships\": {},\n \"eTag\": \"a12d0b3adcc7691ad4ffd5dc82bd3276\",\n \"fields\": {\n \"Alias\": {\n \"displayValue\": null,\n \"value\": \"POzil\"\n },\n \"CreatedDate\": {\n \"displayValue\": \"09/05/2016 15:51\",\n \"value\": \"2016-05-09T13:51:39.000Z\"\n },\n \"Id\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedById\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedDate\": {\n \"displayValue\": \"06/10/2023 10:34\",\n \"value\": \"2023-10-06T08:34:22.000Z\"\n },\n \"Name\": {\n \"displayValue\": null,\n \"value\": \"Philippe Ozil\"\n },\n \"SystemModstamp\": {\n \"displayValue\": \"06/10/2023 10:34\",\n \"value\": \"2023-10-06T08:34:22.000Z\"\n }\n },\n \"id\": \"00558000000yFyDAAU\",\n \"lastModifiedById\": \"00558000000yFyDAAU\",\n \"lastModifiedDate\": \"2023-10-06T08:34:22.000Z\",\n \"recordTypeId\": null,\n \"recordTypeInfo\": null,\n \"systemModstamp\": \"2023-10-06T08:34:22.000Z\",\n \"weakEtag\": 1696581262000\n }\n },\n \"OwnerId\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"Phone\": {\n \"displayValue\": null,\n \"value\": \"(014) 427-4427\"\n },\n \"Site\": {\n \"displayValue\": null,\n \"value\": null\n },\n \"SystemModstamp\": {\n \"displayValue\": \"11/05/2016 10:48\",\n \"value\": \"2016-05-11T08:48:05.000Z\"\n }\n },\n \"id\": \"00158000006QBOiAAO\",\n \"lastModifiedById\": \"00558000000yFyDAAU\",\n \"lastModifiedDate\": \"2016-05-11T08:48:05.000Z\",\n \"recordTypeId\": \"012000000000000AAA\",\n \"recordTypeInfo\": null,\n \"systemModstamp\": \"2016-05-11T08:48:05.000Z\",\n \"weakEtag\": 1462956485000\n },\n {\n \"apiName\": \"Account\",\n \"childRelationships\": {},\n \"eTag\": \"2e6480ff0176177161db7d13b49b6a70\",\n \"fields\": {\n \"CreatedDate\": {\n \"displayValue\": \"27/02/2020 10:28\",\n \"value\": \"2020-02-27T09:28:06.000Z\"\n },\n \"Id\": {\n \"displayValue\": null,\n \"value\": \"0014H00002LbR7QQAV\"\n },\n \"LastModifiedById\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedDate\": {\n \"displayValue\": \"04/10/2023 20:35\",\n \"value\": \"2023-10-04T18:35:13.000Z\"\n },\n \"Name\": {\n \"displayValue\": null,\n \"value\": \"ABC Computing\"\n },\n \"Owner\": {\n \"displayValue\": \"Philippe Ozil\",\n \"value\": {\n \"apiName\": \"User\",\n \"childRelationships\": {},\n \"eTag\": \"a12d0b3adcc7691ad4ffd5dc82bd3276\",\n \"fields\": {\n \"Alias\": {\n \"displayValue\": null,\n \"value\": \"POzil\"\n },\n \"CreatedDate\": {\n \"displayValue\": \"09/05/2016 15:51\",\n \"value\": \"2016-05-09T13:51:39.000Z\"\n },\n \"Id\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedById\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedDate\": {\n \"displayValue\": \"06/10/2023 10:34\",\n \"value\": \"2023-10-06T08:34:22.000Z\"\n },\n \"Name\": {\n \"displayValue\": null,\n \"value\": \"Philippe Ozil\"\n },\n \"SystemModstamp\": {\n \"displayValue\": \"06/10/2023 10:34\",\n \"value\": \"2023-10-06T08:34:22.000Z\"\n }\n },\n \"id\": \"00558000000yFyDAAU\",\n \"lastModifiedById\": \"00558000000yFyDAAU\",\n \"lastModifiedDate\": \"2023-10-06T08:34:22.000Z\",\n \"recordTypeId\": null,\n \"recordTypeInfo\": null,\n \"systemModstamp\": \"2023-10-06T08:34:22.000Z\",\n \"weakEtag\": 1696581262000\n }\n },\n \"OwnerId\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"Phone\": {\n \"displayValue\": null,\n \"value\": \"123123123\"\n },\n \"Site\": {\n \"displayValue\": null,\n \"value\": null\n },\n \"SystemModstamp\": {\n \"displayValue\": \"04/10/2023 20:35\",\n \"value\": \"2023-10-04T18:35:13.000Z\"\n }\n },\n \"id\": \"0014H00002LbR7QQAV\",\n \"lastModifiedById\": \"00558000000yFyDAAU\",\n \"lastModifiedDate\": \"2023-10-04T18:35:13.000Z\",\n \"recordTypeId\": \"012000000000000AAA\",\n \"recordTypeInfo\": null,\n \"systemModstamp\": \"2023-10-04T18:35:13.000Z\",\n \"weakEtag\": 1696444513000\n },\n {\n \"apiName\": \"Account\",\n \"childRelationships\": {},\n \"eTag\": \"5577bcfb6590f3f00dfa044865276944\",\n \"fields\": {\n \"CreatedDate\": {\n \"displayValue\": \"14/09/2023 00:04\",\n \"value\": \"2023-09-13T22:04:24.000Z\"\n },\n \"Id\": {\n \"displayValue\": null,\n \"value\": \"0014H00004GXwPnQAL\"\n },\n \"LastModifiedById\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedDate\": {\n \"displayValue\": \"14/09/2023 00:04\",\n \"value\": \"2023-09-13T22:04:24.000Z\"\n },\n \"Name\": {\n \"displayValue\": null,\n \"value\": \"test\"\n },\n \"Owner\": {\n \"displayValue\": \"Philippe Ozil\",\n \"value\": {\n \"apiName\": \"User\",\n \"childRelationships\": {},\n \"eTag\": \"a12d0b3adcc7691ad4ffd5dc82bd3276\",\n \"fields\": {\n \"Alias\": {\n \"displayValue\": null,\n \"value\": \"POzil\"\n },\n \"CreatedDate\": {\n \"displayValue\": \"09/05/2016 15:51\",\n \"value\": \"2016-05-09T13:51:39.000Z\"\n },\n \"Id\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedById\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"LastModifiedDate\": {\n \"displayValue\": \"06/10/2023 10:34\",\n \"value\": \"2023-10-06T08:34:22.000Z\"\n },\n \"Name\": {\n \"displayValue\": null,\n \"value\": \"Philippe Ozil\"\n },\n \"SystemModstamp\": {\n \"displayValue\": \"06/10/2023 10:34\",\n \"value\": \"2023-10-06T08:34:22.000Z\"\n }\n },\n \"id\": \"00558000000yFyDAAU\",\n \"lastModifiedById\": \"00558000000yFyDAAU\",\n \"lastModifiedDate\": \"2023-10-06T08:34:22.000Z\",\n \"recordTypeId\": null,\n \"recordTypeInfo\": null,\n \"systemModstamp\": \"2023-10-06T08:34:22.000Z\",\n \"weakEtag\": 1696581262000\n }\n },\n \"OwnerId\": {\n \"displayValue\": null,\n \"value\": \"00558000000yFyDAAU\"\n },\n \"Phone\": {\n \"displayValue\": null,\n \"value\": null\n },\n \"Site\": {\n \"displayValue\": null,\n \"value\": null\n },\n \"SystemModstamp\": {\n \"displayValue\": \"14/09/2023 00:04\",\n \"value\": \"2023-09-13T22:04:24.000Z\"\n }\n },\n \"id\": \"0014H00004GXwPnQAL\",\n \"lastModifiedById\": \"00558000000yFyDAAU\",\n \"lastModifiedDate\": \"2023-09-13T22:04:24.000Z\",\n \"recordTypeId\": \"012000000000000AAA\",\n \"recordTypeInfo\": null,\n \"systemModstamp\": \"2023-09-13T22:04:24.000Z\",\n \"weakEtag\": 1694642664000\n }\n ],\n \"sortBy\": null\n }\n}"
}
]
}