Updates the pay rate template with the specified ID.

Request

PUT http://keypay.yourpayroll.local/api/v2/business/{businessId}/payratetemplate/{id}

Path parameters

Parameter name Value Description Additional
id int32 Required
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 Description
externalId string String
id int32 Int32
maximumQuarterlySuperContributionsBase double Nullable
name string String
payCategories[] array
payCategories[].calculatedRate double Decimal
payCategories[].payCategoryId int32 Int32
payCategories[].standardWeeklyHours double Decimal
payCategories[].superRate double Nullable
payCategories[].userSuppliedRate double Decimal
primaryPayCategoryId int32 Int32
source string String
superThresholdAmount double Nullable

Response

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

Status code Description Resource
200 OK

OK