API reference
//
Lookup time codes in page...
🔐 Required role:
TM_CODE_RorTM_CODE_C📖 Data dictionary: Time-management code
Lookup time codes in pages
Returns one page of active TimeCode records.
Request body: { "pageSize": 25, "page": 0 }
pageSize is 1 to 100 (default 25) and page is a zero-based page index, not a record offset; see Time management code and entry lookups.
Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
- Sandbox (requires Cloudflare Access headers)https://api.sandbox.aiwyn.app/api/v1/time-codes/batch
- Staging (requires Cloudflare Access headers)https://api.staging.aiwyn.app/api/v1/time-codes/batch
- Production (your live firm data; no Cloudflare Access headers)https://api.aiwyn.ai/api/v1/time-codes/batch
curl -i -X POST \
https://api.sandbox.aiwyn.app/api/v1/time-codes/batch \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
-H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"pageSize": 0,
"page": 0
}'Response
{ "data": { "type": "string", "pageSize": 0, "page": 0, "returned": 0, "records": [ … ] }, "error": {}, "meta": { "success": true, "message": "string", "timestamp": "2019-08-24T14:15:22Z", "version": "string" } }