---
title: "TestEvaluateRule"
method: POST
path: "/api/RulesEngine/TestEvaluateRule"
tags: ["RulesEngine"]
---

# TestEvaluateRule

`POST /api/RulesEngine/TestEvaluateRule`

Use this call to test a rule against a set of test values
<b>Permissions Required: </b> GlobalPermissions.OrderBook.RulesEngineNode
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Request body

- RulesEngineTestEvaluateRuleRequest
  - `testValues` TestpadValue[] — Test values
    - `FieldName` string
    - `Key` string
    - `Values` string[]
  - `pkRuleId` integer — The rule to test against

## Response `200`

OK

- RuleEvaluationResult
  - `LastConditionId` integer
  - `LastActionId` integer

---

[API](https://skmtc.net/linnworks/apis/authenticate-api.md) · [All operations](https://skmtc.net/linnworks/apis/authenticate-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linnworks/authenticate-api/versions/0123569a22fb/schema)
