This procedure retrieves number of array elements for given node.
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 “:” NOTE: The last node name must be fllowed by “[]” |
The procedure returns number of elements for array (30P 0).
Examples:
xxnumOfElem = reqGetNumOfElements('params[]');
xxNodeName = reqGetFirstChildNode('params': 'messages[]');
xxNodeName = reqGetFirstChildNode('params': 'data:orderlines[]');