This procedure returns parameter value type.
Parameter | Type | Description | |
---|---|---|---|
baseNode | 1024A VARYING, VARSIZE | Mandatory | This parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id” |
node | 1024A VARYING, VARSIZE | Optional | Node name. This parameter is optional. If the structure is more complex then nodes must be divided by colon “:” |
The procedure returns value type (1A). See table bellow.
Types of value:
type | Description |
---|---|
O | Object |
C | Character |
N | Numeric |
T | true |
F | false |
0 | null |
E | error |
BLANK | Value does not exist |
Examples:
xxType = reqGetValueType('params': 'orderNumber');
if reqGetValueType('params' :'orderNumber') = 'N';
xxNumValue = %DEC(reqGetValue('params' :'orderNumber') :5 :0);
else;
xxNumValue = 0;
endif;