<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="et">
	<id>https://kaust.excellent.ee/opendoc/index.php?action=history&amp;feed=atom&amp;title=UKU_%26_Standard_Books%27i_API</id>
	<title>UKU &amp; Standard Books'i API - Redigeerimiste ajalugu</title>
	<link rel="self" type="application/atom+xml" href="https://kaust.excellent.ee/opendoc/index.php?action=history&amp;feed=atom&amp;title=UKU_%26_Standard_Books%27i_API"/>
	<link rel="alternate" type="text/html" href="https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;action=history"/>
	<updated>2026-05-13T15:31:07Z</updated>
	<subtitle>Selle lehekülje redigeerimiste ajalugu</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;diff=290&amp;oldid=prev</id>
		<title>Konstantin: file not found response explained</title>
		<link rel="alternate" type="text/html" href="https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;diff=290&amp;oldid=prev"/>
		<updated>2018-07-19T14:00:23Z</updated>

		<summary type="html">&lt;p&gt;file not found response explained&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;et&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←Vanem redaktsioon&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Redaktsioon: 19. juuli 2018, kell 14:00&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l517&quot;&gt;517. rida:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;517. rida:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Response body format ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Response body format ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If the response is&amp;lt;syntaxhighlight&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;HTML&gt;&amp;lt;HEAD&gt;&amp;lt;TITLE&gt;File not found!&amp;lt;/TITLE&gt;&amp;lt;/HEAD&gt;&amp;lt;BODY&gt;File not found! WebPOSTAPI&amp;lt;/BODY&gt;&amp;lt;/HTML&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/syntaxhighlight&gt;it means that the connection with specified IP and port number is established, but either authorisation error has happened or the resource (WebPOSTAPI) is not available on the server.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Response is in JSON format.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Response is in JSON format.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key opendoc:diff::1.12:old-289:rev-290 --&gt;
&lt;/table&gt;</summary>
		<author><name>Konstantin</name></author>
	</entry>
	<entry>
		<id>https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;diff=289&amp;oldid=prev</id>
		<title>Konstantin: http and authorization information details</title>
		<link rel="alternate" type="text/html" href="https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;diff=289&amp;oldid=prev"/>
		<updated>2018-07-19T13:53:59Z</updated>

		<summary type="html">&lt;p&gt;http and authorization information details&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;et&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←Vanem redaktsioon&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Redaktsioon: 19. juuli 2018, kell 13:53&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;3. rida:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;3. rida:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Request ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Request ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== With authorization ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== With authorization &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in URL &lt;/ins&gt;====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://username:password@ipAddress:portNumber/WebPOSTAPI.hal?company=compNumber&amp;amp;param2=value&amp;amp;param3=value&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://username:password@ipAddress:portNumber/WebPOSTAPI.hal?company=compNumber&amp;amp;param2=value&amp;amp;param3=value&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/syntaxhighlight&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==== With authorization in request header ====&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;syntaxhighlight&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http://ipAddress:portNumber/WebPOSTAPI.hal?company=compNumber&amp;amp;param2=value&amp;amp;param3=value&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and additional header&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  Authorization: Basic [base64 encoded user:password string]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;''UKU testdatabase:''&amp;lt;syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;''UKU testdatabase:''&amp;lt;syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;https://s001.excellent.ee:6443/WebPOSTAPI.hal?company=1&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;HTTPS&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/ins&gt;https://s001.excellent.ee:6443&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/WebPOSTAPI.hal?company=1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;HTTP&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  http://s001.excellent.ee:1639&lt;/ins&gt;/WebPOSTAPI.hal?company=1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;Companies implemented 1,2,3,4,5&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;Companies implemented 1,2,3,4,5&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;19. rida:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;29. rida:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* TBD  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* TBD  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Example: &amp;lt;syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Example: &amp;lt;syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://testuser:testpassword@localhost:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8989&lt;/del&gt;/WebPOSTAPI.hal?company=1&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://testuser:testpassword@localhost:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1639&lt;/ins&gt;/WebPOSTAPI.hal?company=1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot;&gt;25. rida:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;35. rida:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Request header must contain at minimum the following header:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Request header must contain at minimum the following header:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Content-Type: application/xml&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Content-Type: application/xml&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In order to authorise not from URL but with POST request, additional header is required&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Authorization: Basic [base64 encoded user:password string]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** ''example Authorization: Basic YXBpOmFwaQ==''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* ''JSON not supported at the moment''&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* ''JSON not supported at the moment''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key opendoc:diff::1.12:old-285:rev-289 --&gt;
&lt;/table&gt;</summary>
		<author><name>Konstantin</name></author>
	</entry>
	<entry>
		<id>https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;diff=285&amp;oldid=prev</id>
		<title>Tanel: /* Response body format */</title>
		<link rel="alternate" type="text/html" href="https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;diff=285&amp;oldid=prev"/>
		<updated>2018-07-06T06:44:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Response body format&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;et&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←Vanem redaktsioon&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Redaktsioon: 6. juuli 2018, kell 06:44&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l560&quot;&gt;560. rida:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;560. rida:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Example'': &amp;lt;syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Example'': &amp;lt;syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://testuser:testpassword@localhost:8989/WebGETAPI.hal?company=1&amp;amp;report=MainRn&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://testuser:testpassword@localhost:8989/WebGETAPI.hal?company=1&amp;amp;report=MainRn&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/syntaxhighlight&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==== Report &quot;Kannete arv perioodis&quot; ====&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Report name = ''TransNumberRn''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Available parameters:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* compNumber -  the sequence number of the company in Hansa DB starting from 1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* periodStart – Perioodi algus (format dd.mm.yyyy)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* periodEnd- Perioodi lõpp format (dd.mm.yyyy)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* allComp&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** Value “0” or not presented returns only company specified in parameter compNumber.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** Value “1” returns all companies&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* byEmpl&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** Value “0” or not presented returns numbers for all employees.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** Value “1” returns numbers by employee.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* byTRDate&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** Value “0” or not presented returns numbers based on date of registration.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** Value “1” returns numbers by Transaction date.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** If invoice is inserted on 15.04.2018 and invoice date is 28.02.2018, then “0” tracks it in april, “1” in february.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Sample query for UKU:&amp;lt;syntaxhighlight&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;https://api:api@s001.excellent.ee:6443/WebGETAPI.hal?company=1&amp;amp;report=TransNumberRn&amp;amp;periodStart=01.03.2018&amp;amp;periodEnd=31.03.2018&amp;amp;allComp=1&amp;amp;byEmpl=0&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key opendoc:diff::1.12:old-284:rev-285 --&gt;
&lt;/table&gt;</summary>
		<author><name>Tanel</name></author>
	</entry>
	<entry>
		<id>https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;diff=284&amp;oldid=prev</id>
		<title>Tanel: /* Create */</title>
		<link rel="alternate" type="text/html" href="https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;diff=284&amp;oldid=prev"/>
		<updated>2018-07-05T11:21:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Create&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;a href=&quot;https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;amp;diff=284&amp;amp;oldid=283&quot;&gt;Näita muudatusi&lt;/a&gt;</summary>
		<author><name>Tanel</name></author>
	</entry>
	<entry>
		<id>https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;diff=283&amp;oldid=prev</id>
		<title>Tanel: Uus lehekülg: '== POST ==  === Request ===  ==== With authorization ==== &lt;nowiki&gt;http://username:password@ipAddress&lt;/nowiki&gt;:portNumber/WebPOSTAPI.hal?company=About:blank|comp...'</title>
		<link rel="alternate" type="text/html" href="https://kaust.excellent.ee/opendoc/index.php?title=UKU_%26_Standard_Books%27i_API&amp;diff=283&amp;oldid=prev"/>
		<updated>2018-07-05T10:54:43Z</updated>

		<summary type="html">&lt;p&gt;Uus lehekülg: &amp;#039;== POST ==  === Request ===  ==== With authorization ==== &amp;lt;nowiki&amp;gt;http://username:password@ipAddress&amp;lt;/nowiki&amp;gt;:&lt;a href=&quot;/opendoc/index.php?title=About:blank&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;About:blank (pole veel kirjutatud)&quot;&gt;portNumber&lt;/a&gt;/WebPOSTAPI.hal?company=About:blank|comp...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Uus lehekülg&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== POST ==&lt;br /&gt;
&lt;br /&gt;
=== Request ===&lt;br /&gt;
&lt;br /&gt;
==== With authorization ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://username:password@ipAddress&amp;lt;/nowiki&amp;gt;:[[About:blank|portNumber]]/WebPOSTAPI.hal?company=[[About:blank|compNumber]]&amp;amp;param2=value&amp;amp;param3=value&lt;br /&gt;
&lt;br /&gt;
UKU testdatabase:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;https://s001.excellent.ee:6443/WebPOSTAPI.hal?company=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Companies implemented 1,2,3,4,5&lt;br /&gt;
&lt;br /&gt;
User: API&lt;br /&gt;
&lt;br /&gt;
Password: api&lt;br /&gt;
&lt;br /&gt;
Required parameters: &lt;br /&gt;
&lt;br /&gt;
●    compNumber is the sequence number of the company in Hansa DB starting from 1&lt;br /&gt;
&lt;br /&gt;
Optional parameters: &lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://testuser:testpassword@localhost:8989/WebPOSTAPI.hal?company=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Request headers ====&lt;br /&gt;
Request header must contain at minimum the following header:&lt;br /&gt;
&lt;br /&gt;
Content-Type: application/xml&lt;br /&gt;
&lt;br /&gt;
''JSON not supported at the moment''&lt;br /&gt;
&lt;br /&gt;
==== Request body (POST data) format ====&lt;br /&gt;
Must be in XML format.&lt;br /&gt;
&lt;br /&gt;
General format template as follows.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
●    &amp;lt;rows&amp;gt; element is optional;&lt;br /&gt;
&lt;br /&gt;
●     IVVc is the internal system name of Invoice register in Hansa. Only following registers are supported at the moment:&lt;br /&gt;
&lt;br /&gt;
○     IVVc - Invoices&lt;br /&gt;
&lt;br /&gt;
○     CUVc - Contacts&lt;br /&gt;
&lt;br /&gt;
○     INVc - Items&lt;br /&gt;
&lt;br /&gt;
●     the register name (“IVVc”) is now included into &amp;lt;nowiki&amp;gt;&amp;lt;data&amp;gt; element of request body, but is subject to review and may be moved to URL as parameter instead.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
●    Possible to pass several ''&amp;lt;IVVc&amp;gt; elements to send several records.''&lt;br /&gt;
&lt;br /&gt;
●     “method” attribute of the &amp;lt;nowiki&amp;gt;&amp;lt;data&amp;gt; element defines the action. Actions supported at the moment: “create”, “delete”.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
●     sequence=&amp;quot;106357&amp;quot; systemversion=&amp;quot;8.4.20.504&amp;quot; are not used in API right now, only used for example, can ignore it for the moment.&lt;br /&gt;
&lt;br /&gt;
== CUVc (Contacts) ==&lt;br /&gt;
&lt;br /&gt;
=== Create ===&lt;br /&gt;
Supported fields fields&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Kood'''&lt;br /&gt;
|'''Kirjeldus'''&lt;br /&gt;
|'''Pikkus, tüüp'''&lt;br /&gt;
|'''Kohustuslik'''&lt;br /&gt;
|-&lt;br /&gt;
|'''RefStr'''&lt;br /&gt;
|Ostu viide&lt;br /&gt;
|''60,  string''&lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|'''Code'''&lt;br /&gt;
|Kontakti kood  HansaWorldi tarkvaras. Unikaalne per kontakt&lt;br /&gt;
|''20,  code''&lt;br /&gt;
|Jah&lt;br /&gt;
|-&lt;br /&gt;
|'''Name'''&lt;br /&gt;
|Kontakti nimi&lt;br /&gt;
|''200,  string''&lt;br /&gt;
|Jah&lt;br /&gt;
|-&lt;br /&gt;
|'''CUType'''&lt;br /&gt;
|Kliendi linnuke. 0 =  ei ole; 1 = on&lt;br /&gt;
|''0,  flag''&lt;br /&gt;
|Jah&lt;br /&gt;
|-&lt;br /&gt;
|'''VEType'''&lt;br /&gt;
|Hankija linnuke. 0 =  ei ole; 1 = on&lt;br /&gt;
|''0,  flag''&lt;br /&gt;
|Jah&lt;br /&gt;
|-&lt;br /&gt;
|'''Person'''&lt;br /&gt;
|Kontaktisik&lt;br /&gt;
|''60,  string''&lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|'''WarnText1'''&lt;br /&gt;
|Hoiatus&lt;br /&gt;
|''255,  string''&lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|'''InvAddr0'''&lt;br /&gt;
|Aadress, rida 1&lt;br /&gt;
|''60,  string''&lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|'''InvAddr1'''&lt;br /&gt;
|Aadress, rida 2&lt;br /&gt;
|''60,  string''&lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|'''InvAddr2'''&lt;br /&gt;
|Aadress, rida 3&lt;br /&gt;
|''60,  string''&lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|'''CustCat'''&lt;br /&gt;
|Kliendiklass&lt;br /&gt;
|''5,  code''&lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|Comment&lt;br /&gt;
|Kommentaar&lt;br /&gt;
|''60,  string''&lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|'''PayDeal'''&lt;br /&gt;
|Tasumistingimus&lt;br /&gt;
|''2,  code''&lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|'''CountryCode'''&lt;br /&gt;
|Riigi kood&lt;br /&gt;
|''5,  Code''&lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|'''RegNr1'''&lt;br /&gt;
|Registreerimisnumber  1. Eestis Äriregistri kood&lt;br /&gt;
|''20, string'' &lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|'''VATNr'''&lt;br /&gt;
|KMKR nr&lt;br /&gt;
|''20, string'' &lt;br /&gt;
|Ei&lt;br /&gt;
|-&lt;br /&gt;
|'''ExportFlag'''&lt;br /&gt;
|Käibemaksutsoon&lt;br /&gt;
&lt;br /&gt;
0 = „Eesti“ &lt;br /&gt;
&lt;br /&gt;
1 = „EL“, &lt;br /&gt;
&lt;br /&gt;
2 = „EL (konteeri KM)“, &lt;br /&gt;
&lt;br /&gt;
3 = „Mitte EL“&lt;br /&gt;
&lt;br /&gt;
4 = „Mitte EL (konteeri KM)&lt;br /&gt;
|''1,  Code''&lt;br /&gt;
|Ei&lt;br /&gt;
|}&lt;br /&gt;
More field descriptions:&lt;br /&gt;
&lt;br /&gt;
[[Hausing - Register Kontaktid|https://kaust.excellent.ee/opendoc/index.php/Hausing_-_Register_Kontaktid]] &lt;br /&gt;
&lt;br /&gt;
''Example of minimal XML body'' &lt;br /&gt;
&lt;br /&gt;
''&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;nowiki&amp;gt;&amp;lt;data register=&amp;quot;CUVc&amp;quot; method=&amp;quot;create&amp;quot; sequence=&amp;quot;106357&amp;quot; systemversion=&amp;quot;8.4.20.504&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
  ''&amp;lt;CUVc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;nowiki&amp;gt;&amp;lt;Code&amp;gt;101&amp;lt;/Code&amp;gt;&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;Name&amp;gt;New Customer LTD&amp;lt;/Name&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;CUType&amp;gt;1&amp;lt;/CUType&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;VEType&amp;gt;0&amp;lt;/VEType&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
  ''&amp;lt;/CUVc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;nowiki&amp;gt;&amp;lt;/data&amp;gt;&amp;lt;/nowiki&amp;gt;'' &lt;br /&gt;
&lt;br /&gt;
''Example of implemented fields XML'' &lt;br /&gt;
&lt;br /&gt;
''&amp;lt;nowiki&amp;gt;&amp;lt;data register=&amp;quot;CUVc&amp;quot; method=&amp;quot;create&amp;quot; sequence=&amp;quot;271742&amp;quot; systemversion=&amp;quot;8.4.20.1204&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
  ''&amp;lt;CUVc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
   ''&amp;lt;UUID&amp;gt;EB62BDDB-166D1436-771C5803-96D9E8CF-3D9B4352&amp;lt;/UUID&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
   ''&amp;lt;ServerSequence&amp;gt;0&amp;lt;/ServerSequence&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;SyncFlags&amp;gt;1&amp;lt;/SyncFlags&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;nowiki&amp;gt;&amp;lt;Code&amp;gt;987654321&amp;lt;/Code&amp;gt;&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;Name&amp;gt;New Test Company&amp;lt;/Name&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;Person&amp;gt;Annika Ainus&amp;lt;/Person&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;CUType&amp;gt;1&amp;lt;/CUType&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;VEType&amp;gt;0&amp;lt;/VEType&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;WarnText1&amp;gt;Hoiatus&amp;lt;/WarnText1&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;InvAddr0&amp;gt;12 Tänav&amp;lt;/InvAddr0&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;InvAddr1&amp;gt;Linn&amp;lt;/InvAddr1&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;InvAddr2&amp;gt;12345 Maakond&amp;lt;/InvAddr2&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;CustCat&amp;gt;TEST&amp;lt;/CustCat&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;Comment&amp;gt;Kommentaar&amp;lt;/Comment&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;PayDeal&amp;gt;7&amp;lt;/PayDeal&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;InterestFlag&amp;gt;1&amp;lt;/InterestFlag&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;CountryCode&amp;gt;EE&amp;lt;/CountryCode&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;RegNr1&amp;gt;123456789&amp;lt;/RegNr1&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;VATNr&amp;gt;EE112211221&amp;lt;/VATNr&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;ExportFlag&amp;gt;0&amp;lt;/ExportFlag&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
  ''&amp;lt;/CUVc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;nowiki&amp;gt;&amp;lt;/data&amp;gt;&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
== IVVc (Invoices) ==&lt;br /&gt;
&lt;br /&gt;
=== Create ===&lt;br /&gt;
'''Header and footer fields.'''&lt;br /&gt;
&lt;br /&gt;
'''Supported:'''&lt;br /&gt;
&lt;br /&gt;
TransDate, SerNr, InvDate, RefStr, CustCode, PayDeal, PayDate, Addr0, Addr1, Addr2, Addr3, InvAddr3, InvAddr4, Objects, CustCat, SalesMan, CurncyCode, InvComment, PriceList, Sum1, Sum3, Sum4, Location, OKFlag, LangCode, TransTime&lt;br /&gt;
&lt;br /&gt;
'''Required:'''&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|Field&lt;br /&gt;
|Description&lt;br /&gt;
|Length,  type&lt;br /&gt;
|Comments&lt;br /&gt;
|-&lt;br /&gt;
|InvDate&lt;br /&gt;
|Arve  kuupäev&lt;br /&gt;
|0, In  Dataformat Order&lt;br /&gt;
|Current  date by default if empty&lt;br /&gt;
|-&lt;br /&gt;
|TransDate&lt;br /&gt;
|Kande kp.&lt;br /&gt;
|0, In  Dataformat Order&lt;br /&gt;
|Current  date by default if empty, used for assigning of SerNr to record&lt;br /&gt;
|-&lt;br /&gt;
|CustCode&lt;br /&gt;
|Kliendi  kood&lt;br /&gt;
|20, Code  String&lt;br /&gt;
|Must be existing code in Hansa&lt;br /&gt;
|-&lt;br /&gt;
|InvType&lt;br /&gt;
|Arve tüüp  (1=tavaline,  2=sularahaarve, 3=kreeditarve)&lt;br /&gt;
|0, Small  Value with No Decimals&lt;br /&gt;
|Not  visible in interface&lt;br /&gt;
&lt;br /&gt;
Supported  values: 1,2,3&lt;br /&gt;
|-&lt;br /&gt;
|PayDeal&lt;br /&gt;
|Tasumistingimuse  kood&lt;br /&gt;
|2, Code  String&lt;br /&gt;
|Automatically  filled for given CustCode, but required if that is empty&lt;br /&gt;
&lt;br /&gt;
Must be existing code in Hansa&lt;br /&gt;
|}            &lt;br /&gt;
&lt;br /&gt;
'''Row fields.'''&lt;br /&gt;
&lt;br /&gt;
'''Supported:'''&lt;br /&gt;
&lt;br /&gt;
stp, ArtCode, Quant, Price, Spec, SalesAcc, VATCode, Sum&lt;br /&gt;
&lt;br /&gt;
'''Required:'''&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|stp&lt;br /&gt;
|Rea tüüp&lt;br /&gt;
&lt;br /&gt;
1 =  tavaline&lt;br /&gt;
|1, Integer&lt;br /&gt;
|Not visible in interface&lt;br /&gt;
&lt;br /&gt;
Supported values: 1&lt;br /&gt;
|-&lt;br /&gt;
|ArtCode&lt;br /&gt;
|Artiklikood&lt;br /&gt;
|20, Code  String&lt;br /&gt;
|Required if row stp == 1&lt;br /&gt;
|-&lt;br /&gt;
|Quant&lt;br /&gt;
|Kogus&lt;br /&gt;
|0, Value  with minimum Decimals&lt;br /&gt;
|Required if row stp == 1&lt;br /&gt;
|-&lt;br /&gt;
|Price&lt;br /&gt;
|Hind&lt;br /&gt;
|0, Value  with 2 or 3 Decimals&lt;br /&gt;
|Required if row stp == 1&lt;br /&gt;
|-&lt;br /&gt;
|Sum&lt;br /&gt;
|Kokku&lt;br /&gt;
|0, Value 2  or 3 Decimals&lt;br /&gt;
|Required if row stp == 1&lt;br /&gt;
|-&lt;br /&gt;
|VATCode&lt;br /&gt;
|KM kood&lt;br /&gt;
|10, Code  String&lt;br /&gt;
|Required if row stp == 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example of simple data invoice === &lt;br /&gt;
&lt;br /&gt;
''&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
 ''&amp;lt;nowiki&amp;gt;&amp;lt;data register=&amp;quot;IVVc&amp;quot; method=&amp;quot;create&amp;quot; sequence=&amp;quot;106357&amp;quot; systemversion=&amp;quot;8.4.20.504&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
   ''&amp;lt;IVVc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;RefStr&amp;gt;1289&amp;lt;/RefStr&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;CustCode&amp;gt;0012&amp;lt;/CustCode&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;Addr0&amp;gt;Audio Kaubad Eesti AS&amp;lt;/Addr0&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;InvDate&amp;gt;2018.05.28&amp;lt;/InvDate&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;SerNr&amp;gt;181006&amp;lt;/SerNr&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;InvType&amp;gt;1&amp;lt;/InvType&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;Sum1&amp;gt;100&amp;lt;/Sum1&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;Sum3&amp;gt;20&amp;lt;/Sum3&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;Sum4&amp;gt;120&amp;lt;/Sum4&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;OKFlag&amp;gt;0&amp;lt;/OKFlag&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;rows&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
       ''&amp;lt;row rownumber=&amp;quot;0&amp;quot;&amp;gt;&amp;lt;!-- required, number defines the row in Hansa, starts with 0 --&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
         ''&amp;lt;stp&amp;gt;1&amp;lt;/stp&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
                        ''&amp;lt;ArtCode&amp;gt;001&amp;lt;/ArtCode&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
              ''&amp;lt;Quant&amp;gt;1&amp;lt;/Quant&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
             ''&amp;lt;Price&amp;gt;15,59&amp;lt;/Price&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
             ''&amp;lt;Sum&amp;gt;15,59&amp;lt;/Sum&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
             ''&amp;lt;vRebate /&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
            ''&amp;lt;SalesAcc&amp;gt;3100&amp;lt;/SalesAcc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
            ''&amp;lt;Objects&amp;gt;ANNIKA,KAUPO,KONT&amp;lt;/Objects&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
             ''&amp;lt;OrdRow /&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
             ''&amp;lt;BasePrice&amp;gt;13,00&amp;lt;/BasePrice&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
             ''&amp;lt;rowGP&amp;gt;2,59&amp;lt;/rowGP&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
             ''&amp;lt;FIFO /&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
             ''&amp;lt;Spec&amp;gt;Raadio &amp;quot;Multi&amp;quot;&amp;lt;/Spec&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
             ''&amp;lt;VATCode&amp;gt;1&amp;lt;/VATCode&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
        ''&amp;lt;/row&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
     ''&amp;lt;/rows&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
   ''&amp;lt;/IVVc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;nowiki&amp;gt;&amp;lt;/data&amp;gt;&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
More field descriptions:&lt;br /&gt;
&lt;br /&gt;
[[Hausing - Register Arved|https://kaust.excellent.ee/opendoc/index.php/Hausing_-_Register_Arved]] &lt;br /&gt;
&lt;br /&gt;
=== Delete ===&lt;br /&gt;
Allows to delete only records that are allowed to delete by Hansa internal logic. OK-d invoices are not allowed to be deleted.&lt;br /&gt;
&lt;br /&gt;
''General structure template'' &lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;data register=&amp;quot;IVVc&amp;quot; method=&amp;quot;delete&amp;quot; sequence=&amp;quot;106357&amp;quot; systemversion=&amp;quot;8.4.20.504&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;IVVc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;SerNr&amp;gt;serNr1&amp;lt;/SerNr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/IVVc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;IVVc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;SerNr&amp;gt;serNr2&amp;lt;/SerNr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/IVVc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;/data&amp;gt;&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== INVc (Items) ==&lt;br /&gt;
&lt;br /&gt;
==== Create ====&lt;br /&gt;
'''Header and footer fields.'''&lt;br /&gt;
&lt;br /&gt;
'''Supported:'''&lt;br /&gt;
&lt;br /&gt;
AlternativeCode, Code, Name, ItemType, UPrice1, InPrice, VATCode &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|Field&lt;br /&gt;
|Description&lt;br /&gt;
|Length,  type&lt;br /&gt;
|Comments&lt;br /&gt;
|-&lt;br /&gt;
|AlternativeCode&lt;br /&gt;
|Arve  kuupäev&lt;br /&gt;
|40, String&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Code&lt;br /&gt;
|Kood&lt;br /&gt;
|20, Code String&lt;br /&gt;
|If not presented, Hansa will save as next available ne  according to settings&lt;br /&gt;
|-&lt;br /&gt;
|Name&lt;br /&gt;
|Artikli  nimetus&lt;br /&gt;
|100,  String&lt;br /&gt;
|Mandatory&lt;br /&gt;
|-&lt;br /&gt;
|ItemType&lt;br /&gt;
|Artikli  tüüp (Tavaline, laoartikkel jne. 0=tavaline, 1=laoartikkel,  2=Struktuurartikkel, 3=teenus)&lt;br /&gt;
|0, Small  Value with No Decimals&lt;br /&gt;
|Supported values: 0,1,2,3&lt;br /&gt;
|-&lt;br /&gt;
|UPrice1&lt;br /&gt;
|Baasmüügihind  &lt;br /&gt;
|0, Value  with 2 or 3 Decimals&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|InPrice&lt;br /&gt;
|Ostuhind&lt;br /&gt;
|0, Value  with All Decimals&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|VATCode&lt;br /&gt;
|Käibemaksukood&lt;br /&gt;
|10, Code  String&lt;br /&gt;
|If presented, must be existing code in Hansa&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
''Example of minimal XML body''&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;nowiki&amp;gt;&amp;lt;data register=&amp;quot;INVc&amp;quot; method=&amp;quot;create&amp;quot; sequence=&amp;quot;106357&amp;quot; systemversion=&amp;quot;8.4.20.504&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
  ''&amp;lt;INVc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
   ''&amp;lt;AlternativeCode&amp;gt;your_reference_code&amp;lt;/AlternativeCode&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;Name&amp;gt;Name of the article&amp;lt;/Name&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;ItemType&amp;gt;1&amp;lt;/ItemType&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;UPrice1&amp;gt;100&amp;lt;/UPrice1&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;InPrice&amp;gt;50&amp;lt;/InPrice&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;VATCode&amp;gt;1&amp;lt;/VATCode&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
   ''&amp;lt;/INVc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;nowiki&amp;gt;&amp;lt;/data&amp;gt;&amp;lt;/nowiki&amp;gt;'' &lt;br /&gt;
&lt;br /&gt;
''More field descriptions:''&lt;br /&gt;
&lt;br /&gt;
''[[Hausing - Register Artiklid|https://kaust.excellent.ee/opendoc/index.php/Hausing_-_Register_Artiklid]]''  &lt;br /&gt;
&lt;br /&gt;
''Response''&lt;br /&gt;
&lt;br /&gt;
''{''&lt;br /&gt;
&lt;br /&gt;
  ''&amp;quot;responseType&amp;quot;: &amp;quot;INVcCreate&amp;quot;,''&lt;br /&gt;
&lt;br /&gt;
  ''&amp;quot;records&amp;quot;: [''&lt;br /&gt;
&lt;br /&gt;
    ''{''&lt;br /&gt;
&lt;br /&gt;
      ''&amp;quot;record&amp;quot;: &amp;quot;0&amp;quot;,''&lt;br /&gt;
&lt;br /&gt;
      ''&amp;quot;AlternativeCode&amp;quot;: &amp;quot;your_reference_code&amp;quot;,''&lt;br /&gt;
&lt;br /&gt;
      ''&amp;quot;OKCode&amp;quot;: &amp;quot;1&amp;quot;,''&lt;br /&gt;
&lt;br /&gt;
      ''&amp;quot;Code&amp;quot;: &amp;quot;003&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
    ''}''&lt;br /&gt;
&lt;br /&gt;
  '']''&lt;br /&gt;
&lt;br /&gt;
''}''&lt;br /&gt;
&lt;br /&gt;
== VATCodeBlock (VAT Codes) ==&lt;br /&gt;
&lt;br /&gt;
==== Create ====&lt;br /&gt;
'''Header and footer fields.'''&lt;br /&gt;
&lt;br /&gt;
'''Supported:'''&lt;br /&gt;
&lt;br /&gt;
VATCode, ExVatpr, IncVatpr, SalesVATAcc, PaySalesVATAcc, PurchVATAcc, PayPurchVATAcc, Comment, Tax1pr, Tax1Acc, CorSalesVATAcc, CorPurchVATAcc, CredSalesVATAcc, CredPurchVATAcc, TaxMatrixVariance            &lt;br /&gt;
&lt;br /&gt;
'''Required:'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|Field&lt;br /&gt;
|Description&lt;br /&gt;
|Length,  type&lt;br /&gt;
|Comments&lt;br /&gt;
|-&lt;br /&gt;
|VATCode&lt;br /&gt;
|Kood&lt;br /&gt;
|10, Code String&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|ExVatpr&lt;br /&gt;
|%-ta&lt;br /&gt;
|0, Value with 2 or 3 Decimals&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|IncVatpr&lt;br /&gt;
|% -ga&amp;quot;&lt;br /&gt;
|0, Value with 6 Decimals&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|SalesVATAcc&lt;br /&gt;
|Müügi KM&lt;br /&gt;
|10, Code String&lt;br /&gt;
|Must be existing Account in Hansa&lt;br /&gt;
|-&lt;br /&gt;
|PaySalesVATAcc&lt;br /&gt;
|Laek.KM&lt;br /&gt;
|10, Code String&lt;br /&gt;
|Must be existing Account in Hansa&lt;br /&gt;
|-&lt;br /&gt;
|PurchVATAcc&lt;br /&gt;
|Ostu KM&lt;br /&gt;
|10, Code String&lt;br /&gt;
|Must be existing Account in Hansa&lt;br /&gt;
|-&lt;br /&gt;
|PayPurchVATAcc&lt;br /&gt;
|Tas.KM&lt;br /&gt;
|10, Code String&lt;br /&gt;
|Must be existing Account in Hansa&lt;br /&gt;
|-&lt;br /&gt;
|Tax1pr&lt;br /&gt;
|Maksu %&lt;br /&gt;
|0, Value with 2 or 3 Decimals&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Tax1Acc&lt;br /&gt;
|Maks.konto&lt;br /&gt;
|10, Code String&lt;br /&gt;
|Must be existing Account in Hansa&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
''Example of minimal XML body''&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;nowiki&amp;gt;&amp;lt;data register=&amp;quot;VATCodeBlock&amp;quot; method=&amp;quot;create&amp;quot; sequence=&amp;quot;106357&amp;quot; systemversion=&amp;quot;8.4.20.504&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
  ''&amp;lt;VATCodeBlock&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;VATCode&amp;gt;6&amp;lt;/VATCode&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;ExVatpr&amp;gt;20&amp;lt;/ExVatpr&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;IncVatpr&amp;gt;30&amp;lt;/IncVatpr&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;SalesVATAcc&amp;gt;1010&amp;lt;/SalesVATAcc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
   ''&amp;lt;PaySalesVATAcc&amp;gt;1020&amp;lt;/PaySalesVATAcc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;PurchVATAcc&amp;gt;3000&amp;lt;/PurchVATAcc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
   ''&amp;lt;PayPurchVATAcc&amp;gt;4000&amp;lt;/PayPurchVATAcc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;Tax1pr&amp;gt;40&amp;lt;/Tax1pr&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;Tax1Acc&amp;gt;1210&amp;lt;/Tax1Acc&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
    ''&amp;lt;Comment&amp;gt;New VAT code&amp;lt;/Comment&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
  ''&amp;lt;/VATCodeBlock&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;nowiki&amp;gt;&amp;lt;/data&amp;gt;&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
=== Response body format ===&lt;br /&gt;
Response is in JSON format.&lt;br /&gt;
&lt;br /&gt;
''Content-Type: application/json''&lt;br /&gt;
&lt;br /&gt;
General format template as follows.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
●     “InsertIVVc” is the type of request, to which the response is sent&lt;br /&gt;
&lt;br /&gt;
●     “records”  is array of responses for every passed record in POST request body&lt;br /&gt;
&lt;br /&gt;
●     “record” is a sequence number of the passed record. If 3 records are sent in one POST request, their numbers will be 0,1,2&lt;br /&gt;
&lt;br /&gt;
●     “RefStr” is a reference number which was passed in POST request (mandatory field)&lt;br /&gt;
&lt;br /&gt;
●     “OKCode” can be 0 or 1. 0 means record was incorrect and error occured. 1 means OK.&lt;br /&gt;
&lt;br /&gt;
●     “FaultMsg” - contains the available additional information if the “OKCode” is 0&lt;br /&gt;
&lt;br /&gt;
●     “SerNr” - is a serial number of stored record in Hansa, if the “OKCode” was 1&lt;br /&gt;
&lt;br /&gt;
{  &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;responseType&amp;quot;''':&amp;quot;InsertIVVc&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;records&amp;quot;''':[  &lt;br /&gt;
&lt;br /&gt;
{  &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;record&amp;quot;''':&amp;quot;recordNumber&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;RefStr&amp;quot;''':&amp;quot;givenRefStr&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;OKCode&amp;quot;''':&amp;quot;okCode&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;FaultMsg&amp;quot;''':&amp;quot;the message&amp;quot;&lt;br /&gt;
&lt;br /&gt;
},&lt;br /&gt;
&lt;br /&gt;
{  &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;record&amp;quot;''':&amp;quot;recordNumber&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;RefStr&amp;quot;''':&amp;quot;givenRefStr&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;OKCode&amp;quot;''':&amp;quot;okCode&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;FaultMsg&amp;quot;''':&amp;quot;the message&amp;quot;&lt;br /&gt;
&lt;br /&gt;
},&lt;br /&gt;
&lt;br /&gt;
{  &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;record&amp;quot;''':&amp;quot;recordNumber&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;RefStr&amp;quot;''':&amp;quot;givenRefStr&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;OKCode&amp;quot;''':&amp;quot;okCode&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;SerNr&amp;quot;''':&amp;quot;assignedSerNumber&amp;quot;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
]&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
== GET (for reports) ==&lt;br /&gt;
&lt;br /&gt;
=== Request ===&lt;br /&gt;
&lt;br /&gt;
=== With authorization ===&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://username:password@ipAddress&amp;lt;/nowiki&amp;gt;:[[About:blank|portNumber]]/WebGETAPI.hal?company=[[About:blank|compNumber]]&amp;amp;report=reportName&lt;br /&gt;
&lt;br /&gt;
Required parameters:&lt;br /&gt;
&lt;br /&gt;
●    compNumber is the sequence number of the company in Hansa DB starting from 1&lt;br /&gt;
&lt;br /&gt;
●    reportName is the internal Books report name&lt;br /&gt;
&lt;br /&gt;
Optional parameters (default value will be selected by Books if missing):&lt;br /&gt;
&lt;br /&gt;
●     periodStart in format dd.mm.yyyy&lt;br /&gt;
&lt;br /&gt;
●     periodEnd in format dd.mm.yyyy&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://testuser:testpassword@localhost:8989/WebGETAPI.hal?company=1&amp;amp;report=MainRn&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Response body format ===&lt;br /&gt;
In HTML format&lt;br /&gt;
&lt;br /&gt;
== GET Registers (standard) ==&lt;br /&gt;
Requests specify the company and resource to read, in the most basic format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname.domain.top/api/1/IVVc&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where: &lt;br /&gt;
&lt;br /&gt;
• &amp;quot;api&amp;quot; is a mandatory hardcoded string &lt;br /&gt;
&lt;br /&gt;
• &amp;quot;1&amp;quot; is the company code from the companies setting (1st column) &lt;br /&gt;
&lt;br /&gt;
• &amp;quot;IVVc&amp;quot; is the name of the register&lt;br /&gt;
&lt;br /&gt;
This would fetch all invoices in company 1.&lt;br /&gt;
&lt;br /&gt;
To retrieve information about base currencies, you similarly use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname/api/1/BaseCurBlock&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Data Format ===&lt;br /&gt;
The data format for request and returned data is the same and hardcoded.&lt;br /&gt;
&lt;br /&gt;
• The decimal point is &amp;quot;.&amp;quot; (period) &lt;br /&gt;
&lt;br /&gt;
• There is no thousand separator &lt;br /&gt;
&lt;br /&gt;
• Dates are in ISO format YYYY-MM-DD&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
The actual parameter values used for results such as key and range used, version of the server etc. are returned as attributes of the data tag.&lt;br /&gt;
&lt;br /&gt;
==== sort ====&lt;br /&gt;
The sort parameter will sort the retrieved records on the specified field. The name of the index that was used will be returned in the result. Only one field can be sorted on, and only if there is a suitable index, if there is no suitable index the request will fail. The field name is case sensitive.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname.domain.top/api/1/IVVc?sort=CustCode&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== range ====&lt;br /&gt;
Requires the use of the sort parameter.&lt;br /&gt;
&lt;br /&gt;
Retrieve only records where the sorted-on field is inside the specified range. The range is inclusive (values matching the start and end values are inside the range). The first and last value of the range are separated with the &amp;quot;:&amp;quot; (colon character). Open ranges where only the 1st or last value is specified are allowed, and will return all records before or after the specified value. If only a singular value is specified (no colon) only records matching that value will be retrieved.&lt;br /&gt;
&lt;br /&gt;
Examples: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname.domain.top/api/1/IVVc?sort=CustCode&amp;amp;range=10101:10104&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Will return invoices with customers from 10101 to 10104&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname.domain.top/api/1/IVVc?sort=CustCode&amp;amp;range=10104&amp;lt;/nowiki&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
Will return invoices with customers from 10104 until the last customer&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname.domain.top/api/1/IVVc?sort=CustCode&amp;amp;range=10104&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Will return invoices only for customer 10104&lt;br /&gt;
&lt;br /&gt;
the range parameter is fast to use because it uses an index.&lt;br /&gt;
&lt;br /&gt;
==== fields ====&lt;br /&gt;
The fields parameter specifies which fields are to be retrieved. The fields are specified comma separated. If the parameter is not present all fields are retrieved. If a field in the matrix and a field in the header has the same name, both will be retrieved. If no field in the matrix are retrieved then the matrix itself (number of rows etc.) will not be present in the result.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname.domain.top/api/1/IVVc?fields=SerNr,OKFlag,Addr0,ArtCode,CustCode,InvDate,TransDate,Objects&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== filter ====&lt;br /&gt;
The data can be filtered with the filter parameter. it is specified like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname.domain.top/api/1/IVVc?filter.CustCode=10104&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The filter is significantly slower than range, as it will not use an index and scan all records. If you use a range the filter will only scan the records in the range, so try to use the most selective condition possible in the range and all other conditions in filters.&lt;br /&gt;
&lt;br /&gt;
• There can only be one filter per field &lt;br /&gt;
&lt;br /&gt;
• There can be multiple filters on different fields &lt;br /&gt;
&lt;br /&gt;
• Filters can handle ranges of values, with the same syntax as range, including open ranges &lt;br /&gt;
&lt;br /&gt;
• Filters work only on header fields &lt;br /&gt;
&lt;br /&gt;
• Filtering on list fields such as Objects is done by the whole string. a filter.Objects=AB will not match &amp;quot;AB,D10101&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname.domain.top/api/1/IVVc?filter.CustCode=10100:10200&amp;amp;Sum4=100:1000&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will retrieve invoices with a total sum of 100 to 1000 for customers in the range 10100 to 10200.&lt;br /&gt;
&lt;br /&gt;
==== offset and limit ====&lt;br /&gt;
If the result is larger than the api user can handle in one request, the result can be retrieved in smaller pieces.&lt;br /&gt;
&lt;br /&gt;
The offset will skip the specified number of records before producing output and the limit will restrict the number of records retrieved.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname/api/1/IVVc?offset=0&amp;amp;limit=5&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname/api/1/IVVc?offset=5&amp;amp;limit=5&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname/api/1/IVVc?offset=10&amp;amp;limit=5&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will retrieve the 15 first invoices in 3 separate requests. &lt;br /&gt;
&lt;br /&gt;
offset and limit works together will all other parameters&lt;br /&gt;
&lt;br /&gt;
==== updates_after ====&lt;br /&gt;
returns all records that were updated after a given sequence number. &lt;br /&gt;
&lt;br /&gt;
the sequence number is returned in each request and can be saved for later use with updates_after&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname/api/1/IVVc?updates_after=5000&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== deletes_after ====&lt;br /&gt;
returns all record that were deleted after a given sequence number. &lt;br /&gt;
&lt;br /&gt;
the sequence number is returned in each request and can be saved for later use with deletes_after&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://hostname/api/1/IVVc?deletes_after=5000&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tanel</name></author>
	</entry>
</feed>