Updates permissions for the employee document with the specified ID.
PUT https://api.yourpayroll.co.uk/api/v2/business/{businessId}/employee/{employeeId}/document
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required | |
employeeId | string | Required |
The request body takes a complete UpdateEmployeeDocumentPermissionsModel resource, containing the following writable properties:
{
"id": "int32",
"requiresEmployeeAcknowledgement": "boolean",
"sendInitialNotificationOn": "date-time",
"sendNotificationImmediately": "boolean",
"sendNotificationToEmployee": "boolean",
"sendReminderEveryXDays": "int32",
"visible": "boolean"
}
Name | Type | Description |
---|---|---|
id | int32 | Int32 |
requiresEmployeeAcknowledgement | boolean | Boolean |
sendInitialNotificationOn | date-time |
Nullable |
sendNotificationImmediately | boolean | Boolean |
sendNotificationToEmployee | boolean | Boolean |
sendReminderEveryXDays | int32 |
Nullable |
visible | boolean | Boolean |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
EmployeeDocumentModel |
Powered by DapperDox