SA REST API : System Architect REST API : Return specific properties for definition instances across multiple types
  
Return specific properties for definition instances across multiple types
Syntax
http://<Machine Name|IP>:<Port>/SARest/SQL/<Server Name>/<Encyclopedia Name>/<Workspace ID>?fields=Encyclopedia/Definitions/(<Type Name>/(<Property Name>|<Property Name>)|<Type Name>/(<Property Name>|<Property Name>))
Example
Return name and GUID properties for all application definitions and name and project properties for all analytic definitions:
http://localhost:8889/SARest/SQL/MySQLServer/Samples/1?fields=Encyclopedia/Definitions/(Application/(Name|prp_GUID)|Analytic/(Name|prp_Project))
Results
<Encyclopedia name="Samples">
<Definitions>
<Application>
<Name>Business Applications</Name>
<prp_GUID>03e2422f-2327-49c4-aaee-8070f31a555c</prp_GUID>
</Application>
<Application>
<Name>Call Center</Name>
<prp_GUID>9fa6ac10-8486-4baa-9cba-6fa8f58d5959</prp_GUID>
</Application>
<Analytic>
<Name>Application Portfolio</Name>
<prp_Project>SAAuto</prp_Project>
</Analytic>
<Analytic>
<Name>Bottom Ranked</Name>
<prp_Project>ApplyRank</prp_Project>
</Analytic>
</Definitions>
<Workspace Name="Root" ID="1" Baseline="0" Description="" Path="\\Root"/>
</Encyclopedia>
Comments
Use pipe character to delimit the list of definition types and property names.
Parent topic
System Architect REST API