Sets whether a pay run can be unlocked by the UI or not. Only applies to finalized pay runs.
POST https://apimy.yourpayroll.io/api/v2/business/{businessId}/payrun/{payRunId}/setuiunlockstate
Parameter name | Value | Description | Additional |
---|---|---|---|
payRunId | int32 | Required | |
businessId | string | Required |
The request body takes a complete SetPayRunUIUnlockStateRequest resource, containing the following writable properties:
{
"enableUIUnlock": "boolean"
}
Name | Type | Description |
---|---|---|
enableUIUnlock | boolean | Boolean |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox