# Lookup time management entry records in pages (by type)

> 🔐 **Required role:** `TM_ENTRY_R` or `TM_ENTRY_C`
📖 **Data dictionary:** [Time entry](/reference/data-dictionary/time-entry)

**Lookup time management entry records in pages**
`{type}` is any entry type from `GET /api/v1/entries/types`, e.g. `/api/v1/entries/batch/ExpenseEntry`.
Request body:
`{ "pageSize": 25, "page": 0 }`
`page` is a zero-based page index, not a record offset; see
[Time management code and entry lookups](/reference/pagination#time-management-code-and-entry-lookups).

Endpoint: POST /api/v1/entries/batch/{type}
Version: 1.0.0
Security: BearerAuth, CfAccessClientId, CfAccessClientSecret

## Security:

  - `BearerAuth` (unknown)
    http bearer JWT

  - `CfAccessClientId` (unknown)
    apiKey in header CF-Access-Client-Id

  - `CfAccessClientSecret` (unknown)
    apiKey in header CF-Access-Client-Secret

## Path parameters:

  - `type` (string, required)
    Entry type, as listed by `GET /api/v1/entries/types` (for example `TimeEntry`).

## Request fields (application/json):

  - `pageSize` (integer)
    Pagesize

  - `page` (integer)
    Page

## Response 200:

  - `200` (unknown)
    Lookup completed successfully

## Response 200 fields (application/json):

  - `data` (object)

  - `data.type` (string, required)
    Type

  - `data.pageSize` (integer, required)
    Pagesize

  - `data.page` (integer, required)
    Page

  - `data.returned` (integer, required)
    Returned

  - `data.records` (array, required)
    Records

  - `data.records.type` (string, required)
    Record type, for example `TimeCode` or `TimeEntry`.

  - `data.records.aiwynId` (integer | null)
    Aiwyn ID of the record.

  - `data.records.systemRefs` (array, required)
    Every reference the record is known by, including its PM reference.

  - `data.records.attributes` (object, required)
    The record's fields. Every value is a string, for example `"true"` for a boolean.

  - `error` (object | null)

  - `meta` (object)

  - `meta.success` (boolean)

  - `meta.message` (string)

  - `meta.timestamp` (string)

  - `meta.version` (string)

## Response 400:

  - `400` (unknown)
    Invalid request data

## Response 401:

  - `401` (unknown)
    Unauthorized - Invalid or missing authentication token

## Response 403:

  - `403` (unknown)
    Forbidden - Insufficient permissions (requires any of TM_ENTRY_R, TM_ENTRY_C)

## Response 500:

  - `500` (unknown)
    Internal server error

