GET /api/transaction_rules
Get a list of company-specific email rules

Returns a list of company-specific email rules

Supported Formats

json

Examples

[
  {
    "id": 1,
    "company_id": 3,
    "name": "Test Rule",
    "pattern":"Github",
    "description":"Some Decsription",
    "expense_account_id": 1,
    "asset_account_id": 2,
    "vat_id": 3,
    "cost_center_id": 4,
    "user_id": 4,
    "vat_code": "KOOS"
  }
] 

POST /api/transaction_rules
Create email rule

Create email rule


PUT /api/transaction_rules/:id
Update email rule

Update email rule


DELETE /api/transaction_rules/:id
Delete email rule

Params

Param name Description
id
required

Email rule ID

Validations:

  • Must be a Integer