Skip to main content Skip to complementary content
Close announcements banner

Return a list of similar records

Returns a list of data records in the staging area similar to the one provided in the request content as XML, including the similar golden record with status 205 and its source records.
Request
POST /services/rest/tasks/matching/similar/{container}
Parameters
  • container: This is a String value which represents the name of the container.
  • model: This is a String value which represents the name of the MDM data model.
  • type: This is a String value which specifies the name of the entity.
Headers
  • Content-Type: application/xml
    Information noteNote: If the XML declaration is included in the XML request content and the encoding attribute is used, you must set its value to UTF-8.
  • Accept: application/json
  • Authorization: Basic Authentication scheme
Response A JSON response that contains a list of data records in the staging area similar to the input data record.
Status
  • 200 OK: The operation is executed successfully.
  • 401 UNAUTHORIZED: Login fails, invalid username or password.
  • 500 INTERNAL SERVER ERROR: Other errors.

Sample request

<Product>
  <Id>300000001</Id>
  <Name>the old man and the sea</Name>
  <Description>Author - Ernest Miller Hemingway</Description>
  <Availability>false</Availability>
  <Price>21.99</Price>
</Product>

Sample response

{
  "items": [
    {
      "id": "200000005",
      "confidence": 0.9279589414596557,
      "golden": false
    },
    {
      "id": "200000006",
      "confidence": 0.960698914527893,
      "golden": false
    },
    {
      "id": "dc5bfccb-010a-4f3e-8b32-7b00ef0e7cd7",
      "confidence": 0.960698914527893,
      "golden": true
    }
  ]
}

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!