Creates a new additional earning for the employee.
POST https://apisg.yourpayroll.io/api/v2/business/{businessId}/employee/{employeeId}/additional-earnings
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required | |
employeeId | string | Required |
The request body takes a complete AdditionalEarningsInputModel resource, containing the following writable properties:
{
"amount": "double",
"employeeId": "int32",
"expiryDate": "date-time",
"id": "int64",
"locationId": "int32",
"maximumAmountPaid": "double",
"notes": "string",
"overrideSuperRate": "boolean",
"payCategoryId": "int32",
"superRate": "double",
"units": "double"
}
Name | Type | Description |
---|---|---|
amount | double | Decimal |
employeeId | int32 | Int32 |
expiryDate | date-time |
Nullable |
id | int64 | Int64 |
locationId | int32 |
Nullable |
maximumAmountPaid | double |
Nullable |
notes | string | String |
overrideSuperRate | boolean | Boolean |
payCategoryId | int32 |
Nullable |
superRate | double |
Nullable |
units | double | Decimal |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
AdditionalEarningsModel |
Powered by DapperDox