In my project (using SP 2013) I need to get information from a couple of different lists and merge them for display purposes.

Instead of using a couple of ajax requests to the api and merging the data in the js code, can I override the "GetByTitle" function or maybe create a "GetMergedData" that will use the base functionality that the api offers me?

  • In that case you have to write your own custom web service – Atish Dipongkor - MVP Jan 24 '16 at 13:21

Sounds like you want to create a custom web service endpoint. I followed this tutorial to extend the REST api in one of my projects.

Note that you must use the /_vti_bin/ path to access the endpoint when calling it from an app/add-in, the usual /_api/ does not allow non-sharepoint endpoints.

  • I do not wish to CREATE a custom endpoint, I want to EXTEND an EXISTING one – Sharon J D Dorot Jan 25 '16 at 11:14

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.