0

This may come across as a novice question, but I was hoping to gain some direction or advice in how to query SharePoint 2013 to retrieve the metadata (document properties, including the Document ID GUID) around each of the documents stored in a specific document library. I do not have access to the Content SQL Server database, so I was hoping there would be some sort of web service I could leverage to get this information. In the past, I have used the /_vti_bin/ListData.svc web service to retrieve information from a SharePoint list in XML format. Is there a similar web service I could use to retrieve this information?

Some of the kind of data I am hoping to have returned is the library, uploader (created by), document type, and other custom columnar properties.

2
  • Are you interested in REST/JSON? Nov 24, 2014 at 19:29
  • Yes, a REST web service that returns JSON would be more than great. Nov 24, 2014 at 19:30

1 Answer 1

0

For REST you can refer this msdn article

http://msdn.microsoft.com/en-us/library/office/fp142380(v=office.15).aspx

A typical REST call look as below

http://server/site/_api/lists/getbytitle('listname')

You can use ODATA protocol for filter, select, expand, order

http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx

enter image description here

1
  • Thank you Amal! Exactly what I was looking for. Returned in XML format, now just have to handle some further parsing. Thanks again. Nov 24, 2014 at 19:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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