This procedure retrieves Time value for given node string.
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 “:” |
valueType | 1A | Optional | Returns type of value (see types of value) |
exists | N | Optional | Returns *ON if value exists, *OFF if value does not exit |
The procedure converts character value time *iso format and returns numeric 6P 0 (HHMMSS):
JSON value | return value |
---|---|
‘YYYY-MM-DDTHH:MM:SS+HH:MM’ | HHMMSS |
‘YYYY-MM-DDTHH:MM:SS’ | HHMMSS |
‘HH:MM:SS’ | HHMMSS |
HHMMSS | HHMMSS |
Types of value:
type | Description |
---|---|
N | Numeric |
E | error |
BLANK | Value does not exist |
Example:
xxTime = reqGetTimeValue('params': 'orderCreationTime');