API Reference > Upload data quality scores > Request Body
  

Request Body

Use the request body to upload one or more data quality scores of an asset.
In the body of request, specify the asset ID and the data quality scores in the following format:
{
"scores": [
{
"assetId": "e8b757ba-63ca-41a6-b79d-00c66fa176a0",
"dqscore": {
"facts": {
"com.infa.ccgf.models.governance.value": 94,
"com.infa.ccgf.models.governance.totalCount": 20000,
"com.infa.ccgf.models.governance.exception": 764,
"com.infa.ccgf.models.governance.scannedTime": "2022-02-09T10:10:12.441Z"
}
}
}
]
}
The following table describes the parameters that you can specify in the body of the request:
Parameter
Description
assetId
Required. Internal reference identifier of the data quality rule occurrence for which you want to upload the scores.
You can determine the identifier by looking at the URL in the browser window when you open the rule occurrence. The identifier is the value between the asset/ and ? parameters. Consider the following example:
  • - URL: <domain>/asset/22ea8dd9-5128-496b-a51a-f3f0e6ed2b56?type=RuleInstance&name=Rule%20Instance%20July%2009%201214
  • - Identifier: 22ea8dd9-5128-496b-a51a-f3f0e6ed2b56
facts
Required. Attribute of the data quality score.
You must enter the following values:
  • - Enter com.infa.ccgf.models.governance.value to specify the data quality score.
  • - Enter com.infa.ccgf.models.governance.exception to specify an exception score.
  • - Enter com.infa.ccgf.models.governance.scannedTime to specify the timestamp of the last rule run.
  • - Enter com.infa.ccgf.models.governance.totalCount to specify the total number of run counts.