v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
Categories

Get category

Get a category for the given id

get/v6/categories/{id}

Path parameters

idstring required

The id of the category

Response

Success

result'SUCCESS' | 'FAILURE'

The result of the action performed.

Example response

{
  "data": {
    "id": "gla_167243195",
    "name": "Wages",
    "status": "ACTIVE",
    "iconUrl": "https://cdn.sandbox.tight.com/icons/expenseCategories/payroll.svg",
    "children": [
      {
        "id": "gla_167243196",
        "name": "Officer(s) Salaries and Wages",
        "status": "ACTIVE",
        "iconUrl": "https://cdn.sandbox.tight.com/icons/expenseCategories/payroll.svg",
        "customData": {
          "internal_key": "some_internal_key",
          "some_other_field": 23434
        }
      }
    ],
    "customData": {
      "internal_key": "some_internal_key",
      "some_other_field": 23434
    }
  }
}