{"id":24266,"date":"2024-02-15T14:53:34","date_gmt":"2024-02-15T22:53:34","guid":{"rendered":"https:\/\/docs.extraview.com\/v25\/book\/runreport-1\/"},"modified":"2025-02-17T10:08:28","modified_gmt":"2025-02-17T18:08:28","slug":"runreport-1","status":"publish","type":"page","link":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/","title":{"rendered":"run_report"},"content":{"rendered":"<p>This function runs an existing report, using its report_id, which can be obtained from the get_reports function.<\/p>\n<h3>SYNTAX<\/h3>\n<p><span class=\"fixedWidthFont\">http:\/\/www.myserver.com\/evj\/ExtraView\/ev_api.action?<br \/>\nuser_id=username<br \/>\n&amp;password=password<\/span>\u00a0OR\u00a0<span class=\"fixedWidthFont\">[&amp;access_token=token-value]<br \/>\n&amp;statevar=run_report<br \/>\n[&amp;username_display=ID | LAST | FIRST]<br \/>\n[&amp;api_reverse_lookup=NO | YES]<br \/>\n&amp;report_id=nnnn<br \/>\n&amp;page_length=100<br \/>\n&amp;record_start=1<br \/>\n&amp;record_count=120 \u200b[&amp;p_output_type=MS_EXCEL | MS_WORD | PDF | TEXT]<br \/>\n[&amp;persist_handle=xxx] [&amp;exclude_data_images=no | yes]<br \/>\n[&amp;field1=value1] [&amp;field2=value2] [&amp;fieldn=valuen]<\/span><\/p>\n<h3>NOTES<\/h3>\n<ul>\n<li>This command runs a report from the available list of public and private reports using the\u00a0<span class=\"fixedWidthFont\">report_id<\/span>\u00a0obtained from the\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">get_reports<\/span>\u00a0function<\/li>\n<li>The report may be output to different file formats with the optional\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_output_type\u00a0<\/code>parameter.\u00a0 You may output the report to Microsoft Excel, Microsoft Word, Adobe PDF or text.\u00a0 If the parameter is not provided, the report will output to XML<\/li>\n<li>The fields returned in the results correspond to the fields defined within the report<\/li>\n<li>The parameter report_id specifies the ID of the report as stored in ExtraView.\u00a0 This ID may be seen on the report screen or within the report editor for the report or by using the get_reports API function<\/li>\n<li>The parameter named page_length is required and gives the ExtraView API the maximum number of records to return with one call. In conjunction with the parameter named\u00a0<span class=\"fixedWidthFont\">p_record_start<\/span>, you can build JavaScript functions to retrieve paginated results, if you believe your searches can bring up large number of records<\/li>\n<li>The parameter named\u00a0<span class=\"fixedWidthFont\">record_start<\/span>\u00a0is required and gives ExtraView the number of the first record in the search results to display. This is used in conjunction with the parameter named\u00a0<span class=\"fixedWidthFont\">p_page_length<\/span>, which defines the number of results to retrieve. If there is a possibility that\u00a0<span class=\"fixedWidthFont\">record_start<\/span>\u00a0can be greater than\u00a0<span class=\"fixedWidthFont\">page_length<\/span>, you must use the parameter named\u00a0<span class=\"fixedWidthFont\">record_count<\/span>. Using these parameters, you can build functions to retrieve paginated results if you believe your searches can bring up large number of records<\/li>\n<li>The optional parameter\u00a0<span class=\"fixedWidthFont\">api_reverse_lookup<\/span>\u00a0has a default value of NO. If set to YES, then all the user defined field values are expressed with the field titles as opposed to the field&#8217;s UDF_ID or NAME.\u00a0 This is used when the report has runtime filters, to simplify the operation of the command for end users who may not be aware of the ID&#8217;s and NAME&#8217;s of fields<\/li>\n<li>The optional parameter\u00a0<span class=\"fixedWidthFont\">username_display<\/span>\u00a0may be used to override the behavior setting named USERNAME_DISPLAY, for the duration of the execution of a single API call. This allows the developer to return the user names in a different format than the system-wide default. The optional parameter named\u00a0<span class=\"fixedWidthFont\">persist_handle<\/span>\u00a0may be used to paginate the result set by spreading the results returned over several separate calls using this API command. The\u00a0<span class=\"fixedWidthFont\">persist_handle<\/span>\u00a0identifies the result set, qualified by the\u00a0<span class=\"fixedWidthFont\">user_id<\/span>, that is used to maintain the result set information across multiple API calls. The rules for using\u00a0<span class=\"fixedWidthFont\">persist_handle<\/span>\u00a0are as follows:\n<ul>\n<li>A new result set is generated whenever\u00a0<span class=\"fixedWidthFont\">record_start=1<\/span>; an existing result set is used whenever\u00a0<span class=\"fixedWidthFont\">record_start<\/span>\u00a0&gt; 1<\/li>\n<li>The same\u00a0<span class=\"fixedWidthFont\">persist_handle<\/span>\u00a0value can only be used for subsequent pages of the result set on the same node; in clustered environments, if a subsequent call is directed to another node, the result set will not be found and results will not be returned<\/li>\n<li>The maximum number of pages returned is 10. This means that the\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">page_length<\/span>\u00a0must be greater than 1\/10th the size of the result set (# of rows returned) or the results will be truncated with no error indication.<\/li>\n<\/ul>\n<\/li>\n<li>The parameters represented by\u00a0<code>field1=value1<\/code>\u00a0and\u00a0<code>field2=value2<\/code>\u00a0provide runtime filters that are required by the report. For a name value pair to be valid with this API call, the field must have been defined within the report as a runtime filter. You must provide a name value pair for each and every runtime filter in the report you are running. Failure to do this will result in an error being displayed.\u00a0 More sophisticated runtime filters may be defined as follows in the following example.\u00a0 This defines 3 runtime filters, each predefined in the report editor within the desktop user interface:\n<ul>\n<li>The predefined example runtime filers are:\n<ul>\n<li><code>DATE_CREATED<\/code>\u00a0&#8211; Date Created<\/li>\n<li><code>TIMESTAMP\u00a0<\/code>&#8211; Last Modified<\/li>\n<li><code>PRIORITY\u00a0<\/code>&#8211; Priority<\/li>\n<\/ul>\n<\/li>\n<li>The example parameters for the call are:<br \/>\n<code>user_id=xx&amp;password=xx<br \/>\n&amp;statevar=run_report<br \/>\n&amp;page_length=100<br \/>\n&amp;record_start=1<br \/>\n&amp;username_display=LAST<br \/>\n&amp;report_id=1234<br \/>\n&amp;api_reverse_lookup=YES<br \/>\n&amp;p_ql_search_mode=ADVANCED<br \/>\n&amp;p_fset=0<br \/>\n&amp;p_fieldName=DATE_CREATED<br \/>\n&amp;p_operator=between<br \/>\n&amp;p_value1_EVDISPLAY=09\/01\/2017<br \/>\n&amp;p_mvalue1=09\/01\/2017<br \/>\n&amp;p_value2=09\/30\/2017<br \/>\n&amp;p_fset=0<br \/>\n&amp;p_fieldName=TIMESTAMP<br \/>\n&amp;p_operator=&gt;<br \/>\n&amp;p_value1_EVDISPLAY=09\/08\/2017<br \/>\n&amp;p_mvalue1=09\/08\/2017<br \/>\n&amp;p_fset=0<br \/>\n&amp;p_fieldName=PRIORITY<br \/>\n&amp;p_operator==<br \/>\n&amp;p_value1_EVDISPLAY=P 2<br \/>\n&amp;p_mvalue1=<\/code><\/li>\n<li>The basic syntax of each runtime filter is a set of following six form parameters:<br \/>\n1.\u00a0<code>p_fset<\/code><br \/>\n2.\u00a0<code>p_fieldName<\/code><br \/>\n3.\u00a0<code>p_operator<\/code><br \/>\n4.\u00a0<code>p_value1_EVDISPLAY<\/code><br \/>\n5.\u00a0<code>p_mvalue1<\/code><br \/>\n6.\u00a0<code>p_value2<\/code><\/li>\n<li>The values of each parameter are:<br \/>\n1.\u00a0<code>p_fset<\/code>\u00a0&#8211;\u00a0<code>p_fset<\/code>\u00a0is always set to\u00a0<code>0<\/code>, like\u00a0<code>p_fset=0<\/code><br \/>\n2.\u00a0<code>p_fieldName<\/code>\u00a0&#8211;\u00a0<code>p_fieldName<\/code>\u00a0is the Data Dictionary name, such as\u00a0<code>p_fieldName=DATE_CREATED<\/code>,\u00a0<code>p_fieldName=TIMESTAMP<\/code>, and\u00a0<code>p_fieldName=PRIORITY<\/code><br \/>\n3.\u00a0<code>p_operator<\/code>\u00a0&#8211;\u00a0<code>p_operator\u00a0<\/code>is one of the following values but depends on the display type of the field, the same as in the desktop user interface<br \/>\n<code>\u00a0\u00a0\u00a0\u00a0\u00a0 =<\/code><br \/>\n<code>\u00a0\u00a0\u00a0\u00a0\u00a0 &gt;<\/code><br \/>\n<code>\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;<\/code><br \/>\n<code>\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;&gt;<\/code><br \/>\n<code>\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;=<\/code><br \/>\n<code>\u00a0\u00a0\u00a0\u00a0\u00a0 &gt;=<\/code><br \/>\n<code>\u00a0\u00a0\u00a0\u00a0\u00a0 contains<\/code><br \/>\n<code>\u00a0\u00a0\u00a0\u00a0\u00a0 not_empty<\/code><br \/>\n<code>\u00a0\u00a0\u00a0\u00a0\u00a0 empty<\/code><br \/>\n<code>\u00a0\u00a0\u00a0\u00a0\u00a0 between<\/code><br \/>\n4.\u00a0<code>p_value1_EVDISPLAY<\/code>\u00a0&#8211; for\u00a0<code>POPUP<\/code>,\u00a0<code>DATE\u00a0<\/code>and\u00a0<code>DAY\u00a0<\/code>display type fields, you need to specify this value<br \/>\nFor\u00a0<code>DATE\u00a0<\/code>and\u00a0<code>DAY\u00a0<\/code>fields,\u00a0 an example is\u00a0<code>p_value1_EVDISPLAY=09\/08\/2017<\/code><br \/>\nFor\u00a0<code>POPUP\u00a0<\/code>fields an example is\u00a0<code>p_value1_EVDISPLAY=P 2<\/code><br \/>\nNote: you need to have the parameter\u00a0<code>api_reverse_lookup=YES\u00a0<\/code>to enable the reverse lookup of list fields using their title rather than their name or the database UDF_LIST_ID.<br \/>\n5.\u00a0<code>p_mvalue1<\/code>\u00a0&#8211; All display types, except\u00a0<code>POPUP<\/code>\u00a0need to specify the database values<br \/>\nFor\u00a0<code>DATE\u00a0<\/code>and\u00a0<code>DAY<\/code>\u00a0fields, you need to specify the same value of\u00a0<code>p_value1_EVDISPLAY<\/code>, for example\u00a0<code>p_mvalue1=09\/08\/2017<\/code><br \/>\nFor\u00a0<code>POPUP<\/code>\u00a0fields, you don&#8217;t need to specify any parameter if\u00a0<code>api_reverse_lookup=YES<\/code><br \/>\nFor other display types, you need to specify the database values<br \/>\n6.\u00a0<code>p_value2<\/code>\u00a0&#8211;\u00a0<code>p_value2<\/code>\u00a0is only used for\u00a0<code>DATE\u00a0<\/code>and\u00a0<code>DAY\u00a0<\/code>fields when you using the\u00a0<code>between<\/code>\u00a0operator, for example\u00a0<code>p_value2=09\/30\/2017<\/code><\/li>\n<\/ul>\n<\/li>\n<li>The optional\u00a0<code>access_token<\/code>\u00a0parameter allows you to use a valid OAuth2 token obtained with the\u00a0<code>get_token<\/code>\u00a0command.\u00a0 If you provide the\u00a0<code>access_token<\/code>\u00a0parameter, then the\u00a0<code>user_id<\/code>\u00a0and\u00a0<code>password<\/code>\u00a0parameters should not be provided.\u00a0 This prevents the password being sent in clear text over your network connection<\/li>\n<li>Not all report types are supported by this command.\u00a0 The supported report types are Column, Summary, Matrix and Aging.\u00a0 The remaining report types generate graphical information which is not suitable for alphanumeric output<\/li>\n<li>If the report you are running uses the advanced report filters, then this automatically implies that the report will also use expanded report filters<\/li>\n<li>This API command uses the filters specified in the report.\u00a0 Any runtime filters you have within the report can be replaced with filters specified within the command.\u00a0 Note that if you wish to run a report with runtime filters and want to use advanced search features such as numeric and date operators, you should use the\u00a0<code>search\u00a0<\/code>API command.\u00a0 The\u00a0<code>search\u00a0<\/code>API command has more flexibility in this case<\/li>\n<li>If the data returned includes an image, the data for the image will be base 64 encoded.\u00a0 However, the optional parameter\u00a0<code>exclude_data_images<\/code>\u00a0will inhibit images embedded within HTML Area fields from being output, if set to a value of\u00a0<code>yes<\/code><\/li>\n<li>If you are using this API function from within ExtraView, for example from within an email template, it is the best practice not to hard code the site URL.\u00a0 In this scenario, you should use the token $$SITE_URL$$ as a substitute for the address.\u00a0 The value of SITE_URL is determined by ExtraView when the server starts.\u00a0 If the behavior setting named SITE_URL holds a value, this is used.<\/li>\n<li>When <code>p_ql_search_mode=ADVANCED<\/code>, you must use the Advanced filters format in the <code>run_report<\/code> command. For example, if you have a hierarchy report with runtime filters such as:<br class=\"\" \/><br class=\"\" \/><code>parent level STATUS = ask at runtime<br class=\"\" \/><br class=\"\" \/>child level STATUS = ask at runtime<br class=\"\" \/><br class=\"\" \/><\/code> and you want <br class=\"\" \/><br class=\"\" \/><code>parent level status = Open and child level status = Closed<\/code><br class=\"\" \/><br class=\"\" \/>then you must send the filters in the correct order:<br class=\"\" \/><br class=\"\" \/><code>&amp;p_fset=0&amp;p_fieldName=STATUS&amp;p_value1_EVDISPLAY=Open&amp;p_fset=1&amp;p_fieldName=STATUS&amp;p_value1_EVDISPLAY=Closed<\/code><br class=\"\" \/><br class=\"\" \/>and you can then use:<br class=\"\" \/><br class=\"\" \/><code>&amp;p_fset=0&amp;p_fieldName=STATUS&amp;p_fset=1&amp;p_fieldName=STATUS&amp;p_value1_EVDISPLAY=Open&amp;p_value1_EVDISPLAY=Closed<\/code><br class=\"\" \/><br class=\"\" \/>or alternatively:<br class=\"\" \/><br class=\"\" \/><code>&amp;p_fset=0&amp;p_fset=1&amp;p_fieldName=STATUS&amp;p_fieldName=STATUSS&amp;p_value1_EVDISPLAY=Open&amp;p_value1_EVDISPLAY=Closed<\/code><br class=\"\" \/><br class=\"\" \/>Both the above will work as long as <code style=\"font-family: courier, monospace; color: #aa0000;\">p_fset=0<\/code> and <code>p_fset=1<\/code> are in the same order as: <br class=\"\" \/><br class=\"\" \/><code style=\"font-family: courier, monospace; color: #aa0000;\">&amp;p_value1_EVDISPLAY=Open and &amp;p_value1_EVDISPLAY=Closed<\/code><br class=\"\" \/><br class=\"\" \/>If you want the base level filter to be <code style=\"font-family: courier, monospace; color: #aa0000;\">Open<\/code> and the child level filter to be <code style=\"font-family: courier, monospace; color: #aa0000;\">Closed<\/code> programming arrays are built:<br class=\"\" \/><br class=\"\" \/><code style=\"font-family: courier, monospace; color: #aa0000;\">p_fset[]= {0,1}<br \/>\np_fieldName[] = {STATUS, STATUS}<br \/>\np_evdisplayvalues[] = {Open, Closed}<\/code><br class=\"\" \/><br class=\"\" \/>This shows why the order of the parameters matter.<\/li>\n<li>An example of how to express the parameters for a hierarchical report is as follows.\u00a0 Note the use of the <code>p_fset<\/code> parameters to specify the hierarchy levels.\u00a0 The base hierarchy level is set with <code>p_fset=0<\/code>:<br \/>\n<code>user_id=user_id<\/code><br \/>\n<code>&amp;password=xx<\/code><br \/>\n<code>&amp;statevar=run_report<\/code><br \/>\n<code>&amp;report_id=711<\/code><br \/>\n<code>&amp;API_REVERSE_LOOKUP=YES<\/code><br \/>\n<code>&amp;p_ql_search_mode=ADVANCED<\/code><br \/>\n<code>&amp;p_fset=1<\/code><br \/>\n<code>&amp;p_fieldName=PRIORITY<\/code><br \/>\n<code>&amp;p_operator==<\/code><br \/>\n<code>&amp;p_value1_EVDISPLAY=P%202<\/code><br \/>\n<code>&amp;p_mvalue1=<\/code><br \/>\n<code>&amp;p_fset=0<\/code><br \/>\n<code>&amp;p_fieldName=PRIORITY<\/code><br \/>\n<code>&amp;p_operator==<\/code><br \/>\n<code>&amp;p_value1_EVDISPLAY=P%203<\/code><br \/>\n<code>&amp;p_mvalue1=<\/code><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This function runs an existing report, using its report_id, which can be obtained from the get_reports function. SYNTAX http:\/\/www.myserver.com\/evj\/ExtraView\/ev_api.action? user_id=username &amp;password=password\u00a0OR\u00a0[&amp;access_token=token-value] &amp;statevar=run_report [&amp;username_display=ID | LAST | FIRST] [&amp;api_reverse_lookup=NO | YES] &amp;report_id=nnnn &amp;page_length=100 &amp;record_start=1 &amp;record_count=120 \u200b[&amp;p_output_type=MS_EXCEL | MS_WORD | PDF | TEXT] [&amp;persist_handle=xxx] [&amp;exclude_data_images=no | yes] [&amp;field1=value1] [&amp;field2=value2] [&amp;fieldn=valuen] NOTES This command runs a report from&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":24223,"menu_order":68,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_lmt_disableupdate":"no","_lmt_disable":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"class_list":["post-24266","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>run_report - Product Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"run_report - Product Documentation\" \/>\n<meta property=\"og:description\" content=\"This function runs an existing report, using its report_id, which can be obtained from the get_reports function. SYNTAX http:\/\/www.myserver.com\/evj\/ExtraView\/ev_api.action? user_id=username &amp;password=password\u00a0OR\u00a0[&amp;access_token=token-value] &amp;statevar=run_report [&amp;username_display=ID | LAST | FIRST] [&amp;api_reverse_lookup=NO | YES] &amp;report_id=nnnn &amp;page_length=100 &amp;record_start=1 &amp;record_count=120 \u200b[&amp;p_output_type=MS_EXCEL | MS_WORD | PDF | TEXT] [&amp;persist_handle=xxx] [&amp;exclude_data_images=no | yes] [&amp;field1=value1] [&amp;field2=value2] [&amp;fieldn=valuen] NOTES This command runs a report from...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/\" \/>\n<meta property=\"og:site_name\" content=\"Product Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-17T18:08:28+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/\",\"url\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/\",\"name\":\"run_report - Product Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/#website\"},\"datePublished\":\"2024-02-15T22:53:34+00:00\",\"dateModified\":\"2025-02-17T18:08:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.extraview.com\/v25\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ExtraView 25\",\"item\":\"https:\/\/docs.extraview.com\/v25\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Application Programming Interface\",\"item\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"run_report\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/#website\",\"url\":\"https:\/\/docs.extraview.com\/v25\/\",\"name\":\"ExtraView Product Documentation\",\"description\":\"ExtraView Documentation\",\"publisher\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.extraview.com\/v25\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/#organization\",\"name\":\"ExtraView Corporation\",\"url\":\"https:\/\/docs.extraview.com\/v25\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png\",\"contentUrl\":\"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png\",\"width\":512,\"height\":512,\"caption\":\"ExtraView Corporation\"},\"image\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"run_report - Product Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/","og_locale":"en_US","og_type":"article","og_title":"run_report - Product Documentation","og_description":"This function runs an existing report, using its report_id, which can be obtained from the get_reports function. SYNTAX http:\/\/www.myserver.com\/evj\/ExtraView\/ev_api.action? user_id=username &amp;password=password\u00a0OR\u00a0[&amp;access_token=token-value] &amp;statevar=run_report [&amp;username_display=ID | LAST | FIRST] [&amp;api_reverse_lookup=NO | YES] &amp;report_id=nnnn &amp;page_length=100 &amp;record_start=1 &amp;record_count=120 \u200b[&amp;p_output_type=MS_EXCEL | MS_WORD | PDF | TEXT] [&amp;persist_handle=xxx] [&amp;exclude_data_images=no | yes] [&amp;field1=value1] [&amp;field2=value2] [&amp;fieldn=valuen] NOTES This command runs a report from...","og_url":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/","og_site_name":"Product Documentation","article_modified_time":"2025-02-17T18:08:28+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/","url":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/","name":"run_report - Product Documentation","isPartOf":{"@id":"https:\/\/docs.extraview.com\/v25\/#website"},"datePublished":"2024-02-15T22:53:34+00:00","dateModified":"2025-02-17T18:08:28+00:00","breadcrumb":{"@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/runreport-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.extraview.com\/v25\/"},{"@type":"ListItem","position":2,"name":"ExtraView 25","item":"https:\/\/docs.extraview.com\/v25\/"},{"@type":"ListItem","position":3,"name":"Application Programming Interface","item":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/"},{"@type":"ListItem","position":4,"name":"run_report"}]},{"@type":"WebSite","@id":"https:\/\/docs.extraview.com\/v25\/#website","url":"https:\/\/docs.extraview.com\/v25\/","name":"ExtraView Product Documentation","description":"ExtraView Documentation","publisher":{"@id":"https:\/\/docs.extraview.com\/v25\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.extraview.com\/v25\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/docs.extraview.com\/v25\/#organization","name":"ExtraView Corporation","url":"https:\/\/docs.extraview.com\/v25\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/","url":"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png","contentUrl":"https:\/\/docs-stg.extraview.com\/wp-content\/uploads\/2024\/03\/favicon.png","width":512,"height":512,"caption":"ExtraView Corporation"},"image":{"@id":"https:\/\/docs.extraview.com\/v25\/#\/schema\/logo\/image\/"}}]}},"taxonomy_info":[],"featured_image_src_large":false,"author_info":{"display_name":"carl.koppel","author_link":"https:\/\/docs.extraview.com\/v25\/author\/carl-koppel\/"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages\/24266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/comments?post=24266"}],"version-history":[{"count":0,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages\/24266\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages\/24223"}],"wp:attachment":[{"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/media?parent=24266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}