Create job code
documentedCreate a new job code.
POST /rest.tsheets.com/api/v1/jobcodesJob Codesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://rest.tsheets.com/api/v1/jobcodes" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"data": [{"name": "{{$name}}", "parent_id": "{{$parent_id}}", "short_code": "{{$short_code}}", "billable": "{{$billable}}", "assigned_to_all": "{{$assigned_to_all}}", "billable_rate": "{{$billable_rate}}", "connect_with_quickbooks": {{$connect_with_quickbooks}}}]}'