bank_transaction_rules

Gets a new blank bank_transaction rule object

Changed on

Returns a blank object with default values

get/api/v1/bank_transaction_rules/create

Request

Query parameters

includestring
Example:first_load

Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes

Headers

X-API-TOKENstring required
Example:TOKEN

The API token to be used for authentication

X-Requested-Withstring required
Example:XMLHttpRequest

Used to send the XMLHttpRequest header

Response

A blank bank_transaction rule object

idstring

The bank transaction rules hashed id

user_idstring

The user hashed id

namestring

The name of the transaction

auto_convertboolean

Flags whether the rule converts the transaction automatically

matches_on_allboolean

Flags whether all subrules are required for the match

applies_tostring

Flags whether the rule applies to a CREDIT or DEBIT

client_idstring

The client hashed id

vendor_idstring

The vendor hashed id

category_idstring

The category hashed id

Example response

{
  "id": "AS3df3A",
  "user_id": "AS3df3A",
  "name": "Rule 1",
  "rules": [
    {
      "data_key": "description,amount",
      "operator": ">",
      "value": "bob"
    }
  ],
  "auto_convert": true,
  "matches_on_all": true,
  "applies_to": "CREDIT",
  "client_id": "AS3df3A",
  "vendor_id": "AS3df3A",
  "category_id": "AS3df3A"
}

Changes

    • info

      the response optional property became read-only for the status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status