I am getting data in xml formal by hitting the below url in browser.


I wanted to know how would I be able to read this data in sharepoint and utilize it to perform some other operation like adding data to list.


after hitting url you will get xml data like below https://test.oracleoutsourcing.com/api/widget/test/GetESSDataOP?userId=302

   "value": [
       "IdName": "test@test.onmicrosoft.com",
       "Workphone": "1234567891",
       "Title": "it",

so you can consume using CSOM or JS code as per key value like :

propertyMap.Add("Property1", "Workphone");

propertyMap.Add("Property2", "Title");

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.