Access DQ Rule information via REST API

Overview

All information about Data Quality rules is accessible via the DvSum web user interface. But this same information is available via API as well. Accessing the data via API gives users more control over their DQ results. You can display the information in a corporate BI tool or dashboard and you can archive results for review later.

The data available corresponds to the data you see in the page Analyze Rules and is filtered based on any of the views of your rules that you define on this page. 

 

Detailed Steps

Generate an API Key

You need to use a API Key in a header in your web services call.

  1. Navigate to: Administration → Manage Account → Application Security
  2. Click "Generate Key".

By default no API Key is available. A DvSum user with Owner privileges can generate a key.

mceclip1.png

Make an API Call

Key information

  • Base URL: https://apis.dvsum.com/view/rules?view-name=
  • Parameter Name: view-name
  • Parameter Value: Any view of DQ Rules you have defined in DvSum. Example: "Analyze Rules" is a pre-defined view available to everyone.
  • Header Key: x-api-key
  • Header Value: generated in the previous step
  • Example: https://apis.dvsum.com/view/rules?view-name=Analyze%20Rules

Example

View in DvSum

Navigate to Review → Analyze Rules → [select any view]

Here we see the default view "Analyze Rules". But you may define any view to get the rules and fields that you require.

Screenshot 2023-10-05 at 8.53.28 AM.png

View in Postman

Set the URL, Params, and Headers. Here we see the view "Analyze Rules" selected.

Screenshot 2023-10-05 at 9.00.34 AM.png

 

Here we see the header and the successful JSON response to the GET request.

Screenshot 2023-10-05 at 8.55.20 AM.png

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk