REST Resources

/api/space/device-management/devices/{deviceid}/customized-attribute-values

The following operations are supported on this resource:

  • GET - Get Customized Attribute Values
  • POST - Add Customized Attribute Value
GET /devices/{deviceid}/customized-attribute-valuesVersion 3

Get Customized Attribute Values.

Sample Usage

GET /devices/{deviceid}/customized-attribute-values


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    deviceidIntegerPathDeviceid Y
  • Sample Output XML:
    <customized-attribute-values total="Integer" uri="/api/space/device-management/devices/{deviceid}/customized-attribute-values">
         <customized-attribute-value
               href="/api/space/device-management/devices/{entityRowId}/customized-attribute-values/{id}" uri="/api/space/device-management/devices/{deviceid}/customized-attribute-values">
               <id>Integer</id>
               <entity-row-id>Integer</entity-row-id>
               <value>String</value>
               <customized-attribute-label
                   href="/api/space/tag-management/customized-attribute-labels/{id}" uri="/api/space/device-management/devices/{deviceid}/customized-attribute-values">
                   <id>Integer</id>
                   <name>String</name>
               </customized-attribute-label>
         </customized-attribute-value>
    </customized-attribute-values>

  • Sample Output JSON:
    {
       "customized-attribute-values" : {
         "@total" : "Integer" ,
         "@uri" :
         "/api/space/device-management/devices/{deviceid}/customized-attribute-values"
         ,
         "customized-attribute-value" : {
           "@href" :
           "/api/space/device-management/devices/{entityRowId}/customized-attribute-values/{id}"
           ,
           "@uri" :
           "/api/space/device-management/devices/{deviceid}/customized-attribute-values"
           ,
           "id" : "Integer" ,
           "entity-row-id" : "Integer" ,
           "value" : "String" ,
           "customized-attribute-label" : {
             "@href" : "/api/space/tag-management/customized-attribute-labels/{id}" ,
             "@uri" :
             "/api/space/device-management/devices/{deviceid}/customized-attribute-values"
             ,
             "id" : "Integer" ,
             "name" : "String"
           }
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: ManageLabelsCap

    POST /devices/{deviceid}/customized-attribute-valuesVersion 3

    Add Customized Attribute Value.

    Sample Usage

    POST /devices/{deviceid}/customized-attribute-values


    • Parameters:
      NameTypeURI TypeDescriptionRequired
      deviceidIntegerPathDeviceid Y
  • Sample Input XML:
    <customized-attribute-value>
         <value>String</value>
         <customized-attribute-label href="/api/space/tag-management/customized-attribute-labels/{id}"/>
    </customized-attribute-value>

  • Sample Output XML:
    <customized-attribute-value uri="/api/space/device-management/devices/{deviceid}/customized-attribute-values/{id}">
         <id>Integer</id>
         <value>String</value>
         <customized-attribute-label
               href="/api/space/tag-management/customized-attribute-labels/{id}" uri="/api/space/device-management/devices/{deviceid}/customized-attribute-values/{id}">
               <id>Integer</id>
               <name>String</name>
         </customized-attribute-label>
    </customized-attribute-value>

  • Sample Input JSON:
    {
       "customized-attribute-value" : {
         "value" : "String" ,
         "customized-attribute-label" : {
           "@href" : "/api/space/tag-management/customized-attribute-labels/{id}"
         }
       }
    }

  • Sample Output JSON:
    {
       "customized-attribute-value" : {
         "@uri" :
         "/api/space/device-management/devices/{deviceid}/customized-attribute-values/{id}"
         ,
         "id" : "Integer" ,
         "value" : "String" ,
         "customized-attribute-label" : {
           "@href" : "/api/space/tag-management/customized-attribute-labels/{id}" ,
           "@uri" :
           "/api/space/device-management/devices/{deviceid}/customized-attribute-values/{id}"
           ,
           "id" : "Integer" ,
           "name" : "String"
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: ManageLabelsCap