How to find relative attributes?

Consider the following attribute:

 

{
    "WebId": "F1AbE61ehJuKUOka39SEWN2PAvAp9M3_iQA8BGvNSyYEVaZRAHc-Lfr08pFQ-lqgfNzXWSAUElTWVNURU0xXE1BSU5cR1JPVVAxXFJBTkQxXFJBTkQxfEZPUk1VTEEx",
    "Id": "7e8bcf1d-3cbd-54a4-3e96-a81f3735d648",
    "Name": "Formula1",
    "Path": "\\\\PISYSTEM1\\Main\\Group1\\Rand1\\Rand1|Formula1",
    "DataReferencePlugIn": "Formula",
    "ConfigString": "A=..\\|Input1;B=..\\|Input2;[A/(B+1)]"
}   

How to use PI Web API to find the attributes references A and B from the formula?

Is there an easy way of using the element/attribute WebID + the reference itself (..\|Input1)?