Updates the employee's additional earning with the specified ID.

Request

PUT https://api.yourpayroll.co.uk/api/v2/business/{businessId}/employee/{employeeId}/additional-earnings/{id}

Path parameters

Parameter name Value Description Additional
id int64 Required
businessId string Required
employeeId string Required

Request body

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"
}

Properties

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

Response

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

Status code Description Resource
200 OK

OK

AdditionalEarningsModel