Uploads a file as a new employee document, and attaches it to the leave request with the specified ID. The request should be a MIME multipart file upload request.

Request

PUT https://api.yourpayroll.co.uk/api/v2/ess/{employeeId}/leave/{leaveRequestId}/attachment

Path parameters

Parameter name Value Description Additional
leaveRequestId int32 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

IHttpActionResult