Updates the pay schedule with the specified ID.

Request

PUT https://api.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
abaDetailsId int32
employeeSelectionStrategy string
externalId string
frequency string
id int32
lastDatePaid date-time
lastPayRun date-time
locations[] array of int32
name string
source string

Response

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

Status code Description Resource
200 OK

OK