bugid-100137 Wam page | getting wam index from wam api [moved logic]