Updates the employee's earnings line split for the specified location ID.
PUT https://api.nzpayroll.co.nz/api/v2/business/{businessId}/employee/{employeeId}/earningslinesplit/{locationId}
Parameter name | Value | Description | Additional |
---|---|---|---|
locationId | int32 | Required | |
businessId | string | Required | |
employeeId | string | Required |
The request body takes a complete EarningsLineSplitEditModel resource, containing the following writable properties:
{
"allocateBalance": "boolean",
"allocatedPercentage": "double",
"locationId": "int32",
"reportingDimensionValueIds": [
"int32"
]
}
Name | Type | Description |
---|---|---|
allocateBalance | boolean | Boolean |
allocatedPercentage | double |
Nullable |
locationId | int32 |
Nullable |
reportingDimensionValueIds[] | array of int32 |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox