Newer Version Available

This content describes an older version of this product. View Latest

Lightning Toggle Metrics

Returns details about users who switched between Salesforce Classic and Lightning Experience.

Syntax

URI
/services/data/vXX.X/sobjects/LightningToggleMetrics
Available since release
44.0
Formats
JSON, XML
HTTP methods
GET
Authentication
Authorization: Bearer token
Request body
SOQL query.
Request parameters
Parameter Description
UserId The user ID.
RecordCount The count of records returned.
MetricsDate The date the switch was recorded.
Action Did the user switch to Salesforce Classic or Lightning Experience.

Example

This query returns the total number of switches to Salesforce Classic:

Usage

Use this object with the following APIs:

  • Platform
  • Metadata API
  • Tooling API