/api/space/config-template-management/templates/{template-id}/devicesAll

The following operation is supported on this resource:

  • GET - Get all devices by template
GET /templates/{template-id}/devicesAllVersion 2

Sample Usage

GET /templates/{template-id}/devicesAll


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    template-idIntegerPathThe ID of the configuration template. Y
  • Sample Output XML:
    <devices-by-templates2 total="Integer" uri="/api/space/config-template-management/templates/{template-id}/devicesAll">
         <device-template>
               <matching-schema>String</matching-schema>
               <software-release>String</software-release>
               <domain-id>Integer</domain-id>
               <interfaces>String</interfaces>
               <host-name>String</host-name>
               <OSVersion>String</OSVersion>
               <connectionStatus>String</connectionStatus>
               <ipAddr>String</ipAddr>
               <platform>String</platform>
               <original-platform>String</original-platform>
               <status>String</status>
               <dev-admin-passwd>String</dev-admin-passwd>
               <templateVer>Integer</templateVer>
               <cc-state>DOES_NOT_EXISTS</cc-state>
               <device-ip>String</device-ip>
               <managedStatus>String</managedStatus>
               <id>Integer</id>
               <device-type>String</device-type>
               <name>String</name>
               <config-status>DEVICE_STATE_AWAIT_1STCONNIM</config-status>
               <vendor>String</vendor>
               <device-family>String</device-family>
               <domain-name>String</domain-name>
               <device-connection-type>String</device-connection-type>
               <display-name>String</display-name>
               <staged-status>STAGED</staged-status>
         </device-template>
    </devices-by-templates2>

  • Sample Output JSON:
    {
       "devices-by-templates2" : {
         "@total" : "Integer" ,
         "@uri" :
         "/api/space/config-template-management/templates/{template-id}/devicesAll" ,
         "device-template" : {
           "matching-schema" : "String" ,
           "software-release" : "String" ,
           "domain-id" : "Integer" ,
           "interfaces" : "String" ,
           "host-name" : "String" ,
           "OSVersion" : "String" ,
           "connectionStatus" : "String" ,
           "ipAddr" : "String" ,
           "platform" : "String" ,
           "original-platform" : "String" ,
           "status" : "String" ,
           "dev-admin-passwd" : "String" ,
           "templateVer" : "Integer" ,
           "cc-state" : "DOES_NOT_EXISTS" ,
           "device-ip" : "String" ,
           "managedStatus" : "String" ,
           "id" : "Integer" ,
           "device-type" : "String" ,
           "name" : "String" ,
           "config-status" : "DEVICE_STATE_AWAIT_1STCONNIM" ,
           "vendor" : "String" ,
           "device-family" : "String" ,
           "domain-name" : "String" ,
           "device-connection-type" : "String" ,
           "display-name" : "String" ,
           "staged-status" : "STAGED"
         }
       }
    }