Read (GET) Labor Category List

Use this API to read the list of available labor categories.

To get all labor categories:

Execute a GET command on the endpoint {{url}}/codeTable/codetable, where codetable is the table you want to read.

For example, using cURL to submit the GET request, here is an example of how to get all labor categories for the codetable set to BTLaborCats which represents the billing configuration table for labor categories:

curl --request GET \
--url 'https://{{url}}/codeTable/BTLABORCATS' \
--header 'authorization: Bearer {{oauth_token}}' \
--header 'content-type: application/json'

The call returns the Category, Description, and CategoryCode for each labor category in the list. For example:

[
	{
		"Category": 1,
		"Description": "Project Manager",
		"CategoryCode": "1"
	}
	{
		"Category": 2,
		"Description": "Senior Designer",
		"CategoryCode": "2"
	}
	{
		"Category": 3,
		"Description": "Technician",
		"CategoryCode": "3"
	}
]