In this article

Overview

Use this Snap to read data matching specified criteria.

Prerequisites

None.

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations

None.

Known Issues

None.

Snap Input and Output

Input/Output Type of View Number of Views Examples of Upstream and Downstream Snaps Description
Input 

Document

  • Min: 0
  • Max: 1
  • Mapper Snap
  • Copy Snap
A document containing filter data.
Output

Document

  • Min: 1 
  • Max: 1
  • Mapper Snap
  • Copy Snap
A document containing the API's success/failure response and details of the data resource.

Snap Settings

Parameter Name Data Type Description Default Value Example 
Label String
Power BI Read Groups Read Projects
Filter String

Specify the filter expressions that yield a boolean condition for the results. You can also use conditional operators to separate multiple filter criteria.

N/A contains(name,'marketing')
Top Integer

Specify the number of top-most groups to read.

N/A 3
Connection details

Use this field set to configure the network connection parameters.

This field set consists of the following fields:

  • Connection timeout
  • Number of retries
  • Retry interval (seconds)

Connection timeout

Integer Required. Specify the connection timeout duration in seconds. 0 30

Number of retries

Integer Required. Specify the maximum number of re-connections if the connection fails or is timed-out. 10 4

Retry interval (seconds)

Integer Required. Specify the interval in seconds between reconnections. 10 30
Snap Execution String

Specifies the execution type:

  • Validate & Execute: Performs limited execution of the Snap (up to 50 records) during Pipeline validation; performs full execution of the Snap (unlimited records) during Pipeline execution.

  • Execute only: Performs full execution of the Snap during Pipeline execution; does not execute the Snap during Pipeline validation.

  • Disabled: Disables the Snap and, by extension, its downstream Snaps.

Validate & Execute Execute only

Troubleshooting

Error Reason Resolution
HTTP Response Exception:400

Invalid OAuth endpoint/token URL.

Verify the values of the OAuth2 endpoint or token URLs in the account settings.

HTTP Response Exception:401 Invalid refresh token or access token. Verify the values of the refresh or access tokens in the account settings.
HTTP Response Exception:409 Conflict Verify the network and Snap settings. 
Property value is missing. You have not configured the required fields. Required fields cannot be blank. Verify whether you have configured all required fields correctly. 

Examples

Retrieving Specific Workspace Details

We want to retrieve details of workspaces matching a certain criteria. This Pipeline demonstrates how we can use the Power BI Read Groups Snap to accomplish this task.

We are interested in workspaces that have the name snapLogic or Adapters. Therefore, we configure the Power BI Read Groups Snap as shown in the image below:

Based on the configuration. the Power BI Read Groups Snap fetches a list of all workspaces with the name Adapters or snapLogic and displays it in the output. 

The remaining portion of the Pipeline is optional. We can choose to write the Power BI Read Groups Snap's output into a local file. To this end, we use a combination of the JSON Formatter and File Writer Snaps.

Download this pipeline.

Downloads

  1. Download and import the Pipeline into SnapLogic.
  2. Configure Snap accounts as applicable.
  3. Provide Pipeline parameters as applicable.


See Also