Creates a new pay schedule for the business.

Request

POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/payschedule

Path parameters

Parameter name Value Description Additional
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