Payroll Runs

The PayrollRun object is used to represent a payroll run.

The PayrollRun object

Properties


idString
Optional

remote_idString
Optional
The third-party API ID of the matching object.

run_stateEnum
Optional
The state of the payroll run Possible values include: PAID, DRAFT, APPROVED, FAILED, CLOSED, or - in cases where there is no clear mapping - the original value passed through.

run_typeEnum
Optional
The type of the payroll run Possible values include: REGULAR, OFF_CYCLE, CORRECTION, TERMINATION, SIGN_ON_BONUS, or - in cases where there is no clear mapping - the original value passed through.

start_dateString
Optional
The day and time the payroll run started.

end_dateString
Optional
The day and time the payroll run ended.

check_dateString
Optional
The day and time the payroll run was checked.

remote_dataRemoteData[]
Optional

The PayrollRun object

{
  "id": "37336947-b3d4-4a4c-a310-ab6ab510e079",
  "remote_id": "19202938",
  "run_state": "PAID",
  "run_type": "REGULAR",
  "start_date": "2020-11-08T00:00:00Z",
  "end_date": "2020-11-15T00:00:00Z",
  "check_date": "2020-11-15T00:00:00Z",
  "remote_data": [
    {
      "path": "/payroll",
      "data": [
        "Varies by platform"
      ]
    }
  ]
}

GET

/payroll-runs

Returns a list of PayrollRun objects.


Query & Path Parameters


created_afterString
Optional
If provided, will only return objects created after this datetime.

created_beforeString
Optional
If provided, will only return objects created before this datetime.

cursorString
Optional
The pagination cursor value.

ended_afterString
Optional
If provided, will only return payroll runs ended after this datetime.

ended_beforeString
Optional
If provided, will only return payroll runs ended before this datetime.

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

modified_afterString
Optional
If provided, will only return objects modified after this datetime.

modified_beforeString
Optional
If provided, will only return objects modified before this datetime.

page_sizeInteger
Optional
Number of results to return per page.

remote_idString
Optional
The API provider's ID for the given object.

run_typeString
Optional
If provided, will only return PayrollRun's with this status. Options: ('REGULAR', 'OFF_CYCLE', 'CORRECTION', 'TERMINATION', 'SIGN_ON_BONUS')

started_afterString
Optional
If provided, will only return payroll runs started after this datetime.

started_beforeString
Optional
If provided, will only return payroll runs started before this datetime.

Response

{
  "next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
  "previous": "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ",
  "results": [
    {
      "id": "37336947-b3d4-4a4c-a310-ab6ab510e079",
      "remote_id": "19202938",
      "run_state": "PAID",
      "run_type": "REGULAR",
      "start_date": "2020-11-08T00:00:00Z",
      "end_date": "2020-11-15T00:00:00Z",
      "check_date": "2020-11-15T00:00:00Z",
      "remote_data": [
        {
          "path": "/payroll",
          "data": [
            "Varies by platform"
          ]
        }
      ]
    }
  ]
}
Field support by platform

UKG Ready

UKG Ready

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


remote_idString

Rippling

Rippling

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


check_dateString

end_dateString

run_stateEnum

remote_dataRemoteData[]

run_typeEnum

start_dateString

remote_idString

UKG Pro

UKG Pro

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


check_dateString

end_dateString

run_stateEnum

remote_dataRemoteData[]

run_typeEnum

start_dateString

remote_idString

Workday

Workday

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


end_dateString

run_typeEnum

start_dateString

remote_idString

Paychex

Paychex

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


check_dateString

end_dateString

run_stateEnum

remote_dataRemoteData[]

start_dateString

remote_idString

SAP SuccessFactors

SAP SuccessFactors

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


end_dateString

start_dateString

Paylocity

Paylocity

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


check_dateString

end_dateString

remote_dataRemoteData[]

start_dateString
GET

/payroll-runs/{id}

Returns a PayrollRun object with the given id.


Query & Path Parameters


idString
Required

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

Response

{
  "id": "37336947-b3d4-4a4c-a310-ab6ab510e079",
  "remote_id": "19202938",
  "run_state": "PAID",
  "run_type": "REGULAR",
  "start_date": "2020-11-08T00:00:00Z",
  "end_date": "2020-11-15T00:00:00Z",
  "check_date": "2020-11-15T00:00:00Z",
  "remote_data": [
    {
      "path": "/payroll",
      "data": [
        "Varies by platform"
      ]
    }
  ]
}
Field support by platform

UKG Ready

UKG Ready

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


remote_idString

Rippling

Rippling

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


check_dateString

end_dateString

run_stateEnum

remote_dataRemoteData[]

run_typeEnum

start_dateString

remote_idString

UKG Pro

UKG Pro

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


check_dateString

end_dateString

run_stateEnum

remote_dataRemoteData[]

run_typeEnum

start_dateString

remote_idString

Workday

Workday

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


end_dateString

run_typeEnum

start_dateString

remote_idString

Paychex

Paychex

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


check_dateString

end_dateString

run_stateEnum

remote_dataRemoteData[]

start_dateString

remote_idString

SAP SuccessFactors

SAP SuccessFactors

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


end_dateString

start_dateString

Paylocity

Paylocity

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


check_dateString

end_dateString

remote_dataRemoteData[]

start_dateString