INC Platform - Resource Management

QueryCusCombineTopology

Provide topology ID,Query CusCombineTopology。

Interface URI

/plat/res/topo/cuscombine/{id}

Access Method

HTTP
GET
Parameters
Query Parameter
topoId topology ID.
Long integer type. Required. No default value.

Result

status
  • 200(OK):success。
Message Header
HTTP/1.1 200 OK
Message Body
<;VisioDocument xmlns="urn:schemas-microsoft-com:office:visio">;
  ...
<;/VisioDocument>;
          
Element Description
CuscomBineView Description
viewId CusCombineID
BigInteger type.The cuscombine view ID
viewName Symbol Name
String type.The cuscombine view name.
symbolId Symbol ID
BigInteger type. Required. No default value.The symbol ID in the view.
symbolType Symbol Type
int type.The symbol type in the view
symbolName Symbol Name
String type.The symbol name in the view
symbolDescriber Symbol Describer
String typ. The symbol describer in the view
parentId Symbol ParentId
BigInteger type. No default value Required.Map the view ID.
positionX Symbol positionX
BigInteger type. The X coordinate of symbol in the topology.The default is 0, when the topo is not saved.
positionY Symbol positionY
BigInteger type. The Y coordinate of symbol in the topology.The default is 0, when the topo is not saved.
deviceId device ID
BigInteger type.Only the device type symbol has the device ID other symbols default to 0
isLocked Whether or not to lock
boolean type. Whether or not to lock.default false

Example

Query the panoramic topology information of ID to 13

Request
http://localhost:8080/imcrs/plat/res/topo/cuscombine/{id}?id=13
accept: application/xml
...
        
Response
HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
  <cusCombineView>
    <viewId>1157</viewId>
    <viewName>ASDASDASD</viewName>
    <symbolList>
      <symbolId>1160</symbolId>
      <symbolType>3</symbolType>
      <symbolName>broadview115</symbolName>
      <symbolDescriber></symbolDescriber>
      <parentId>1157</parentId>
      <positionX>67</positionX>
      <positionY>63</positionY>
      <deviceId>3</deviceId>
      <isLocked>false</isLocked>
    </symbolList>
    </list>