SA REST API : System Architect REST API : Return active diagram types for the given encyclopedia
  
Return active diagram types for the given encyclopedia
Syntax
http://<Machine Name|IP>:<Port>/SARest/SQL/<Server Name>/<Encyclopedia Name>/<Workspace ID>/Diagrams
?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/Diagrams
Results
<Encyclopedia Name="Samples">
<Diagrams>
<type name="Activity" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Diagrams/Activity"/>
<type name="Auto-Decomposition" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Diagrams/Auto-Decomposition"/>
<type name="Business-spa-Architecture" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Diagrams/Business-spa-Architecture"/>
<type name="Business-spa-Concept" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Diagrams/Business-spa-Concept"/>
<type name="Business-spa-Process" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1/Diagrams/Business-spa-Process"/>
</Diagrams>
</Encyclopedia>
Comments
None.
Parent topic
System Architect REST API