class EuGrantTransferRestServiceImpl extends BaseRestService implements EuGrantTransferRestService {

    @Override
    public RestResult<Void> uploadGrantAgreement(long applicationId, String contentType, long size, String originalFilename, byte[] multipartFileBytes) {
        String url = format("%s/%s/%s?filename=%s", REST_URL, "grant-agreement", applicationId, originalFilename);
        return postWithRestResult(url, multipartFileBytes, createFileUploadHeader(contentType, size), Void.class);
    }

}