v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
Templates

Query template rules

Query template rules for the authenticated user

post/v6/templates/rules/query

Request body

cursorstring nullable

Cursor from the previous paginated response

limitinteger

Page size, i.e. number of items to return per page

Response

Success

result'SUCCESS' | 'FAILURE'

The result of the action performed.

Example response

{
  "data": [
    {
      "id": "ttrl_12345678",
      "status": "ACTIVE",
      "filter": {
        "description": {
          "equal": "Office Supplies",
          "contain": "Supplies"
        },
        "businessType": {
          "id": {
            "equal": "tgla_324231"
          }
        },
        "templateGlAccount": {
          "id": {
            "equal": "tgla_324231"
          }
        },
        "vendorName": {
          "name": "Office Depot"
        }
      },
      "update": {
        "reviewStatus": "RECONCILED",
        "templateGlAccountId": "tgla_324231",
        "vendorName": "Office Depot"
      },
      "customData": {
        "internal_key": "some_internal_key",
        "some_other_field": 23434
      }
    }
  ]
}