---
title: "GET /api/integration/v1/time-reports/by-subtask/{subTaskId}"
method: GET
path: "/api/integration/v1/time-reports/by-subtask/{subTaskId}"
tags: ["Time Reports"]
---

# GET /api/integration/v1/time-reports/by-subtask/{subTaskId}

`GET /api/integration/v1/time-reports/by-subtask/{subTaskId}`

## Request

- Base URL: `https://api.timix.ai`
- URL: `https://api.timix.ai/api/integration/v1/time-reports/by-subtask/{subTaskId}`
- Auth: API key in header `X-Api-Key`

## Path parameters

- `subTaskId` string, required

## Query parameters

- `Page` integer
- `PageSize` integer
- `Skip` integer
- `CreatedAfter` string, date-time, nullable
- `UpdatedAfter` string, date-time, nullable

## Response `200`

- PagedResultOfBillingSubTaskTimeReportView: Paginated list wrapper returned by all Integration API list endpoints. Total count is also available via the X-Total-Count response header.
  - `items` BillingSubTaskTimeReportView[]: Current page items.
    - `id` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `parentId` string, required
    - `start` string, date-time
    - `end` string, date-time
    - `reporterId` string
    - `text` string
    - `duration` integer
    - `organizationId` string
    - `projectId` string
    - `customerId` string
    - `taskId` string
    - `subTaskId` string
    - `billingType` 'Unknown' | 'Fix' | 'TM' | 'OVH' | 'MIXED'
    - `status` 'Unknown' | 'Draft' | 'Submitted' | 'Approved' | 'Rejected' | 'Invoiced' | 'Paid'
    - `invoiceId` string
    - `date` string, date-time
    - `dateOmitted` boolean
    - `hours` number
    - `customerHourlyRate` number
    - `customerName` string, nullable
    - `projectName` string, nullable
    - `taskName` string, nullable
    - `subTaskName` string, nullable
    - `customFields` object, nullable
  - `totalCount` integer: Total number of matching records across all pages.
  - `page` integer: Current page number (1-based).
  - `pageSize` integer: Items per page.
  - `hasMore` boolean: Whether there are more pages.

---

[API](https://skmtc.dev/timix/apis/timix-ai-integration-api.md) · [All operations](https://skmtc.dev/timix/apis/timix-ai-integration-api/llms.txt) · [OpenAPI document](https://skmtc.dev/timix/apis/timix-ai-integration-api/revisions/ff7f1b6d7479?raw)
