{"id":22450,"date":"2024-02-15T14:48:40","date_gmt":"2024-02-15T22:48:40","guid":{"rendered":"https:\/\/docs.extraview.com\/v22\/book\/runreport\/"},"modified":"2024-03-07T10:09:21","modified_gmt":"2024-03-07T18:09:21","slug":"runreport","status":"publish","type":"page","link":"https:\/\/docs.extraview.com\/v22\/runreport\/","title":{"rendered":"run_report"},"content":{"rendered":"<p style=\"color: #333333; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\">This function runs an existing report, using its report_id obtained from the get_reports function.<\/p>\n<h3 style=\"color: #555555; font-size: 12pt; font-family: Arial, Verdana, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\">SYNTAX<\/h3>\n<p style=\"color: #333333; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\"><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">http:\/\/www.myserver.com\/evj\/ExtraView\/ev_api.action?<br \/>\nuser_id=username<br \/>\n&amp;password=password<\/span>\u00a0OR\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">[&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<p style=\"color: #333333; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\">\n<h3 style=\"color: #555555; font-size: 12pt; font-family: Arial, Verdana, Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\">NOTES<\/h3>\n<ul style=\"color: #333333; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\">\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">This command runs a report from the available list of public and private reports using the\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">report_id<\/span>\u00a0obtained from the\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">get_reports<\/span>\u00a0function<\/li>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">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 style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The fields returned in the results correspond to the fields defined within the report<\/li>\n<li style=\"list-style: outside url('http:\/\/docs.stg.extraview.com\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The parameter report_id specifes 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<\/li>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">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\" style=\"font-family: courier, monospace; color: #aa0000;\">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 style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The parameter named\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">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\" style=\"font-family: courier, monospace; color: #aa0000;\">p_page_length<\/span>, which defines the number of results to retrieve. If there is a possibility that\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">record_start<\/span>\u00a0can be greater than\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">page_length<\/span>, you must use the parameter named\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">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 style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The optional parameter\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">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 style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The optional parameter\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">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\" style=\"font-family: courier, monospace; color: #aa0000;\">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\" style=\"font-family: courier, monospace; color: #aa0000;\">persist_handle<\/span>\u00a0identifies the result set, qualified by the\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">user_id<\/span>, that is used to maintain the result set information across multiple API calls. The rules for using\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">persist_handle<\/span>\u00a0are as follows:\n<ul>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">A new result set is generated whenever\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">record_start=1<\/span>; an existing result set is used whenever\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">record_start<\/span>\u00a0&gt; 1<\/li>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The same\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">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 style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">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 style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The parameters represented by\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">field1=value1<\/span>\u00a0and\u00a0<span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: #aa0000;\">field2=value2<\/span>\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 style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The predefined example runtime filers are:\n<ul>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\"><code style=\"font-family: courier, monospace; color: #aa0000;\">DATE_CREATED<\/code>\u00a0&#8211; Date Created<\/li>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\"><code style=\"font-family: courier, monospace; color: #aa0000;\">TIMESTAMP\u00a0<\/code>&#8211; Last Modified<\/li>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\"><code style=\"font-family: courier, monospace; color: #aa0000;\">PRIORITY\u00a0<\/code>&#8211; Priority<\/li>\n<\/ul>\n<\/li>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The example parameters for the call are:\n<p><code style=\"font-family: courier, monospace; color: #aa0000;\">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 style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The basic syntax of each runtime filter is a set of following six form parameters\n<p>1.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_fset<\/code><br \/>\n2.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_fieldName<\/code><br \/>\n3.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_operator<\/code><br \/>\n4.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_value1_EVDISPLAY<\/code><br \/>\n5.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_mvalue1<\/code><br \/>\n6.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_value2<\/code><\/li>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The values of each parameter are:\n<p>1.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_fset<\/code>\u00a0&#8211;\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_fset<\/code>\u00a0is always set to\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">0<\/code>, like\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_fset=0<\/code><\/p>\n<p>2.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_fieldName<\/code>\u00a0&#8211;\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_fieldName<\/code>\u00a0is the Data Dictionary name, such as\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_fieldName=DATE_CREATED<\/code>,\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_fieldName=TIMESTAMP<\/code>, and\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_fieldName=PRIORITY<\/code><\/p>\n<p>3.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_operator<\/code>\u00a0&#8211;\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">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<\/p>\n<p><code style=\"font-family: courier, monospace; color: #aa0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0 =<\/code><br \/>\n<code style=\"font-family: courier, monospace; color: #aa0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0 &gt;<\/code><br \/>\n<code style=\"font-family: courier, monospace; color: #aa0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;<\/code><br \/>\n<code style=\"font-family: courier, monospace; color: #aa0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;&gt;<\/code><br \/>\n<code style=\"font-family: courier, monospace; color: #aa0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;=<\/code><br \/>\n<code style=\"font-family: courier, monospace; color: #aa0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0 &gt;=<\/code><br \/>\n<code style=\"font-family: courier, monospace; color: #aa0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0 contains<\/code><br \/>\n<code style=\"font-family: courier, monospace; color: #aa0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0 not_empty<\/code><br \/>\n<code style=\"font-family: courier, monospace; color: #aa0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0 empty<\/code><br \/>\n<code style=\"font-family: courier, monospace; color: #aa0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0 between<\/code><\/p>\n<p>4.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_value1_EVDISPLAY<\/code>\u00a0&#8211; for\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">POPUP<\/code>,\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">DATE\u00a0<\/code>and\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">DAY\u00a0<\/code>display type fields, you need to specify this value<\/p>\n<p>For\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">DATE\u00a0<\/code>and\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">DAY\u00a0<\/code>fields,\u00a0 an example is\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_value1_EVDISPLAY=09\/08\/2017<\/code><\/p>\n<p>For\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">POPUP\u00a0<\/code>fields an example is\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_value1_EVDISPLAY=P 2<\/code><\/p>\n<p>Note: you need to have the parameter\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">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.<\/p>\n<p>5.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_mvalue1<\/code>\u00a0&#8211; All display types, except\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">POPUP<\/code>\u00a0need to specify the database values<\/p>\n<p>For\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">DATE\u00a0<\/code>and\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">DAY<\/code>\u00a0fields, you need to specify the same value of\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_value1_EVDISPLAY<\/code>, for example\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_mvalue1=09\/08\/2017<\/code><\/p>\n<p>For\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">POPUP<\/code>\u00a0fields, you don&#8217;t need to specify any parameter if\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">api_reverse_lookup=YES<\/code><\/p>\n<p>For other display types, you need to specify the database values<\/p>\n<p>6.\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_value2<\/code>\u00a0&#8211;\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_value2<\/code>\u00a0is only used for\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">DATE\u00a0<\/code>and\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">DAY\u00a0<\/code>fields when you using the\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">between<\/code>\u00a0operator, for example\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">p_value2=09\/30\/2017<\/code><\/li>\n<\/ul>\n<\/li>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">The optional\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">access_token<\/code>\u00a0parameter allows you to use a valid OAuth2 token obtained with the\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">get_token<\/code>\u00a0command.\u00a0 If you provide the\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">access_token<\/code>\u00a0parameter, then the\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">user_id<\/code>\u00a0and\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">password<\/code>\u00a0parameters should not be provided.\u00a0 This prevents the password being sent in clear text over your network connection<\/li>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">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 style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">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 style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">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 style=\"font-family: courier, monospace; color: #aa0000;\">search\u00a0<\/code>API command.\u00a0 The\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">search\u00a0<\/code>API command has more flexibility in this case<\/li>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">If the data returned includes an image, the data for the image will be base 64 encoded.\u00a0 However, the optional parameter\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">exclude_data_images<\/code>\u00a0will inhibit images embedded within HTML Area fields from being output, if set to a value of\u00a0<code style=\"font-family: courier, monospace; color: #aa0000;\">yes<\/code><\/li>\n<li style=\"list-style: outside url('\/misc\/menu-collapsed.png') disc; padding: 0px 0px 3px;\">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<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This function runs an existing report, using its report_id 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 the available list&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_lmt_disableupdate":"","_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-22450","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\/v22\/runreport\/\" \/>\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 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 the available list...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.extraview.com\/v22\/runreport\/\" \/>\n<meta property=\"og:site_name\" content=\"Product Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-07T18:09:21+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\/v22\/runreport\/\",\"url\":\"https:\/\/docs.extraview.com\/v22\/runreport\/\",\"name\":\"run_report - Product Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/docs.extraview.com\/v22\/#website\"},\"datePublished\":\"2024-02-15T22:48:40+00:00\",\"dateModified\":\"2024-03-07T18:09:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.extraview.com\/v22\/runreport\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.extraview.com\/v22\/runreport\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.extraview.com\/v22\/runreport\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.extraview.com\/v22\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"run_report\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.extraview.com\/v22\/#website\",\"url\":\"https:\/\/docs.extraview.com\/v22\/\",\"name\":\"ExtraView Product Documentation\",\"description\":\"ExtraView Documentation\",\"publisher\":{\"@id\":\"https:\/\/docs.extraview.com\/v22\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.extraview.com\/v22\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/docs.extraview.com\/v22\/#organization\",\"name\":\"ExtraView Corporation\",\"url\":\"https:\/\/docs.extraview.com\/v22\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.extraview.com\/v22\/#\/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\/v22\/#\/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\/v22\/runreport\/","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 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 the available list...","og_url":"https:\/\/docs.extraview.com\/v22\/runreport\/","og_site_name":"Product Documentation","article_modified_time":"2024-03-07T18:09:21+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\/v22\/runreport\/","url":"https:\/\/docs.extraview.com\/v22\/runreport\/","name":"run_report - Product Documentation","isPartOf":{"@id":"https:\/\/docs.extraview.com\/v22\/#website"},"datePublished":"2024-02-15T22:48:40+00:00","dateModified":"2024-03-07T18:09:21+00:00","breadcrumb":{"@id":"https:\/\/docs.extraview.com\/v22\/runreport\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.extraview.com\/v22\/runreport\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.extraview.com\/v22\/runreport\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.extraview.com\/v22\/"},{"@type":"ListItem","position":2,"name":"run_report"}]},{"@type":"WebSite","@id":"https:\/\/docs.extraview.com\/v22\/#website","url":"https:\/\/docs.extraview.com\/v22\/","name":"ExtraView Product Documentation","description":"ExtraView Documentation","publisher":{"@id":"https:\/\/docs.extraview.com\/v22\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.extraview.com\/v22\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/docs.extraview.com\/v22\/#organization","name":"ExtraView Corporation","url":"https:\/\/docs.extraview.com\/v22\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.extraview.com\/v22\/#\/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\/v22\/#\/schema\/logo\/image\/"}}]}},"taxonomy_info":[],"featured_image_src_large":false,"author_info":{"display_name":"carl.koppel","author_link":"https:\/\/docs.extraview.com\/v22\/author\/carl-koppel\/"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/docs.extraview.com\/v22\/wp-json\/wp\/v2\/pages\/22450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.extraview.com\/v22\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.extraview.com\/v22\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.extraview.com\/v22\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.extraview.com\/v22\/wp-json\/wp\/v2\/comments?post=22450"}],"version-history":[{"count":0,"href":"https:\/\/docs.extraview.com\/v22\/wp-json\/wp\/v2\/pages\/22450\/revisions"}],"wp:attachment":[{"href":"https:\/\/docs.extraview.com\/v22\/wp-json\/wp\/v2\/media?parent=22450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}