{"id":24259,"date":"2024-02-15T14:53:34","date_gmt":"2024-02-15T22:53:34","guid":{"rendered":"https:\/\/docs.extraview.com\/v25\/book\/history-1\/"},"modified":"2025-02-17T10:02:40","modified_gmt":"2025-02-17T18:02:40","slug":"history-1","status":"publish","type":"page","link":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-1\/","title":{"rendered":"history"},"content":{"rendered":"<p >The history API command returns all the changes to item records, from a specified point in time to the current time.<\/p>\n<h3 >\n\tSYNTAX<\/h3>\n<p ><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">http:\/\/www.myserver.com\/evj\/ExtraView\/ev_api.action?<br \/>\n\tuser_id=username<br \/>\n\t&amp;password=password<\/span><span>&nbsp;<\/span>OR<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">[&amp;access_token=token-value]<br \/>\n\t&amp;password=password<br \/>\n\t&amp;statevar=history<br \/>\n\t&amp;cutoff=timestamp<br \/>\n\t[&amp;cutoff_end=timestamp]<br \/>\n\t&amp;evhist_sellist=selectionList<br \/>\n\t[&amp;hist_range_end=timestamp]<br \/>\n\t[&amp;hist_range_start=timestamp]<br \/>\n\t[&amp;username_display=ID | LAST | FIRST]<br \/>\n\t[&amp;dd_name_n=value]<br \/>\n\t[&amp;show_attributes=YES | NO]<\/span><\/p>\n<h3 >\n\tNOTES<\/h3>\n<p >The<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">timestamp<\/span><span>&nbsp;<\/span>refers to the ITEM.LAST_DATE_UPDATED and the ITEM_HIST.LAST_DATE_UPDATED fields in the database. It is provided within the command in a value of any valid format allowed by ExtraView. If the value supplied can be misconstrued, the user\u2019s locale is used to determine the meaning of the date.<\/p>\n<p >The<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">cutoff timestamp<\/span><span>&nbsp;<\/span>provides the current value of the fields. The<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">cutoff timestamp<\/span><span>&nbsp;<\/span>value is not included in the issues generated by this command; that is, the comparison is<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">item timestamp is greater than cutoff timestamp<\/span>. The<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">cutoff<\/span><span>&nbsp;<\/span>parameter is required.<\/p>\n<p >The<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">cutoff_end<\/span><span>&nbsp;<\/span>parameter is optional. If omitted, there all issues up until the current time are retrieved. If provided, the value must be greater than the value of<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">cutoff<\/span>. This can be used to limit the items for which history is generated to a specific time period.<\/p>\n<p >The<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">evhist_sellist<\/span><span>&nbsp;<\/span>parameter is a comma-delimited list of field names. This is an optional parameter, and if provided is a list of the fields that are output by the command. If it is not provided, the field list is taken from the detailed report of the user\u2019s current business area and project.<\/p>\n<p ><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">hist_range_start<\/span><span>&nbsp;<\/span>and<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">hist_range_end<\/span><span>&nbsp;<\/span>are optional parameters. If omitted, then the items retrieved are generated based upon updates that occured between these times. If provided then the query becomes a range query, where<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">hist_range_start<\/span><span>&nbsp;<\/span>is the beginning time and<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">hist_range_start<\/span><span>&nbsp;<\/span>is the end time of the updates to the records retrieved.<\/p>\n<p >The optional parameter<span>&nbsp;<\/span><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">username_display<\/span><span>&nbsp;<\/span>may 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.<\/p>\n<p ><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">dd_name_n=value<\/span><span>&nbsp;<\/span>represents an optional list of name value pairs to be used as filters on the query that returns results for the command.<\/p>\n<p >The fields returned by the command are formatted as XML data.<\/p>\n<p >The fields returned in the XML data are subject to two restrictions. The user must have read permission for the field, and the field must exist on the detailed report layout for the user\u2019s current area and project settings.<\/p>\n<p >The item fields returned by the command are in the same XML format as those returned by the API get command.<\/p>\n<p >The optional&nbsp;<code style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">access_token<\/code>&nbsp;parameter allows you to use a valid OAuth2 token obtained with the&nbsp;<code style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">get_token<\/code>&nbsp;command.&nbsp; If you provide the&nbsp;<code style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">access_token<\/code>&nbsp;parameter, then the&nbsp;<code style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">user_id<\/code>&nbsp;and&nbsp;<code style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">password<\/code>&nbsp;parameters should not be provided.&nbsp; This prevents the password being sent in clear text over your network connection.<\/p>\n<p >The item fields returned may contain repeating row data within the XML. If a deleted item record is encountered in the returned data, this will be shown in the XML as follows \u2013<\/p>\n<p ><span class=\"fixedWidthFont\" style=\"font-family: courier, monospace; color: rgb(170, 0, 0);\">&lt;DELETED_RECORD ID=&#8217;item id&#8217; FULL_TIMESTAMP=&#8217;issue timestamp&#8217;\/&gt;<\/span><\/p>\n<p >This command provides a convenient method of determining all changes to the ExtraView database since a point in time, to be used to synchronize data with another ExtraView instance, or with a completely separate application (For example, ExtraView enables the synchronization of data with the Perforce SCM system with this command).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The history API command returns all the changes to item records, from a specified point in time to the current time. SYNTAX http:\/\/www.myserver.com\/evj\/ExtraView\/ev_api.action? user_id=username &amp;password=password&nbsp;OR&nbsp;[&amp;access_token=token-value] &amp;password=password &amp;statevar=history &amp;cutoff=timestamp [&amp;cutoff_end=timestamp] &amp;evhist_sellist=selectionList [&amp;hist_range_end=timestamp] [&amp;hist_range_start=timestamp] [&amp;username_display=ID | LAST | FIRST] [&amp;dd_name_n=value] [&amp;show_attributes=YES | NO] NOTES The&nbsp;timestamp&nbsp;refers to the ITEM.LAST_DATE_UPDATED and the ITEM_HIST.LAST_DATE_UPDATED fields in the database. It is&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":24223,"menu_order":52,"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-24259","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>history - 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\/history-1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"history - Product Documentation\" \/>\n<meta property=\"og:description\" content=\"The history API command returns all the changes to item records, from a specified point in time to the current time. SYNTAX http:\/\/www.myserver.com\/evj\/ExtraView\/ev_api.action? user_id=username &amp;password=password&nbsp;OR&nbsp;[&amp;access_token=token-value] &amp;password=password &amp;statevar=history &amp;cutoff=timestamp [&amp;cutoff_end=timestamp] &amp;evhist_sellist=selectionList [&amp;hist_range_end=timestamp] [&amp;hist_range_start=timestamp] [&amp;username_display=ID | LAST | FIRST] [&amp;dd_name_n=value] [&amp;show_attributes=YES | NO] NOTES The&nbsp;timestamp&nbsp;refers to the ITEM.LAST_DATE_UPDATED and the ITEM_HIST.LAST_DATE_UPDATED fields in the database. It is...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-1\/\" \/>\n<meta property=\"og:site_name\" content=\"Product Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-17T18:02:40+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=\"3 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\/history-1\/\",\"url\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-1\/\",\"name\":\"history - Product Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/#website\"},\"datePublished\":\"2024-02-15T22:53:34+00:00\",\"dateModified\":\"2025-02-17T18:02:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-1\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-1\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-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\":\"history\"}]},{\"@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":"history - 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\/history-1\/","og_locale":"en_US","og_type":"article","og_title":"history - Product Documentation","og_description":"The history API command returns all the changes to item records, from a specified point in time to the current time. SYNTAX http:\/\/www.myserver.com\/evj\/ExtraView\/ev_api.action? user_id=username &amp;password=password&nbsp;OR&nbsp;[&amp;access_token=token-value] &amp;password=password &amp;statevar=history &amp;cutoff=timestamp [&amp;cutoff_end=timestamp] &amp;evhist_sellist=selectionList [&amp;hist_range_end=timestamp] [&amp;hist_range_start=timestamp] [&amp;username_display=ID | LAST | FIRST] [&amp;dd_name_n=value] [&amp;show_attributes=YES | NO] NOTES The&nbsp;timestamp&nbsp;refers to the ITEM.LAST_DATE_UPDATED and the ITEM_HIST.LAST_DATE_UPDATED fields in the database. It is...","og_url":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-1\/","og_site_name":"Product Documentation","article_modified_time":"2025-02-17T18:02:40+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-1\/","url":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-1\/","name":"history - Product Documentation","isPartOf":{"@id":"https:\/\/docs.extraview.com\/v25\/#website"},"datePublished":"2024-02-15T22:53:34+00:00","dateModified":"2025-02-17T18:02:40+00:00","breadcrumb":{"@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.extraview.com\/v25\/extraview-25\/application-programming-interface-1\/history-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":"history"}]},{"@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\/24259","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=24259"}],"version-history":[{"count":0,"href":"https:\/\/docs.extraview.com\/v25\/wp-json\/wp\/v2\/pages\/24259\/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=24259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}