20. Asset Types

Returns a list of asset types and subtypes in the system
All assets have a 'type' attribute. This attribute is encoded in the RFID asset tag and is used to control the inspection device behavior. An asset's type is part of it's unique identification. The default asset type is 0 with a label of 'Standard'. Other asset types may be added as required by specific inspection configurations. There is no user interface to add or otherwise manipulate asset types.

Assets may optionally be assigned a 'subtype' attribute. Subtypes are an arbitrary user defined label used to help identify and organize assets. It has no other purpose and does not affect the operation of the system. User with appropriate permissions may add, delete and edit subtypes.

20.1 Request Data

Required Information
Name Description
action showopen
operation assettype
format xml

20.2 Data Returned

Returned information:
A list of asset type and subtypes. At least one type (the default 'Standard' type) and zero or more subtypes are returned. The id is the actual numeric type code, while the type or subtype is the human readable label given to that type or subtype.
DTD:
<!ELEMENT assettypelist (type+, subtype*)>
<!ATTLIST assettypelist ver CDATA #REQUIRED>
<!ELEMENT type (#PCDATA)>
<!ATTLIST type id CDATA #REQUIRED>
<!ELEMENT subtype (#PCDATA)>
<!ATTLIST subtype id CDATA #REQUIRED>

Example Request:

http://development.zonarsystems.net/interface.php?action=showopen&operation=assettype&format=xml

Example Success Reply