class DeduplicationController {

    @PostMapping
    public PotentialDuplicate postPotentialDuplicate(
        @RequestBody PotentialDuplicate potentialDuplicate
    )
        throws WebMessageException
    {

        validatePotentialDuplicate( potentialDuplicate );

        deduplicationService.addPotentialDuplicate( potentialDuplicate);
        return potentialDuplicate;
    }

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

}