Updates permissions for the employee document with the specified ID.

Request

PUT https://api.yourpayroll.com.au/api/v2/business/{businessId}/employee/{employeeId}/document

Path parameters

Parameter name Value Description Additional
businessId string Required
employeeId string Required

Request body

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

{
    "id": "int32",
    "visible": "boolean"
}

Properties

Name Type
id int32
visible boolean

Response

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

Status code Description Resource
200 OK

OK

EmployeeDocumentModel