Creates a new pay rate template for the business.

Request

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

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

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

{
    "externalId": "string",
    "id": "int32",
    "maximumQuarterlySuperContributionsBase": "double",
    "name": "string",
    "payCategories": [
        {
            "calculatedRate": "double",
            "payCategoryId": "int32",
            "standardWeeklyHours": "double",
            "superRate": "double",
            "userSuppliedRate": "double"
        }
    ],
    "primaryPayCategoryId": "int32",
    "source": "string",
    "superThresholdAmount": "double"
}

Properties

Name Type
externalId string
id int32
maximumQuarterlySuperContributionsBase double
name string
payCategories[] array
payCategories[].calculatedRate double
payCategories[].payCategoryId int32
payCategories[].standardWeeklyHours double
payCategories[].superRate double
payCategories[].userSuppliedRate double
primaryPayCategoryId int32
source string
superThresholdAmount double

Response

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

Status code Description Resource
200 OK

OK