Sets the rounding rules for the business.
POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/roundingrules
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required |
The request body takes a complete TimesheetRoundingRulesModel resource, containing the following writable properties:
{
"breakEndRoundingDirection": "string",
"breakEndRoundingInterval": "int32",
"breakStartRoundingDirection": "string",
"breakStartRoundingInterval": "int32",
"id": "int32",
"roundDownToShiftEndTimeRoundingInterval": "int32",
"roundDownToShiftStartTimeRoundingInterval": "int32",
"roundUpToShiftEndTimeRoundingInterval": "int32",
"roundUpToShiftStartTimeRoundingInterval": "int32",
"shiftEndRoundingDirection": "string",
"shiftEndRoundingInterval": "int32",
"shiftStartRoundingDirection": "string",
"shiftStartRoundingInterval": "int32"
}
Name | Type | Description |
---|---|---|
breakEndRoundingDirection | string |
RoundingDirectionEnum
Possible values are:
|
breakEndRoundingInterval | int32 | Int32 |
breakStartRoundingDirection | string |
RoundingDirectionEnum
Possible values are:
|
breakStartRoundingInterval | int32 | Int32 |
id | int32 | Int32 |
roundDownToShiftEndTimeRoundingInterval | int32 |
Nullable |
roundDownToShiftStartTimeRoundingInterval | int32 |
Nullable |
roundUpToShiftEndTimeRoundingInterval | int32 |
Nullable |
roundUpToShiftStartTimeRoundingInterval | int32 |
Nullable |
shiftEndRoundingDirection | string |
RoundingDirectionEnum
Possible values are:
|
shiftEndRoundingInterval | int32 | Int32 |
shiftStartRoundingDirection | string |
RoundingDirectionEnum
Possible values are:
|
shiftStartRoundingInterval | int32 | Int32 |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox