Creates a Statutory Sick Pay leave period for an employee

Request

POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/employee/{employeeId}/statutoryleave/ssp

Path parameters

Parameter name Value Description Additional
employeeId int32 Required
businessId string Required

Request body

The request body takes a complete UkSspApiModel resource, containing the following writable properties:

{
    "averageWeeklyEarningsOverride": "double",
    "doNotPayReason": "string",
    "endDate": "date-time",
    "id": "int32",
    "qualifiesForSsp": "boolean",
    "qualifyingDays": "int32",
    "startDate": "date-time",
    "waitingDays": "int32",
    "week1QualifyingDays": [
        "string"
    ],
    "week2QualifyingDays": [
        "string"
    ]
}

Properties

Name Type Description
averageWeeklyEarningsOverride double Nullable
doNotPayReason string Nullable

Possible values are:

  • CanClaimSocialSecurityBenefitAgain
  • FixedContractEnded
  • EmploymentEnded
  • SspCap
  • AverageEarningsNotHighEnough
  • Pregnancy
  • ConstantlySick
  • TradeDispute
  • InLegalCustody
  • WorkingOutsideUk
  • NotStarted
endDate date-time DateTime
id int32 Int32
qualifiesForSsp boolean Boolean
qualifyingDays int32 Int32
startDate date-time DateTime
waitingDays int32 Nullable
week1QualifyingDays[] array of string

Possible values are:

  • Sunday
  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
week2QualifyingDays[] array of string

Possible values are:

  • Sunday
  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday

Response

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

Status code Description Resource
200 OK

OK

UkSspApiModel