Request

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

Path parameters

Parameter name Value Description Additional
businessId string Required
employeeId string Required

Request body

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

{
    "fromDate": "date-time",
    "newCategory": "string",
    "payRunTotalId": "int32",
    "toDate": "date-time"
}

Properties

Name Type Description
fromDate date-time DateTime
newCategory string NationalInsuranceType

Possible values are:

  • A
  • B
  • C
  • H
  • J
  • M
  • X
  • Z
  • F
  • I
  • L
  • S
  • V
  • D
  • E
  • K
  • N
payRunTotalId int32 Int32
toDate date-time DateTime

Response

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

Status code Description Resource
200 OK

OK