Sets whether a pay run can be unlocked by the UI or not. Only applies to finalized pay runs.

Request

POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/payrun/{payRunId}/setuiunlockstate

Path parameters

Parameter name Value Description Additional
payRunId int32 Required
businessId string Required

Request body

The request body takes a complete SetPayRunUIUnlockStateRequest resource, containing the following writable properties:

{
    "enableUIUnlock": "boolean"
}

Properties

Name Type
enableUIUnlock boolean

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK