def METHOD_NAME(self):
    token = request.args.METHOD_NAME('token', '')
    return_record = request.args.METHOD_NAME('return_record') == 'true'
    is_preview = request.args.METHOD_NAME('is_preview') == 'true'
    return NoticeOfWorkDocumentResource.generate_now_document(token, return_record, is_preview)