Updates the Tiered Leave Allowance template with the specified ID.
PUT https://apisg.yourpayroll.io/api/v2/business/{businessId}/tieredleaveallowancetemplate/{id}
Parameter name | Value | Description | Additional |
---|---|---|---|
id | int32 | Required | |
businessId | string | Required |
The request body takes a complete TieredLeaveAllowanceTemplateApiModel resource, containing the following writable properties:
{
"deleted": "boolean",
"id": "int32",
"leaveAllowanceTemplateTiers": [
{
"leaveAllowanceTemplateId": "int32",
"leaveAllowanceTemplateName": "string",
"maxUnit": "int32",
"minUnit": "int32"
}
],
"name": "string",
"tierOption": "string"
}
Name | Type | Description |
---|---|---|
deleted | boolean | Boolean |
id | int32 | Int32 |
leaveAllowanceTemplateTiers[] | array | |
leaveAllowanceTemplateTiers[].leaveAllowanceTemplateId | int32 | Int32 |
leaveAllowanceTemplateTiers[].leaveAllowanceTemplateName | string | String |
leaveAllowanceTemplateTiers[].maxUnit | int32 |
Nullable |
leaveAllowanceTemplateTiers[].minUnit | int32 |
Nullable |
name | string | String |
tierOption | string |
Nullable Possible values are:
|
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
TieredLeaveAllowanceTemplateApiModel |
Powered by DapperDox