Takes the specified employee document and adds it as an attachment to the leave request with the specified ID.

Request

POST https://api.nzpayroll.co.nz/api/v2/business/{businessId}/employee/{employeeId}/document/{documentId}/leave/{id}

Path parameters

Parameter name Value Description Additional
documentId int32 Required
id int32 Required
businessId string Required
employeeId string Required

Response

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

Status code Description Resource
200 OK

OK