Updates the pay schedule with the specified ID.


PUT https://api.yourpayroll.co.uk/api/v2/business/{businessId}/payschedule/{id}

Path parameters

Parameter name Value Description Additional
id int32 Required
businessId string Required

Request body

The request body takes a complete PayScheduleModel resource, containing the following writable properties:

    "abaDetailsId": "int32",
    "employeeSelectionStrategy": "string",
    "equalMonthlyPayments": "boolean",
    "externalId": "string",
    "frequency": "string",
    "id": "int32",
    "lastDatePaid": "date-time",
    "lastPayRun": "date-time",
    "locations": [
    "name": "string",
    "source": "string"


Name Type Description
abaDetailsId int32 Nullable
employeeSelectionStrategy string Nullable

Possible values are:

  • None
  • PayRunDefault
  • TimesheetLocations
  • PayRunDefaultWithTimesheets
equalMonthlyPayments boolean Boolean
externalId string String
frequency string PayCycleFrequencyEnum

Possible values are:

  • Weekly
  • Fortnightly
  • Monthly
  • AdHoc
  • Initial
  • PreviousEmployer
  • FourWeekly
  • Quarterly
  • Annually
id int32 Int32
lastDatePaid date-time Nullable
lastPayRun date-time Nullable
locations[] array of int32
name string String
source string String


The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK