v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
Templates

Get template rule

Get a template rule for the given id

get/v6/templates/rules/{id}

Path parameters

idstring required

The id of the template rule

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
    }
  }
}