---
title: "Aggregated activity per price rule over paid estimates: times fired,
total discount given away, last fired. Restricted to paid estimates
because audit rows on draft estimates are reconciled on every recalc."
method: GET
path: "/PriceRules/activity"
tags: ["PriceRules"]
---

# Aggregated activity per price rule over paid estimates: times fired,
total discount given away, last fired. Restricted to paid estimates
because audit rows on draft estimates are reconciled on every recalc.

`GET /PriceRules/activity`

## Query parameters

- `from` string, date-time
- `to` string, date-time

## Response `200`

OK

- PriceRuleActivityRowDto[]
  - `priceRuleId` string
  - `ruleName` string
  - `ruleType` string
  - `timesFired` union
    - integer
    - string, int32
  - `totalDiscountAmount` union
    - number, double
    - string, double
  - `lastFiredAt` string, date-time, nullable

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/a905bde4e796/schema)
