Lenses List Resource

Returns a list of Analytics lenses or creates a lens.

Resource URL

/wave/lenses

Formats

JSON

Available Version

36.0

Available in Postman

To view and test a working example of this resource, see getLensCollection in Postman. For information about how to authenticate your org with Postman, see the CRM Analytics Rest API Quick Start.

Available Components

HTTP Methods

GET POST

GET Request Parameters

Parameter Name Type Description Required or Optional Available Version
folderId ID Filters the results to include only the contents of a specific folder. The id can be the requesting user’s ID for items in the user’s private folder. Optional 36.0
page String A generated token that indicates the view of the lenses to be returned. Optional 36.0
page​Size Integer The number of items to be returned in a single page. Minimum is 1, maximum is 200, and default is 25. Optional 36.0
q String Search terms. Individual terms are separated by spaces. A wildcard is automatically appended to the last token in the query string. If the user’s search query contains quotation marks or wildcards, those symbols are automatically removed from the query string in the URI along with any other special characters. Optional 36.0
scope Connect​Wave​Scope​Type​Enum The type of scope to be applied to the returned collection. Valid values are:
  • Created​By​Me
  • Mru (Most Recently Used)
  • Shared​With​Me
Optional 38.0
sort Connect​Wave​Sort​Order​Type​Enum The type of sort order to be applied to the returned collection. Valid values are:
  • App
  • Created​By
  • Created​Date
  • Last​Modified
  • Last​Modified​By
  • Mru (Most Recently Used, last viewed date)
  • Name
  • Type
Optional 38.0

GET Response Body

Lens Collection

POST Response Body

Lens