Updates the pay category with the specified ID.
PUT https://api.yourpayroll.co.uk/api/v2/business/{businessId}/paycategory/{id}
Parameter name | Value | Description | Additional |
---|---|---|---|
id | int32 | Required | |
businessId | string | Required |
The request body takes a complete UkPayCategoryModel resource, containing the following writable properties:
{
"accruesLeave": "boolean",
"applyCisDeduction": "boolean",
"cisCategory": "boolean",
"cisType": "string",
"externalId": "string",
"generalLedgerMappingCode": "string",
"hideUnitsOnPaySlip": "boolean",
"id": "int32",
"is52WeekAverageEnabled": "boolean",
"isClass1ANIable": "boolean",
"isEmployeePensionable": "boolean",
"isEmployerPensionable": "boolean",
"isNationalInsuranceExempt": "boolean",
"isNetPayment": "boolean",
"isPrimary": "boolean",
"isSystemPayCategory": "boolean",
"isTaxExempt": "boolean",
"minimumWageCalculationImpact": "string",
"name": "string",
"numberOfDecimalPlaces": "int32",
"parentId": "int32",
"payCategoryType": "string",
"penaltyLoadingPercent": "double",
"rateLoadingPercent": "double",
"rateUnit": "string",
"roundingMethod": "string",
"source": "string"
}
Name | Type | Description |
---|---|---|
accruesLeave | boolean | Boolean |
applyCisDeduction | boolean | Boolean |
cisCategory | boolean | Boolean |
cisType | string |
PayCategoryCisType
Possible values are:
|
externalId | string | String |
generalLedgerMappingCode | string | String |
hideUnitsOnPaySlip | boolean | Boolean |
id | int32 | Int32 |
is52WeekAverageEnabled | boolean | Boolean |
isClass1ANIable | boolean | Boolean |
isEmployeePensionable | boolean | Boolean |
isEmployerPensionable | boolean | Boolean |
isNationalInsuranceExempt | boolean | Boolean |
isNetPayment | boolean | Boolean |
isPrimary | boolean | Boolean |
isSystemPayCategory | boolean | Boolean |
isTaxExempt | boolean | Boolean |
minimumWageCalculationImpact | string |
MinimumWageCalculationImpact
Possible values are:
|
name | string | String |
numberOfDecimalPlaces | int32 |
Nullable |
parentId | int32 |
Nullable |
payCategoryType | string |
UkPayCategoryType
Possible values are:
|
penaltyLoadingPercent | double | Decimal |
rateLoadingPercent | double | Decimal |
rateUnit | string |
RateUnitEnum
Possible values are:
|
roundingMethod | string |
Nullable Possible values are:
|
source | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
UkPayCategoryModel |
Powered by DapperDox