Create (POST) Labor Category List

Use this API to create a new labor category.

To create a new labor category:

Execute a POST command on the endpoint {{url}}/codeTable/, including the JSON for the new labor category in the request body.

For example, using cURL to submit the POST request, here is an example of how to create a new labor category:

curl --request POST \
--url 'https://{{url}}/codeTable' \
--header 'authorization: Bearer {{oauth_token}}' \
--header 'content-type: application/json' \
--data '{
"Category": 1,
"Description": "Technician",
"CategoryCode": "1"
}'

A successful call status of 201 returns the JSON representation for the newly created labor category list.