Query all device additional information definitions.
/plat/res/devAppend/getAllDefine
<list>
<devAppendDefine> <id>1</id> <appendId>3</appendId> <fieldName>weight(kg)</fieldName> <fieldNotEmpty>true</fieldNotEmpty> <fieldType>1</fieldType> <fieldMax>110</fieldMax> <fieldMin>0</fieldMin> <defaultValue>0</defaultValue> <fieldPriority>2</fieldPriority> </devAppendDefine> ... </list>
Subelements for device additional information | |
---|---|
id |
Device additional information ID.
Integer type. Required. No default value.
|
appendId |
Device additional information appendId.
Integer type. Required. No default value.
|
fieldName |
Device additional information name.
String type. Required. No default value.
|
fieldNotEmpty |
Whether the value can be empty.
Boolean type. Required. No default value.
|
fieldType |
Type of the input value.
Integer type. 1: Integer. 2: Decimal. 3: Alphanumeric value. 4: Character. 5: Options.
|
fieldMin |
Minimum value.
Integer type. Available only when fieldType is set to 1 or 2.
|
fieldMax |
Maximum value.
Integer type. Available only when fieldType is set to 1 or 2.
|
defaultValue |
Default value.
Varies by fieldType. The default value can be empty when fieldNotEmpty is set to true.
|
fieldPriority |
Priority. The priority has a default value.
Integer type. If you do not configure the priority, the system assigns the default value.
|
options |
Options.
Character string list that stores data when fieldType is set to 5.
|
Query and list all device additional information definitions.
GET http://host:8080/imcrs/plat/res/devAppend/getAllDefine accept: application/xml ...
HTTP/1.1 200 OKContent-Type: application/xml ... <list>
<devAppendDefine> <id>12</id> <appendId>3</appendId> <fieldName>weight(kg)</fieldName> <fieldNotEmpty>true</fieldNotEmpty> <fieldType>1</fieldType> <fieldMax>110</fieldMax> <fieldMin>0</fieldMin> <defaultValue>0</defaultValue> <fieldPriority>2</fieldPriority> </devAppendDefine> ... </list>