ListA has fields with values ( Doc code[A1], Project number) and ListB has fields (Project path[//bank.com], Project number).
We have one dropdown and button in webpart. Dropdown is populated with doc code. As of now when we select doc code in DD and click on button it is fetching respective prj no. from
ListA. now we want to fetch the prj path from
ListB when doc code is selected in DD.
Like when A1 is selected in dropdown I should get value "//bank.com" as project number is foreign key and corresponding to value.
How to achive this via rest api, we have o365.