API reference
/- List available time management code record types
List all task types
Search task types
Get task by ID
Search tasks
List WIP entries
Search WIP entries
Get WIP entry by ID
Get field schema for a time management code type
Create or update time management code records (upsert)
Lookup time management code records in pages (by type)
List available time management entry record types
Get field schema for a time management entry type
Create or update time management entry records (upsert)
Lookup time management entry records in pages (by type)
List available time manag...
🔐 Required role:
TM_CODE_RorTM_CODE_C📖 Data dictionary: Time-management code
List available time management code record types
Returns the code types that can be managed via the Product API under /api/v1/codes: TimeCode, ExpenseCode, OperationalCode, and PtoCode.
Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
- Sandbox (requires Cloudflare Access headers)https://api.sandbox.aiwyn.app/api/v1/codes/types
- Staging (requires Cloudflare Access headers)https://api.staging.aiwyn.app/api/v1/codes/types
- Production (your live firm data; no Cloudflare Access headers)https://api.aiwyn.ai/api/v1/codes/types
curl -i -X GET \
https://api.sandbox.aiwyn.app/api/v1/codes/types \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
-H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE'Response
{ "data": { "entityTypes": [ … ] }, "error": {}, "meta": { "success": true, "message": "string", "timestamp": "2019-08-24T14:15:22Z", "version": "string" } }