Sample 2 GetClassifcationCode from Root using Hierarchical Notation
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:ns="http://www.tibco.com/cim/services/dataservice/wsdl/2.0">
<soapenv:Header />
<soapenv:Body>
<ns:ClassificationCodeRequest>
<ns:UserInfo>
<ns:UserName>a</ns:UserName>
<ns:Password>abc</ns:Password>
<ns:Enterprise>ws</ns:Enterprise>
</ns:UserInfo>
<ns:Repository>
<ns:Name>FBT</ns:Name>
<ns:ClassificationScheme>
<ns:Id>236901</ns:Id>
<ns:Name>FBT-Scheme</ns:Name>
</ns:ClassificationScheme>
</ns:Repository>
<ns:ClassificationCodeHierarchy>
<ns:FetchDepth>1</ns:FetchDepth>
<!--You have a CHOICE of the next 2 items at this level. i.e - choice of using Hierarchical Notation or TreePath Notation -->
<!-- <ns:ClassificationCodeTreePath>
<ns:TreePath>
<ns:Path level="0">FBT-SCHEME</ns:Path>
</ns:TreePath>
</ns:ClassificationCodeTreePath> -->
<ns:ClassificationCodes>
<ns:ClassificationCode Level="0">
<ns:Code>FBT-SCHEME</ns:Code>
<ns:Name>FBT-SCHEME</ns:Name>
</ns:ClassificationCode>
</ns:ClassificationCodes>
</ns:ClassificationCodeHierarchy>
<!-- The next element ‘ReturnCount’ is optional. Use only if pagination is desired -->
<ns:ReturnCount>
<ns:StartCount>1</ns:StartCount>
<ns:TotalCount>5</ns:TotalCount>
</ns:ReturnCount>
</ns:ClassificationCodeRequest>
</soapenv:Body>
</soapenv:Envelope >
Response:
<soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ xmlns:ns="http://www.tibco.com/cim/services/dataservice/wsdl/2.0">
<soapenv:Body>
<ns:ClassificationCodeResponse>
<ns:ClassificationCode Level="1">
<ns:Code>50200000</ns:Code>
<ns:Name>BEVERAGES</ns:Name>
<ns:Description>Beverages</ns:Description>
</ns:ClassificationCode>
<ns:ClassificationCode Level="1">
<ns:Code>50180000</ns:Code>
<ns:Name>BREAD/BAKERY PRODUCTS</ns:Name>
<ns:Description>Bread/Bakery Products</ns:Description>
</ns:ClassificationCode>
<ns:ClassificationCode Level="1">
<ns:Code>50220000</ns:Code>
<ns:Name>DAIRY PRODUCTS</ns:Name>
<ns:Description>Dairy Products</ns:Description>
</ns:ClassificationCode>
<ns:ClassificationCode Level="1">
<ns:Code>50160000</ns:Code>
<ns:Name>SUGAR SWEETENING PRODUCTS</ns:Name>
<ns:Description> Sugar Sweetening Products</ns:Description>
</ns:ClassificationCode>
<ns:ClassificationCode Level="1">
<ns:Code>50230000</ns:Code>
<ns:Name>FOOD/BEVERAGE/TOBACCO PACKS</ns:Name>
<ns:Description>Food/Beverage/Tobacco Packs</ns:Description>
</ns:ClassificationCode>
<ns:ClassificationCode Level="1">
<ns:Code>50250000</ns:Code>
<ns:Name>FRUITS (FRESH)</ns:Name>
<ns:Description>Fruits (Fresh)</ns:Description>
</ns:ClassificationCode>
</ns:ClassificationCodeResponse>
</soapenv:Body>
</soapenv:Envelope >
Copyright © Cloud Software Group, Inc. All rights reserved.
