---
title: "GET /approvalRule"
method: GET
path: "/approvalRule"
tags: ["approvalRule"]
---

# GET /approvalRule

`GET /approvalRule`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/approvalRule`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/approvalRule/get.ts> (a function with typed inputs; its response is checked against the schema)

query approvalRule

## Query parameters

- `page` integer
- `pageSize` integer
- `sort` string

## Response `200`

approvalRule response

- object
  - `result` ApprovalRule[]
    - `id` string
    - `version` string
    - `active` boolean
    - `approvers` Approver[]
      - `id` string
      - `version` string
      - `createdDate` integer
      - `groupId` string
      - `lastModifiedDate` integer
      - `personId` string
      - `positionNumber` integer
    - `conditionAmount` string, number
    - `conditionType` 'HEADER_DISCOUNT_FROM' | 'HEADER_SURCHARGE_FROM' | 'ITEM_DISCOUNT_FROM' | 'MARGIN_AMOUNT_FROM' | 'MARGIN_PERCENTAGE_FROM' | 'TOTAL_GROSS_AMOUNT_FROM' | 'TOTAL_NET_AMOUNT_FROM'
    - `createdDate` integer
    - `event` 'PURCHASE_INVOICE_CHECKED' | 'PURCHASE_INVOICE_ENTRY_COMPLETED' | 'PURCHASE_INVOICE_OPEN_ITEM_CREATED' | 'PURCHASE_INVOICE_VERIFICATION_STARTED' | 'PURCHASE_ORDER_CONFIRMED' | 'PURCHASE_ORDER_DOCUMENTS_PRINTED' | 'PURCHASE_ORDER_ENTRY_COMPLETED' | 'QUOTATION_ENTRY_COMPLETED' | 'SALES_ORDER_ORDER_CONFIRMATION_PRINTED', required
    - `lastModifiedDate` integer
    - `name` string
    - `requesterGroupId` string
    - `requesterPersonId` string

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/approvalRule/get.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
