#NEWLINE# @ base . apimethod #NEWLINE# def execute( self , sort_by = None , sort_order = None ) : #NEWLINE# #INDENT# "\n        Get the view output. View output sorting can be controlled by passing\n        the sort_by and sort_order parameters.\n\n        :var sort_by: The field used for sorting. This will either be a title\n            or a custom field id.\n        :vartype sort_by: str\n\n        :var sort_order: The direction the tickets are sorted. May be one of\n            'asc' or 'desc'\n        :vartype sort_order: str\n        " #NEWLINE# url = '{0}/{1}' . format ( self . get_url ( ) , 'execute' ) #NEWLINE# params = base . get_params ( ( 'sort_by' , 'sort_order' ) , locals ( ) ) #NEWLINE# return ( http . Request ( 'GET' , url , params ) , parsers . parse_json )