# Get All Business Rules

This API returns details on all rules within a single coverage set.  It is sent as a POST, with the same header details as the ‘create’ and ‘update’ calls.

&#x20;

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FUfHxpuR9oXwQRjhSogfM%2Fimage.png?alt=media&#x26;token=861dc1b3-e4b1-4d3b-96a7-a03fd0ac8a42" alt=""><figcaption><p>URL for Get All Rules call</p></figcaption></figure>

&#x20;The body of the call looks like the body of the ‘Get Rule Details’ call.

&#x20;

```
{
    "context": {
        "user": "mbj_test",
        "password": "xxxx",
        "project": {
            "name": "imp_payments_demo",
            "version": "1.0"
        },
        "coverage" : {
            "name": "api_demo_coverage",
          "version": "1.2"
        }
    }
}
```

&#x20;The return message of the API shows the information for all rules contained in this coverage set.

&#x20;

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FD6cYrkCKNtL7xBAm5J7z%2Fimage.png?alt=media&#x26;token=c6c40446-dc15-407b-b4cd-b8fb9168e3b0" alt=""><figcaption><p>Results for Get All Rules</p></figcaption></figure>

This coverage set now contains three rules; the information on all three is included above.  In TDO, the three rules are also shown.

&#x20;

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FfCX1WHd6dpboiSMZxVEI%2Fimage.png?alt=media&#x26;token=5eaf1912-f216-40ac-9537-348d19ef573b" alt=""><figcaption><p>Rules in TDO</p></figcaption></figure>
