API reference
/- Get field schema for a time management code type
List all task types
Search task types
Get task by ID
Search tasks
List WIP entries
Search WIP entries
Get WIP entry by ID
List available time management code record types
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)
Get field schema for a ti...
🔐 Required role:
TM_CODE_RorTM_CODE_C📖 Data dictionary: Time-management code
Get field schema for a time management code type
Returns field definitions for the requested code type.
For ExpenseCode, code and display are required; pmsRef defaults to systemRef.reference, and description, billable, taxable, reimbursable, and active are optional. Use GET /api/v1/codes/schema/ExpenseCode for the full attribute list.
Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
- Sandbox (requires Cloudflare Access headers)https://api.sandbox.aiwyn.app/api/v1/codes/schema/{type}
- Staging (requires Cloudflare Access headers)https://api.staging.aiwyn.app/api/v1/codes/schema/{type}
- Production (your live firm data; no Cloudflare Access headers)https://api.aiwyn.ai/api/v1/codes/schema/{type}
curl -i -X GET \
'https://api.sandbox.aiwyn.app/api/v1/codes/schema/{type}' \
-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": { "entityType": "string", "fields": [ … ] }, "error": {}, "meta": { "success": true, "message": "string", "timestamp": "2019-08-24T14:15:22Z", "version": "string" } }