Skip to content

Lookup time entries in pages

Request

🔐 Required role: TM_ENTRY_R or TM_ENTRY_C

📖 Data dictionary: Time-management entry

Lookup time entries in pages

Returns one page of active TimeEntry records; a deactivated entry is not listed.

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
Bodyapplication/jsonrequired
pageSizeinteger, (int32)

Pagesize

pageinteger, (int32)

Page

curl -i -X POST \
  https://api.sandbox.aiwyn.app/api/v1/time-entries/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
  }'

Responses

Lookup completed successfully

Bodyapplication/json
dataobject
errorobject or null
metaobject
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" } }