1

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?

1
  • In that case you have to write your own custom web service Commented Jan 24, 2016 at 13:21

1 Answer 1

0

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.

1
  • I do not wish to CREATE a custom endpoint, I want to EXTEND an EXISTING one Commented Jan 25, 2016 at 11:14

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.