Request Data
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.
Required Information | |
---|---|
Name | Description |
action | showopen |
operation | assettype |
format | xml |
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
https://omi.zonarsystems.net/interface.php?customer=zzo2544&username=zonar&password=secret.pw.2019&action=showopen
&operation=assettype&format=xml