Read (GET) Labor Code

Use this API to read a single labor code from Account Configuration.

To read a labor code:

Execute a GET command on the endpoint {{url}}/accountConfiguration/laborCode/<code>, where the code variable is replaced by the alphanumeric ID with a maximum length of two characters of the labor code you want to read.

For example, here is a request, using cURL, to get a specific labor code when setting the code variable to AB.

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

The call returns the JSON representation of the labor code, for example:

[
    {
        "LCLevel": 3,
        "Code": "AB",
        "Description": "Project Admin."
    }
]