reqGetNumOfElements()

This procedure retrieves number of array elements for given node.

ParameterTypeDescription
baseNode1024A VARYING, VARSIZEMandatoryThis parameter is used to pass base node. Currently following base nodes are supproted: “IptorAPI”, “method”, “params”, “messages”, “control”, “id”
node1024A VARYING, VARSIZEOptionalNode 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[]');