Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

(2 Ratings)
facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

HOW TO: Upload DQ scores to Axon using Rest API
Solution

In Axon Data Governance, to upload the Data Quality (DQ) scores, ensure that you have installed a Rest API client like the Postman or Advanced rest client.
In this instance, uploading DQ scores using the Postman rest client has been explained. After the installation, do as follows:

1. Choose the request as a POST, and ensure that the Authorization is set to No Auth and URL is as follows:

​http://host/api/login_check

Refer to the following screenshot:
522007_Fig0.JPG 

2. Remove all the content in the header field.
3. Add to the Body as shown in the following screenshot which has a username and password, and then click on send request. You will see the token in the response body. Copy the same.
 
522007_Fig1.JPG

4. Now, make another POST request to update the DQ score.
5. Provide the URL as http://host/api/v1/dqscorereport
6. Go to the header tab, and add the headers as follows:

522007_Fig3.JPG
And for authorization, provide the token which you got in step 3 prefixed with Bearer.
7. Provide the following entry in the body of the post request:

{"data" : [{
"executionTime":"2017-09-13",
 "score":73,
 "exceptionCount":4675,
 "identity":"exp_EMPLOYEE",
 "dqReportProvider":"IDQ",
 "rowCount":"14078"
}
]}  
 
NOTE

Identity is the Ref as created in Axon. Ensure that you provide the Ref and not Name.

522007_Fig4.JPG
8. Once the send request is given, you can see the following response as 204:

522007_Fig5.JPG
9. Once updates, check in Axon. The value is updated for the last row with the row count. Refer to the following screenshot:

522007_Fig6.JPG
More Information
​​​
Reference
​​
Applies To
Product:
Problem Type:
User Type:
Project Phase:
Product Version:
Database:
Operating System:
Other Software:
Attachments
Last Modified Date:12/14/2018 2:33 AMID:522007
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)