POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/payrun/{payRunId}/statutorypay/smp/employee/{employeeId}
Parameter name | Value | Description | Additional |
---|---|---|---|
payRunId | int32 | Required | |
employeeId | int32 | Required | |
businessId | string | Required |
The request body takes a complete UkSmpApiRequestModel resource, containing the following writable properties:
{
"doNotPayReason": "string",
"endDate": "date-time",
"leaveAccrualId": "int32",
"leaveAccrualIdOmp": "int32",
"leaveDataId": "int32",
"payType": "string",
"rate": "double",
"startDate": "date-time"
}
Name | Type | Description |
---|---|---|
doNotPayReason | string |
Nullable Possible values are:
|
endDate | date-time | DateTime |
leaveAccrualId | int32 | Int32 |
leaveAccrualIdOmp | int32 | Int32 |
leaveDataId | int32 | Int32 |
payType | string |
SmpPayTypeEnum
Possible values are:
|
rate | double |
Nullable |
startDate | date-time | DateTime |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
UkSmpApiResponseModel |
Powered by DapperDox