Updates a Parental Bereavement Leave record for an employee
PUT http:///api/v2/business/{businessId}/employee/{employeeId}/statutoryleave/spbp/{id}
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| employeeId | int32 | Required | |
| id | int32 | Required | |
| businessId | string | Required |
The request body takes a complete UkSpbpDataApiModel resource, containing the following writable properties:
{
"averageWeeklyEarningsOverride": "double",
"childDeathDate": "date-time",
"doNotPayReason": "string",
"employerPensionProtection": "double",
"id": "int32",
"notes": "string",
"offsetSpbp": "boolean",
"payLumpSum": "boolean",
"prevSpbpEndDate": "date-time",
"prevSpbpStartDate": "date-time",
"spbp": [
{
"daysPaid": "int32",
"earnings": "double",
"payRunId": "int32"
}
],
"spbpAdjust": "double",
"startDate": "date-time",
"weeksPaid": "double",
"weeksToPay": "double"
}
| Name | Type | Description |
|---|---|---|
| averageWeeklyEarningsOverride | double |
Nullable |
| childDeathDate | date-time | DateTime |
| doNotPayReason | string |
Nullable Possible values are:
|
| employerPensionProtection | double |
Nullable |
| id | int32 | Int32 |
| notes | string | String |
| offsetSpbp | boolean | Boolean |
| payLumpSum | boolean | Boolean |
| prevSpbpEndDate | date-time |
Nullable |
| prevSpbpStartDate | date-time |
Nullable |
| spbp[] | array | |
| spbp[].daysPaid | int32 | Int32 |
| spbp[].earnings | double |
Nullable |
| spbp[].payRunId | int32 | Int32 |
| spbpAdjust | double |
Nullable |
| startDate | date-time | DateTime |
| weeksPaid | double | Decimal |
| weeksToPay | double |
Nullable |
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 200 | OK OK |
UkSpbpDataApiResponseModel |
Powered by DapperDox