Creates a new earnings line split for the employee.

Request

POST https://apisg.yourpayroll.io/api/v2/business/{businessId}/employee/{employeeId}/earningslinesplit

Path parameters

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