Master Data Query Examples
Get the Master Data from the TraceTracker Master Data Server.
URL
{tix-instance}/gqi3/rest/query/SimpleMasterDataQuery?
Usage example
curl -u user:password "http://tix.company.com/gqi3/rest/query/SimpleMasterDataQuery?
includeAttributes=true&includeChildren=true&
vocabularyName=urn:epcglobal:epcis:vtype:EPCClass"
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:QueryResults
xmlns:ns2="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
xmlns:ns3="urn:epcglobal:epcis-query:xsd:1"
xmlns:ns4="urn:epcglobal:epcis-masterdata:xsd:1"
xmlns:ns5="urn:epcglobal:epcis:xsd:1">
<queryName>SimpleMasterDataQuery</queryName>
<resultsBody>
<VocabularyList>
<Vocabulary type="urn:epcglobal:epcis:vtype:EPCClass" accessGroup="0">
<VocabularyElementList>
<VocabularyElement accessGroup="0" id="urn:epc:idpat:sgtin:7075188.445335.*">
<attribute accessGroup="0" id="urn:prefix:obj:mda:someint">310</attribute>
<attribute accessGroup="0" id="urn:prefix:obj:mda:description">Warm</attribute>
</VocabularyElement>
</VocabularyElementList>
</Vocabulary>
</VocabularyList>
</resultsBody>
</ns3:QueryResults>