---
schema_version: "1"
id: 5b91db746eb1d8e12343b587ca5877201b0cf96fe4cd9d94aec3ce238b8e0e82
title: MatchingRule
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_matchingrule.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_matchingrule.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8a58a0e49fe56ff613a1b60ea4a4620d972b37819d88fd043d24eb653fa4b0d2
description: Setup object specifying a MatchingRule to use with DuplicateJob instances that share a DuplicateJobDefinition. Available in Tooling API version 42.0 and later.
---
# MatchingRule

Setup object specifying a MatchingRule to use with DuplicateJob instances that share a DuplicateJobDefinition. Available in Tooling API version 42.0 and later.

## Supported SOAP Calls

query(), retrieve()

## Supported REST HTTP Methods

GET and POST

## Fields

| Field | Details |
| --- | --- |
| BooleanFilter | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

Boolean logic between conditions for the MatchingRule.



 |
| Description | 

Type

textarea

Properties

Filter, Group, Nillable, Sort

Description

The description of the MatchingRule.



 |
| DeveloperName | 

Type

string

Properties

Filter, Group, Sort

Description

The developer name for the MatchingRule.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/images/icon_note.png)

#### Note

Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.















 |
| Language | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The language in the user’s personal settings.



 |
| ManageableState | 

Type

ManageableState enumerated list

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Indicates the manageable state of the specified component that is contained in a package:

- beta
- deleted
- deprecated
- deprecatedEditable
- installed
- installedEditable
- released
- unmanaged





 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Sort

Description

The label of the MatchingRule.



 |
| MatchEngine | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

This field can contain one value: the match engine used by the matching rule. Valid values are ExactMatchEngine and FuzzyMatchEngine. Default value is ExactMatchEngine.



 |
| NamespacePrefix | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The namespace prefix associated with this object.



 |
| RuleStatus | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Restricted picklist, Sort

Description

The status of the MatchingRule. Valid values are Active or Inactive.



 |
| SobjectSubtype | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort

Description

The object subtype. Valid values are Person Account or None.



 |
| SobjectType | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The object type:Account, Contact, or Lead.



 |