Pular para o conteúdo principal
GET
/
v1
/
config
/
contexts
/
{contextId}
/
rules
/
{ruleId}
Get a match rule
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/config/contexts/{contextId}/rules/{ruleId} \
  --header 'Authorization: Bearer <token>'
{
  "config": {},
  "contextId": "<string>",
  "createdAt": "<string>",
  "id": "<string>",
  "priority": 123,
  "type": "EXACT",
  "updatedAt": "<string>"
}

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication (format: "Bearer {token}")

Cabeçalhos

X-Request-Id
string

A unique identifier for tracing the request across services.

Parâmetros de caminho

contextId
string
obrigatório

The unique identifier of the reconciliation context.

ruleId
string
obrigatório

The unique identifier of the match rule.

Resposta

Successfully retrieved match rule

config
object
contextId
string
createdAt
string
id
string
priority
integer
type
enum<string>

Type of matching rule algorithm

Opções disponíveis:
EXACT,
TOLERANCE,
DATE_LAG
updatedAt
string