class DeduplicationController {

    @GetMapping( value = "/{id}" )
    public PotentialDuplicate getPotentialDuplicate(
        @PathVariable String id
    )
        throws WebMessageException
    {
        PotentialDuplicate potentialDuplicate = deduplicationService.getPotentialDuplicateByUid( id );

        if ( potentialDuplicate == null )
        {
            throw new WebMessageException( notFound( "No potentialDuplicate records found with id '" + id + "'." ) );
        }

        return potentialDuplicate;
    }

    public  DeduplicationController( DeduplicationService deduplicationService,
        TrackedEntityInstanceService trackedEntityInstanceService,
        TrackerAccessManager trackerAccessManager, CurrentUserService currentUserService,
        FieldFilterService fieldFilterService,
        ContextService contextService );

}