<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://in.compucrete.com/index.php?action=history&amp;feed=atom&amp;title=Stonemont_QC_Interface</id>
	<title>Stonemont QC Interface - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://in.compucrete.com/index.php?action=history&amp;feed=atom&amp;title=Stonemont_QC_Interface"/>
	<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Stonemont_QC_Interface&amp;action=history"/>
	<updated>2026-05-15T15:26:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>http://in.compucrete.com/index.php?title=Stonemont_QC_Interface&amp;diff=638&amp;oldid=prev</id>
		<title>WikiAdmin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Stonemont_QC_Interface&amp;diff=638&amp;oldid=prev"/>
		<updated>2023-07-14T13:00:37Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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 13:00, 14 July 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key my_wiki:diff::1.12:old-637:rev-638 --&gt;
&lt;/table&gt;</summary>
		<author><name>WikiAdmin</name></author>
	</entry>
	<entry>
		<id>http://in.compucrete.com/index.php?title=Stonemont_QC_Interface&amp;diff=637&amp;oldid=prev</id>
		<title>Intra&gt;Chanson: /* Install Rest Server */</title>
		<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Stonemont_QC_Interface&amp;diff=637&amp;oldid=prev"/>
		<updated>2023-01-04T20:31:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Install Rest Server&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==About the Interface==&lt;br /&gt;
&lt;br /&gt;
The Stonemont interface is a JSON REST server.  This sounds complicated but it's really just a web server that takes in requests like a web browser and serves back data in the JSON format.&lt;br /&gt;
&lt;br /&gt;
The specification [[Keystone Batch Control Quality Control Interface REST API]] gives you all the details you want (and more).&lt;br /&gt;
&lt;br /&gt;
==Preparing Keystone Data==&lt;br /&gt;
Keystone Setup doesn't require anything out of the ordinary but it does require an accurate, consistent and thoughtful setup.  The guidelines for a customer can be found on the Keytone Help site:  http://keystonehelp.compucrete.com/Creating_Mix_Designs&lt;br /&gt;
&lt;br /&gt;
The principles are:&lt;br /&gt;
*Separate product codes by plant&lt;br /&gt;
*Clean Mix Product IDs and Ingredient Product IDs&lt;br /&gt;
*Good choice of delimiter&lt;br /&gt;
*Accurately configure Product Base and Plant ID to match the product code&lt;br /&gt;
*Get the details correct (product class, product type etc.)&lt;br /&gt;
&lt;br /&gt;
You '''Do''' need to setup all mix product codes and all ingredient codes.&lt;br /&gt;
You '''Do Not''' need to setup the mix design.  The Stonemont system can handle this.&lt;br /&gt;
&lt;br /&gt;
==Install Rest Server==&lt;br /&gt;
New system interfaces installed in 2019 and beyond should be configured using KServer.&lt;br /&gt;
&lt;br /&gt;
Sample Kserver.INI&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[config]&lt;br /&gt;
&lt;br /&gt;
ports=8211,8212&lt;br /&gt;
[config_8212]&lt;br /&gt;
logevents=SERVER,ERROR,REQUEST,RESPONSE,QUERY&lt;br /&gt;
CoId=001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can test the interface from a web browser (IE on a server is tough to use - try to use chrome if possible).  Try something like the following command:&lt;br /&gt;
&amp;lt;PRE&amp;gt;http://127.0.0.1:8212/rest/kbcqciapi1/001/connection&amp;lt;/PRE&amp;gt;&lt;br /&gt;
Obviously change the ip address and 001 to refer to a different computer and company ID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can then test the data setup using more advanced items.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
For a list of materials in company 002, plant 04:&lt;br /&gt;
&amp;lt;PRE&amp;gt;http://127.0.0.1:8212/rest/kbcqciapi1/002/materials/04&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a list of mix designs in company 003, plant 10:&lt;br /&gt;
&amp;lt;PRE&amp;gt;http://127.0.0.1:8212/rest/kbcqciapi1/003/mixdesigns/10&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>Intra&gt;Chanson</name></author>
	</entry>
</feed>