---
title: "Resubmit Pay Comparison reports"
method: POST
path: "/v2/pay-comparison/resubmit-reports"
tags: ["Pay Comparison"]
---

# Resubmit Pay Comparison reports

`POST /v2/pay-comparison/resubmit-reports`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/v2/pay-comparison/resubmit-reports`
- Auth: API key in header `OAuth`

Resubmit Pay Comparison reports.

## Request body

- PayComparisonResubmitReportRequest
  - `reportIds` string[]
  - `startDate` string: `yyyy-mm-dd` optional start date override for the re-run reports. If provided, `endDate` must also be provided, and `startDate` must be earlier than or equal to `endDate`.
  - `endDate` string: `yyyy-mm-dd` optional end date override for the re-run reports. If provided, `startDate` must also be provided, and `startDate` must be earlier than or equal to `endDate`.

## Response `200`

A successful response.

- PayComparisonResubmitReportResponse
  - `reports` PayComparisonReport[]
    - `name` string
    - `reportId` string
    - `creatorEmail` string
    - `status` 'NO_STATUS' | 'PENDING' | 'DONE' | 'FAILED' | 'CANCELLED'
    - `start` string
    - `end` string
    - `employeeFilter` PayComparisonEmployeeFilter
      - `limit` integer: Limit the result set returned after applying filters.
      - `offset` integer: Offset (from the first result) the result set returned after applying filters.
      - `contractIds` integer[]: Filter the employees based on main contract.
    - `expectedResultCount` integer: Count of the results which are required to be in the `DONE` status in order for the report to finish.
    - `employeeIds` integer[]
    - `awardOverride` string
    - `baseRateOverride` number, float
    - `comparisonContractId` integer
    - `created` string
    - `doneResultCount` integer: Count of the results for the report which have the `DONE` status.
    - `outerLimitOvertime` number, float
    - `outerLimitPenalty` number, float
    - `includeOuterLimitOvertime` boolean
    - `includeOuterLimitPenalty` boolean
    - `workPeriodCycle` PayComparisonReportWorkPeriodCycle
      - `cycleStart` string: `yyyy-mm-dd` date to specify the start of the cycle.
      - `daysInCycle` integer: Number of days in each cycle, e.g. Weekly = 7, Fortnightly = 14, 4-Weekly = 28.
    - `employeeQuery` PayComparisonEmployeeQuery
      - `limit` integer: Limit the result set returned after applying filters.
      - `offset` integer: Offset (from the first result) the result set returned after applying filters.
      - `filter` PayComparisonEmployeeQueryFilter
        - `contractIds` integer[]: Used to match employees by their contract linked by the agreement on their main location.
        - `includeEmployeeIds` integer[]: Employees with IDs matching this field will be added to the set of results, if they are not matched already.
        - `includeCompanyIds` integer[]: Employees that are associated with the Company matching any of the IDs will be added to the set of results.
        - `includeTrainingModuleIds` integer[]: Employees that have any of the matching TrainingModule IDs.
        - `includeJobPositions` string[]: Employees based on the given Job Positions. (Will be set to empty if install is not Enterprise).
        - `includeEmployeesWithNameLike` string: Employees will be added to the results if they have Name matching this value. `%` can be used as a wildcard.
  - `error` 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)
