Updates the pay category with the specified ID.
PUT https://apimy.yourpayroll.io/api/v2/business/{businessId}/paycategory/{id}
Parameter name | Value | Description | Additional |
---|---|---|---|
id | int32 | Required | |
businessId | string | Required |
The request body takes a complete MyPayCategoryModel resource, containing the following writable properties:
{
"accruesLeave": "boolean",
"externalId": "string",
"generalLedgerMappingCode": "string",
"hideUnitsOnPaySlip": "boolean",
"id": "int32",
"isEisExempt": "boolean",
"isEpfExempt": "boolean",
"isHrdfExempt": "boolean",
"isPrimary": "boolean",
"isSocsoExempt": "boolean",
"isSystemPayCategory": "boolean",
"isTaxExempt": "boolean",
"name": "string",
"numberOfDecimalPlaces": "int32",
"parentId": "int32",
"penaltyLoadingPercent": "double",
"rateLoadingPercent": "double",
"rateUnit": "string",
"roundingMethod": "string",
"source": "string"
}
Name | Type | Description |
---|---|---|
accruesLeave | boolean | Boolean |
externalId | string | String |
generalLedgerMappingCode | string | String |
hideUnitsOnPaySlip | boolean | Boolean |
id | int32 | Int32 |
isEisExempt | boolean | Boolean |
isEpfExempt | boolean | Boolean |
isHrdfExempt | boolean | Boolean |
isPrimary | boolean | Boolean |
isSocsoExempt | boolean | Boolean |
isSystemPayCategory | boolean | Boolean |
isTaxExempt | boolean | Boolean |
name | string | String |
numberOfDecimalPlaces | int32 |
Nullable |
parentId | int32 |
Nullable |
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 |
MyPayCategoryModel |
Powered by DapperDox