Skip to main content
GET
/
service
/
general-ledger
/
approval-rules
/
{rule_id}
curl -X GET https://kube.acho.io/service/general-ledger/approval-rules/APR-BILL-HIGH \
  -H "Authorization: jwt YOUR_TOKEN"
{
  "rule_id": "APR-BILL-HIGH",
  "rule_name": "Bill - High Amount (Level 2 Required)",
  "document_type": "bill",
  "rule_type": "Amount Threshold",
  "is_active": true,
  "priority": 25,
  "min_amount": 10000,
  "max_amount": null,
  "approval_level": 2,
  "approver_type": "role",
  "approver_role": "approve_level_2",
  "created_at": "2024-01-15T10:00:00Z",
  "created_by": "user-123",
  "updated_at": "2024-01-20T14:30:00Z",
  "updated_by": "user-456"
}

Request

Retrieve details for a specific approval rule.

Path Parameters

rule_id
string
required
The approval rule ID
curl -X GET https://kube.acho.io/service/general-ledger/approval-rules/APR-BILL-HIGH \
  -H "Authorization: jwt YOUR_TOKEN"
{
  "rule_id": "APR-BILL-HIGH",
  "rule_name": "Bill - High Amount (Level 2 Required)",
  "document_type": "bill",
  "rule_type": "Amount Threshold",
  "is_active": true,
  "priority": 25,
  "min_amount": 10000,
  "max_amount": null,
  "approval_level": 2,
  "approver_type": "role",
  "approver_role": "approve_level_2",
  "created_at": "2024-01-15T10:00:00Z",
  "created_by": "user-123",
  "updated_at": "2024-01-20T14:30:00Z",
  "updated_by": "user-456"
}