URL

GET https://{api-url}/api/v2/tenants/{tenantId}/rba/categories

Sample URLs

For partners:

https://{api-url}/api/v2/tenants/msp_92/rba/categories

For clients:

https://{api-url}/api/v2/tenants/client_93/rba/categories

Status code

200 OK

Sample response

[ {
		"id": 1,
		"name": "Miscellaneous"
	},
	{
		"id": 16,
		"name": "API Task Category",
		"childs": [{
				"id": 17,
				"name": "Child-1",
				"childs": [{
					"id": 33,
					"name": "child-1-child"
				          }]
			     },
			     {
			   	"id": 18,
				"name": "Child-2"
			     },
			     {
				"id": 19,
				"name": "Child-3-client"
			     }
		          ]
	},
	{
		"id": 7,
		"name": "Applications",
		"childs": [{
			"id": 8,
			"name": "QuickBooks"
		           }]
	},
	{
		"id": 31,
		"name": "C_Category"
	},
	{
		"id": 24,
		"name": "SP_Category",
		"childs": [{
				"id": 25,
				"name": "SP_Category_child"
			    },
			    {
				"id": 26,
				"name": "MSP-Category"
			     }
		            ]
	},
	{
		"id": 13,
		"name": "Test Global Category"
	}
]