Patch an existing dataset match

Allows you to reject, accept or restore a previous rejected dataset match. Only a match from the most recent scan can be patched.

Request
path Parameters
matchId
required
string <uuid>

Identifier of the dataset match to patch.

Request Body schema: application/json
userActionResolutionNote
string

An optional reason on why this record is accepted or rejected.

userActionResolution
string

User resolution for the match. To revert previous resolution, it should be set to null

Enum: "Accept" "Reject"
Responses
200

Success

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Server Error

patch/datasets/matches/{matchId}
Request samples
application/json
{
  • "userActionResolutionNote": "string",
  • "userActionResolution": "Accept"
}
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "datasetTimestamp": "2019-08-24T14:15:22Z",
  • "recordTimestamp": "2019-08-24T14:15:22Z",
  • "data": {
    },
  • "scanId": "83d71394-faa2-4b6c-b13b-6d3118de459e",
  • "scan": {
    },
  • "userActionNeeded": true,
  • "isIgnored": true,
  • "matchScore": {
    },
  • "userActionResolution": "Accept",
  • "userActionResolutionNote": "string",
  • "matchRelevance": "Low",
  • "createdTimestamp": "2019-08-24T14:15:22Z",
  • "obsoleteTimestamp": "2019-08-24T14:15:22Z"
}