57. Admin List Resource Attributes Assignments

Returns a list of Resource Attribute Assignments.

57.1 Request Data

Required Information
Name Description
action adminattributeassign
operation list
format The format to return results in. Acceptable values:
  • xml Results are returned in XML format.
  • json Results are returned in JSON format.
Optional Information
Name Description
target Specific target id to report for, rather than all targets of the same type. If specified then type must be specified as well.
type Specific resource (like assets or inspections) type id to report for, rather than all resource types.
Available Type Ids:
Name ID
assets 1

57.2 Data Returned

Returned information:
DTD:
<!ELEMENT attributeassignlist (assignment*) >
<!ATTLIST attributeassignlist ver CDATA #REQUIRED>
<!ELEMENT assignment (rtypeid, aid, rid, endpoint) >
<!ATTLIST assignment id CDATA #REQUIRED>
<!ELEMENT rtypeid (#PCDATA)>
<!ELEMENT aid (#PCDATA)>
<!ELEMENT rid (#PCDATA)>
<!ELEMENT endpoint (#PCDATA)>

Reply Data
Name Description
assignment id The attribute assignment id.
rtypeid The resource type id.
aid The attribute id.
rid The resource id.
endpoint The resource attribute assignment end point - boolean.

Example Request:

http://development.zonarsystems.net/interface.php?action=adminattributeassign&operation=list&format=xml&type=1

Example Success Reply XML

Example Success Reply JSON