Creates a new earnings line split for the employee.
POST https://apisg.yourpayroll.io/api/v2/business/{businessId}/employee/{employeeId}/earningslinesplit
Parameter name | Value | Description | Additional |
---|---|---|---|
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