Updates the employee's earnings line split for the specified location ID.

Request

PUT https://api.nzpayroll.co.nz/api/v2/business/{businessId}/employee/{employeeId}/earningslinesplit/{locationId}

Path parameters

Parameter name Value Description Additional
locationId int32 Required
businessId string Required
employeeId string Required

Request body

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

{
    "allocateBalance": "boolean",
    "allocatedPercentage": "double",
    "locationId": "int32",
    "reportingDimensionValueIds": [
        "int32"
    ]
}

Properties

Name Type Description
allocateBalance boolean Boolean
allocatedPercentage double Nullable
locationId int32 Nullable
reportingDimensionValueIds[] array of int32

Response

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

Status code Description Resource
200 OK

OK