Updates the pay schedule with the specified ID.

Request

PUT https://keypay.yourpayroll.com.au/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",
    "externalId": "string",
    "frequency": "string",
    "id": "int32",
    "lastDatePaid": "date-time",
    "lastPayRun": "date-time",
    "locations": [
        "int32"
    ],
    "name": "string",
    "source": "string"
}

Properties

Name Type Description
abaDetailsId int32 Nullable
employeeSelectionStrategy string Nullable

Possible values are:

  • None
  • PayRunDefault
  • TimesheetLocations
externalId string String
frequency string PayCycleFrequencyEnum

Possible values are:

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

Response

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

Status code Description Resource
200 OK

OK