<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://faq.linkpos.com/index.php?action=history&amp;feed=atom&amp;title=Generic_Data_API_EndPoint_Instructions</id>
	<title>Generic Data API EndPoint Instructions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://faq.linkpos.com/index.php?action=history&amp;feed=atom&amp;title=Generic_Data_API_EndPoint_Instructions"/>
	<link rel="alternate" type="text/html" href="https://faq.linkpos.com/index.php?title=Generic_Data_API_EndPoint_Instructions&amp;action=history"/>
	<updated>2026-05-19T07:11:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://faq.linkpos.com/index.php?title=Generic_Data_API_EndPoint_Instructions&amp;diff=286&amp;oldid=prev</id>
		<title>David Ashton at 16:38, 25 August 2022</title>
		<link rel="alternate" type="text/html" href="https://faq.linkpos.com/index.php?title=Generic_Data_API_EndPoint_Instructions&amp;diff=286&amp;oldid=prev"/>
		<updated>2022-08-25T16:38:04Z</updated>

		<summary type="html">&lt;p&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:38, 25 August 2022&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-l6&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&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;If using Postman, you can enter the base URL of the endpoints into the request URL.  For Demo the URL is &amp;lt;nowiki&amp;gt;http://olypointofsale.com:5000/&amp;lt;/nowiki&amp;gt; and the secure URL is &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/&amp;lt;/nowiki&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;If using Postman, you can enter the base URL of the endpoints into the request URL.  For Demo the URL is &amp;lt;nowiki&amp;gt;http://olypointofsale.com:5000/&amp;lt;/nowiki&amp;gt; and the secure URL is &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/&amp;lt;/nowiki&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;[[File:Postman request URL.png|none|thumb|Postman request URL]]&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;[[File:Postman request URL.png|none|thumb|Postman request URL&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|600x600px&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;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;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-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&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;Most endpoints will require more parameters, which can be entered in the parameter list.&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;Most endpoints will require more parameters, which can be entered in the parameter list.&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;[[File:Postman parameters.png|none|thumb|Postman parameters]]&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;[[File:Postman parameters.png|none|thumb|Postman parameters&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|600x600px&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;When parameters are added or edited, the URL in the request URL will automatically be updated.&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;When parameters are added or edited, the URL in the request URL will automatically be updated.&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-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&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;If you are using Postman, once you have entered all of the parameters, click the blue “Send” button to run the report.  It is useful to format the output by clicking the button that says “HTML” and changing it to “JSON”.&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;If you are using Postman, once you have entered all of the parameters, click the blue “Send” button to run the report.  It is useful to format the output by clicking the button that says “HTML” and changing it to “JSON”.&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;[[File:Postman JSON.png|none|thumb|Postman JSON]]&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;[[File:Postman JSON.png|none|thumb|Postman JSON&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|300x300px&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;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;= Endpoints Available: =  &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;= Endpoints Available: =  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>David Ashton</name></author>
	</entry>
	<entry>
		<id>https://faq.linkpos.com/index.php?title=Generic_Data_API_EndPoint_Instructions&amp;diff=181&amp;oldid=prev</id>
		<title>David Ashton: Created page with &quot; = Testing Endpoints: = A program called Postman is useful for testing the endpoints.  It can be downloaded at &lt;nowiki&gt;https://www.getpostman.com/&lt;/nowiki&gt;  If you do not wish to install Postman, you can test the endpoints by entering the URL into any web browser and navigating to the page.  The results will be output in plain text.  Example URLs are provided in the Endpoints section.  If using Postman, you can enter the base URL of the endpoints into the request URL....&quot;</title>
		<link rel="alternate" type="text/html" href="https://faq.linkpos.com/index.php?title=Generic_Data_API_EndPoint_Instructions&amp;diff=181&amp;oldid=prev"/>
		<updated>2022-08-03T00:01:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; = Testing Endpoints: = A program called Postman is useful for testing the endpoints.  It can be downloaded at &amp;lt;nowiki&amp;gt;https://www.getpostman.com/&amp;lt;/nowiki&amp;gt;  If you do not wish to install Postman, you can test the endpoints by entering the URL into any web browser and navigating to the page.  The results will be output in plain text.  Example URLs are provided in the Endpoints section.  If using Postman, you can enter the base URL of the endpoints into the request URL....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
= Testing Endpoints: =&lt;br /&gt;
A program called Postman is useful for testing the endpoints.  It can be downloaded at &amp;lt;nowiki&amp;gt;https://www.getpostman.com/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not wish to install Postman, you can test the endpoints by entering the URL into any web browser and navigating to the page.  The results will be output in plain text.  Example URLs are provided in the Endpoints section.&lt;br /&gt;
&lt;br /&gt;
If using Postman, you can enter the base URL of the endpoints into the request URL.  For Demo the URL is &amp;lt;nowiki&amp;gt;http://olypointofsale.com:5000/&amp;lt;/nowiki&amp;gt; and the secure URL is &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
[[File:Postman request URL.png|none|thumb|Postman request URL]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the URL is entered, you can add the parameters by clicking the Parameter button on the right end of the request URL.  You will need to enter the apikey parameter for all endpoints.  The value for the apikey parameter is the API Credentials that were generated for you on the Data API Users page.  You can copy and paste it here.  It will be different for each user.&lt;br /&gt;
&lt;br /&gt;
Most endpoints will require more parameters, which can be entered in the parameter list.&lt;br /&gt;
[[File:Postman parameters.png|none|thumb|Postman parameters]]&lt;br /&gt;
When parameters are added or edited, the URL in the request URL will automatically be updated.&lt;br /&gt;
&lt;br /&gt;
If you are not using Postman, you will have to manually edit the URL you enter into your web browser. The keys will always be the same, but the values will be changed depending on which store you need to see or which date range you are looking for.&lt;br /&gt;
&lt;br /&gt;
If you are using Postman, once you have entered all of the parameters, click the blue “Send” button to run the report.  It is useful to format the output by clicking the button that says “HTML” and changing it to “JSON”.&lt;br /&gt;
[[File:Postman JSON.png|none|thumb|Postman JSON]]&lt;br /&gt;
&lt;br /&gt;
= Endpoints Available: = &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;simpleTest&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Used just to test passing a correct and incorrect key. &lt;br /&gt;
&lt;br /&gt;
Verb:  GET&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
 ·        Apikey=key of the api user&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;getStore&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Returns the list of stores for a particular company and apikey&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://olypointofsale.com:5000/getStore&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Verb:  GET&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
 ·        companyID=id of the company whose stores will be queried&lt;br /&gt;
&lt;br /&gt;
 ·        Apikey=key of the api user&lt;br /&gt;
&lt;br /&gt;
 Examples: &amp;lt;nowiki&amp;gt;http://olypointofsale.com:5000/getStore?apikey={---API-KEY-HERE---}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://olypointofsale.com:5000/getStore?apikey={---API-KEY-HERE---}&amp;amp;companyID=293&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;getCompany&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Returns the list of companies the apikey has access to&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://olypointofsale.com:5000/getCompany&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Verb:  GET&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
 ·        companyID=id of the company to query&lt;br /&gt;
&lt;br /&gt;
 ·        APIcompanyID=id of the api company.  Required because it is required by the stored procedure&lt;br /&gt;
&lt;br /&gt;
 ·        Apikey=key of the api user&lt;br /&gt;
&lt;br /&gt;
  Example: &amp;lt;nowiki&amp;gt;http://olypointofsale.com:5000/getCompany?apikey={---API-KEY-HERE---}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reports endpoint:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;API&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Production&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://linkpos.net:5001/API&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Test/Demo&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Verb:  GET&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
 ·        storeID=id of the store to query&lt;br /&gt;
&lt;br /&gt;
 ·        Apikey=key of the api user&lt;br /&gt;
&lt;br /&gt;
 ·        reportType= (the number of the report to be ran: 1=menu information; 2=sales information; 3=sales by category; 4=sales cats;  5=sales items; 6=time card; 7=employee time card information; 8=employee information; 9=job information; 10=employee job information)&lt;br /&gt;
&lt;br /&gt;
 ·        startDate=start date of the report&lt;br /&gt;
&lt;br /&gt;
 ·        endDate=end date of the report&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The reportTypes (based on the attached spec):&lt;br /&gt;
&lt;br /&gt;
*# Menu query that returns: store id, name of the item, its price, the product&amp;#039;s cost, the item’s id, item’s category (corresponds to our menu sections e.g. appetizers).  &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Sales query that returns information for      a given time period (day):  store      id, net sales, amount of tax, amount of discounts, financial amount of      voids, financial amount of all payments (gross), amount of the cash deposit,      paid ins and outs (Total Paid Ins/Outs amount for a given day), amount      paid in purchasing gift cards/gift certificates, date of the sales being      reported, cc tip reduction, if the ticket and the till amounts matched,      recon (This can be set to a default of zero. It&amp;#039;s where a customer matches      credit card transactions to a sales day on the website).  Can be compared to the Sales Summary      report in Link POS for most values.       &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=2&amp;amp;startDate=1/1/2017&amp;amp;endDate=1/31/2017&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Sales by category query that returns:      total items sold grouped by category id: sale id, category id of the      sales item, the aggregated amount of sales for that category for the      query.  Can be compared to the      Sales Summary report’s Category Summary in Link POS.  &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=3&amp;amp;startDate=1/1/2017&amp;amp;endDate=1/31/2017&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Eyenalyze does not know what they want      this to return, so it is not implemented yet.  Sales cats query that returns: store id,      name of the sales category type, and category type.  &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=4&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Items query that returns: Total items      sold grouped by the sales id:  sale      id, name of the item, id of the POS transaction, price at which item was      sold, quantity, item’s category id.       Can be compared to the Sales Summary report’s Item Summary in Link      POS.  &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=4&amp;amp;startDate=1/1/2017&amp;amp;endDate=1/31/2017&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Labor query which returns:  store id, date of the report, total      hours, total salary, total overtime paid, total tips, total tips shared,      total blessing (can be left as a default of &amp;#039;0&amp;#039;. It&amp;#039;s a flag for the      website where customers can verify a date for labor exporting).  Tip amounts can be compared to the Tips      report in Link POS.  Tipshare is      Credit Tips, tips is Total.  I’m      looking for a report we can use to compare the labor.  We seem to be having some issues with      demo outpar at the moment.  &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=6&amp;amp;startDate=1/2/2017&amp;amp;endDate=1/15/2017&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Employee timecard query which returns      the total employee timecards entries for the time period (day) with the      following data:  employee id, labor      id, employee pay rate, hours worked, salary, overtime hours, tips earned,      tips shared, job id, clock in time, clock out time.  Data is returned per punch in/out.  Can compare to the Time Approval page      with “Show Approved Records” checked.       Use the results of report #8 below to match the employee ID to a      name.  &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=7&amp;amp;startDate=1/2/2017&amp;amp;endDate=1/15/2017&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Employee query that returns: store id,      payroll id, name, export id (can be set to a default of &amp;#039;0&amp;#039;. A user can      enter a payroll id from a 3rd party on the website. This shouldn&amp;#039;t come      from a POS unless you have a payroll integration) and salary.  Can compare to the Cashier page in Link      POS.  &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=8&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Jobs query which returns: store id, job      code, name of the job.  Can compare      to the Project/Task list on the Time Approval page.  All stores have the default job code -1      with just the store name.        &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=9&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Employee job query which returns:      employee id, job id, the pay rate of that job.  Comparable to the employee list.  We do not track pay rate by job      currently, so it only lists the employees pay rate for each job.  &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=10&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# This returns a list of accounting      categories for the store.  These      are used for reporting, and are not menu sections. &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=11&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# This returns the sales by accounting      category listed in step 11. &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=12&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Labor Schedule Report &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=13&amp;amp;startDate=1/2/2017&amp;amp;endDate=1/15/2017&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Receipts Report startDate parameter is the single day for the report to be run.  Register parameter can be left empty to      return receipts from all registers.       All receipts will have a refunddate returned, but only receipts      with the field receiptrefunded with a value of true are refunded. &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=14&amp;amp;startDate=1/2/2017&amp;amp;register=0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Sales Summary Report Can be compared to the Sales Summary report in Link POS for most values. Register      parameter can be left empty to return receipts from all registers. overShort      0 will return 0 for the OverShort value, overShort 1 will calculate the      OverShort value from drop form records.       refundedAmount 0 will return 0 for RefundedAmount, refundedAmount      1 will calculate the RefundedAmount from receipt data.  dayChangeOffset 0 will use 12:00 AM as      the start and end of the day, 1 will use the Day Change Offset set in the      store in LinkPOS. &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=4&amp;amp;reportType=15&amp;amp;startDate=6/12/2018&amp;amp;endDate=6/12/2018&amp;amp;register=&amp;amp;overShort=0&amp;amp;refundedAmount=0&amp;amp;dayChangeOffset=0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Receipt Detail Report Can be compared to the Sales Summary report in Link POS for most values. date      parameter is the single day for the report to be run.  rangeStart and rangeEnd are the rows of      the record set that will be returned, for example 1-50 or 51-100.  The range returned is limited to 50 at      one time, based on the rangeStart.       All receipts will have a refunddate returned, but only receipts      with the field receiptrefunded with a value of true are refunded.  Each distinct menu item for a receipt      will have its own record, so receipt information will potentially be      repeated. &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=16&amp;amp;date=6/12/2018&amp;amp;rangeStart=1&amp;amp;rangeEnd=50&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Loyalty Customer Information Report Returns loyalty customers activity at the selected store on the selected      date.  date parameter is the single      day for the report to be run.  rangeStart      and rangeEnd are the rows of the record set that will be returned, for      example 1-50 or 51-100.  The range      returned is limited to 50 at one time, based on the rangeStart. &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=17&amp;amp;date=6/12/2018&amp;amp;rangeStart=1&amp;amp;rangeEnd=50&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*# Hourly Sales Report Can be compared to the Hourly Sales report in Link POS for most values.      Register parameter can be left empty to return receipts from all      registers.  deductDiscounts 1 will      deduct discounts from sales values, deductDiscounts 0 will return the      base price of all items sold.       averageSales 1 will return the average sales for each hour,      averageSales 0 will return the total sales for each hour.  percentage 1 will return the percentage      of the day’s sales for each hour;       This option can only be set when averageSales is set to 0.  includeGiftSales 1 will include gift      card sales in the sales amounts returned, includeGiftSales 0 will deduct      gift card sales from the sales returned.       &amp;quot;SundayTotal&amp;quot;,&amp;quot;MondayTotal&amp;quot;,&amp;quot;TuesdayTotal&amp;quot;,&amp;quot;WednesdayTotal&amp;quot;,&amp;quot;ThursdayTotal&amp;quot;,&amp;quot;FridayTotal&amp;quot;,&amp;quot;SaturdayTotal&amp;quot;,&amp;quot;TotalAverage&amp;quot;      are repeated in each hour’s record, and are the total sales for the      corresponding day and the average daily sales over the entire date range. &amp;lt;nowiki&amp;gt;https://olypointofsale.com:5001/API?apikey={---API-KEY-HERE---}&amp;amp;storeID=457&amp;amp;reportType=18&amp;amp;startDate=1/1/2022&amp;amp;endDate=1/31/2022&amp;amp;register=&amp;amp;deductDiscounts=1&amp;amp;averageSales=0&amp;amp;percentage=0&amp;amp;includeGiftSales=0&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>David Ashton</name></author>
	</entry>
</feed>