---
title: "Retrieve list of timesheets by export id"
method: GET
path: "/management/v2/timesheet-export/{exportId}/timesheets"
tags: ["Timesheet Export List Timesheets"]
---

# Retrieve list of timesheets by export id

`GET /management/v2/timesheet-export/{exportId}/timesheets`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/timesheet-export/{exportId}/timesheets`
- Auth: API key in header `OAuth`

Retrieve list of timesheets by export id.

## Path parameters

- `exportId` string, required

## Query parameters

- `cursor` string

## Response `200`

A successful response.

- TimesheetsListExportedTimesheetsResponse
  - `success` boolean
  - `data` Tenanttimesheetv2modelTimesheet[]
    - `id` integer
    - `employeeId` integer
    - `employeeHistoryId` integer
    - `employeeAgreementId` integer
    - `start` string, date-time
    - `end` string, date-time
    - `mealBreak` number, float
    - `mealBreakSlots` ModelBreak[]
      - `slotType` 'BREAK' | 'WORK' | 'CUSTOM'
      - `start` integer
      - `end` integer
      - `state` 'NOT_START' | 'IN_PROGRESS' | 'FINISHED' | 'DURATION_ONLY' | 'DURATION_FINISHED'
      - `canStartEarly` boolean
      - `canEndEarly` boolean
      - `isMandatory` boolean
      - `type` 'MEAL_BREAK' | 'REST_BREAK'
      - `typeLabel` string
      - `startDateTime` string
      - `endDateTime` string
    - `slots` string
    - `totalTime` number, float
    - `totalTimeInvoiced` number, float
    - `cost` number, float
    - `shiftId` integer
    - `comments` string[]
    - `isDisputed` boolean
    - `isTimeApproved` boolean
    - `approvedById` integer
    - `isDiscarded` boolean
    - `validationFlag` 'VALIDATION_FLAG_NONE' | 'VALIDATION_FLAG_GENERIC_ERROR' | 'VALIDATION_FLAG_DIFFERS_FROM_ROSTER' | 'VALIDATION_FLAG_SHORTER_THAN_ROSTER' | 'VALIDATION_FLAG_LONGER_THAN_ROSTER' | 'VALIDATION_FLAG_NO_MEALBREAK' | 'VALIDATION_FLAG_SHORTER_MEALBREAK' | 'VALIDATION_FLAG_LONGER_MEALBREAK' | 'VALIDATION_FLAG_LATE_MEALBREAK' | 'VALIDATION_FLAG_INSUFFICIENT_MEALBREAK' | 'VALIDATION_FLAG_OUTSIDE_GEO_BOUNDARIES' | 'VALIDATION_FLAG_SHIFT_PLAN_ISSUES' | 'VALIDATION_FLAG_NO_START_PHOTO' | 'VALIDATION_FLAG_NO_END_PHOTO' | 'VALIDATION_FLAG_PHOTO_DOES_NOT_MATCH' | 'VALIDATION_FLAG_CLOSED_BY_SYSTEM' | 'VALIDATION_FLAG_SHORTER_REST_BREAK' | 'VALIDATION_FLAG_SHORTER_MEAL_BREAK' | 'VALIDATION_FLAG_MISSED_SCHEDULE_BREAK' | 'VALIDATION_FLAG_ATTESTATION_PREVENT_CLOCK_IN' | 'VALIDATION_FLAG_ATTESTATION_NOTIFY_MANAGER'
    - `areaId` integer
    - `isInProgress` boolean
    - `isLeave` boolean
    - `leaveId` integer
    - `leaveRuleId` integer
    - `isInvoiced` boolean
    - `invoiceComment` string
    - `isPayRuleApproved` boolean
    - `isExported` boolean
    - `stagingId` integer
    - `isPayStaged` boolean
    - `payCycleId` integer
    - `fileId` integer
    - `customFieldDataId` integer
    - `isRealTime` boolean
    - `isAutoProcessed` boolean
    - `isAutoRounded` boolean
    - `isAutoTimeApproved` boolean
    - `isAutoPayRuleApproved` boolean
    - `parentId` integer
    - `children` ModelChildTimesheet[]
      - `start` string
      - `end` string
      - `areaId` integer
      - `id` integer
      - `areaName` string
      - `locationId` integer
      - `locationName` string
    - `employeeComment` string
    - `areaName` string
    - `locationId` integer
    - `locationName` string
    - `createdById` integer
    - `createdAt` string, date-time
    - `modifiedAt` string, date-time
    - `payReturns` ModelTimesheetPayReturn[]
      - `id` integer
      - `payRuleId` integer
      - `value` number, float
      - `cost` number, float
      - `overridden` boolean
      - `overrideComment` string
      - `toilValue` number, float
      - `toilMultiplier` number, float
    - `startTimeLocalized` string
    - `endTimeLocalized` string
  - `payRules` Tenantcompliancev2modelPayRule[]
    - `id` integer
    - `title` string
    - `value` number, double
    - `remunerationBy` 'REMUNERATION_BY_UNKNOWN' | 'REMUNERATION_BY_BASE' | 'REMUNERATION_BY_SHIFT_LOADING' | 'REMUNERATION_BY_PERIOD_LOADING'
    - `remunerationType` 'REMUNERATION_TYPE_UNKNOWN' | 'REMUNERATION_TYPE_HOURLY' | 'REMUNERATION_TYPE_MULTIPLIER' | 'REMUNERATION_TYPE_UNIT' | 'REMUNERATION_TYPE_SALARY'
    - `isExported` boolean
    - `payrollCategory` string
    - `payPortionRule` 'PAY_PORTION_RULE_UNKNOWN' | 'PAY_PORTION_RULE_GREATER' | 'PAY_PORTION_RULE_EXACT' | 'PAY_PORTION_RULE_FULL'
    - `rateType` 'RATE_TYPE_UNKNOWN' | 'RATE_TYPE_ORDINARY' | 'RATE_TYPE_OVERTIME' | 'RATE_TYPE_PENALTY' | 'RATE_TYPE_NON_PAYABLE'
    - `comment` string
    - `operationalUnitIds` integer[]
    - `calculationRuleId` string
    - `calculationTypeId` string
    - `filter` V2modelFilter
      - `customFieldAnswers` ModelCustomFieldAnswer[]
        - `identifier` string
        - `system` 'UNSPECIFIED' | 'TIMESHEET' | 'EMPLOYEE' | 'ROSTER'
        - `configs` ModelCustomFieldAnswerConfig[]
          - `operation` string
          - `values` string[]
        - `type` 'TYPE_UNSPECIFIED' | 'TYPE_LIST' | 'TYPE_BOOL' | 'TYPE_NUMBER' | 'TYPE_TEXT' | 'TYPE_BOOL_YES_COMMENT' | 'TYPE_BOOL_NO_COMMENT'
        - `action` 'UNSPECIFIED_ACTION' | 'FILTER' | 'TOIL_ACCRUAL'
      - `recurrenceRule` string
      - `shiftSchedulingType` 'UNSPECIFIED' | 'SCHEDULED_ONLY' | 'UNSCHEDULED_ONLY'
      - `shiftStartTimeRange` string
      - `shiftEndTimeRange` string
      - `rRulePublicHolidayInclusion` 'PH_INCLUSION_UNSPECIFIED' | 'PH_ONLY' | 'NON_PH_ONLY'
      - `particularDate` string
      - `applyOncePerDay` boolean
      - `areaNames` string[]
      - `trainingRequirements` ModelTrainingRequirement[]
        - `module` string, int64
    - `localContext` string
    - `rateTag` string
    - `payConfig` ModelPayConfig
      - `roundUpHours` boolean
      - `loadingLimit` ModelLoadingLimit
        - `limitType` string
        - `limitPer` string
        - `customPeriod` string
        - `minValue` number, float
        - `maxValue` number, float
      - `classificationReference` string
    - `levelIds` integer[]
    - `levelAssnType` integer
    - `stpClass` string
    - `stpCode` string
    - `toilMultiplier` number, double
    - `leaveRuleId` integer
    - `payrollTaxCode` string
  - `metadata` TimesheetsMetadata
    - `nextCursor` string

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
