1

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

https://test.oracleoutsourcing.com/api/widget/test/GetESSDataOP?userId=302

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.

1 Answer 1

1

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

{
   "value": [
     { 
       "IdName": "[email protected]",
       "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 and acknowledge you have read our privacy policy.

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