SA REST API : System Architect REST API : Return active definition types for the given encyclopedia
  
Return active definition types for the given encyclopedia
Syntax
http://<Machine Name|IP>:<Port>/SARest/SQL/<Server Name>/<Encyclopedia Name>/<Workspace ID>/Definitions
?supportingInstances=1 will return only those types for which instances exist.
Optional parameters
rowcount=maximum number of items to return
gtddid=last_Identity_value_from_last_request
These parameters are specified like this:
query url...?rowcount=n
query url...?rowcount=n&gtddid=n
Example
http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Definitions
Results
<Encyclopedia Name="Samples">
<Definitions>
<type name="Action" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Definitions/Action"/>
<type name="Action-spa-State" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Definitions/Action-spa-State"/>
<type name="Activity-Based-spa-Cost" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Definitions/Activity-Based-spa-Cost"/>
<type name="Activity-spa-State-spa-Variable" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Definitions/Activity-spa-State-spa-Variable"/>
<type name="Analytic" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Definitions/Analytic"/>
<type name="Analytic-spa-Report" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Definitions/Analytic-spa-Report"/>
<type name="Application" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Definitions/Application"/>
</Definitions>
</Encyclopedia>
Comments
None.
Parent topic
System Architect REST API