API reference
/- Get field schema for a time management entry 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
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
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_ENTRY_RorTM_ENTRY_C📖 Data dictionary: Time entry
Get field schema for a time management entry type
Returns field definitions for the requested entry type.
For TimeEntry, the schema includes optional taskId (FK to Task) and code (work code string). Use GET /api/v1/entries/schema/TimeEntry to see the full attribute list for your tenant, including custom fields.
For ExpenseEntry, the schema includes expenseCodeId (FK to ExpenseCode), billable, internalNotes, and the optional code (expense code string). Use GET /api/v1/entries/schema/ExpenseEntry 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/entries/schema/{type}
- Staging (requires Cloudflare Access headers)https://api.staging.aiwyn.app/api/v1/entries/schema/{type}
- Production (your live firm data; no Cloudflare Access headers)https://api.aiwyn.ai/api/v1/entries/schema/{type}
curl -i -X GET \
'https://api.sandbox.aiwyn.app/api/v1/entries/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" } }