Record Classification Details

To return record classification details, you need to specify the <ClassificationSchemes> context in the <Return> tag. You can search for records including the record classification details.

  • ClassificationScheme — Specify one or more classification scheme names in the <ClassificationSchemes> context, which includes the classification and record information.
    <Return>
    <ClassificationData>
         <ClassificationSchemes>
             <ClassificationScheme name="food"/>
         </ClassificationSchemes>
    </ClassificationData>
    </Return>
  • ALL — Specify to return all record classifications in response.
    <Return>
    <ClassificationData>
         <ClassificationSchemes>
           <All/>
         </ClassificationSchemes>
    </ClassificationData>
    </Return>

The sample XML files are available at the following locations:

  • $MQ_HOME\schema\DataService\2.0\samples\repository\record-query\MasterCatalogRecord-QueryData-ReturnClassificationDetails-Request.xml
  • $MQ_HOME\schema\DataService\2.0\samples\repository\record-query\MasterCatalogRecord-QueryData-ReturnClassificationDetails-Response.xml