Background

docMgt has a very robust REST API system. This means that most data and transactions are available via REST calls. This article will focus on Searching Records via REST.

For more information about REST, refer to this Wiki link. For information about docMgt’s implementation of REST web services, refer to the online reference here.

While most modern languages like .NET, Java, JavaScript and others can perform calls to REST services it is quite common to use JavaScript. So for this example I will be using a simple JavaScript form that uses both jQuery and Bootstrap to allow a user to enter a search term and get back a list of the matching Records from a docMgt server.

Scenario

The scenario for this example is a simple web application that allows the user to enter text and use that text to return matching Records from a docMgt server. For sake of brevity we will only display the ID of the matching Records but in a real-world case you would most likely show the data as well.

rest-api-searching-records-screen1

Key Points

There are several items demonstrated here but the ones most important are the following:

  • Shows the basic methodology of calling the docMgt REST services
  • Demonstrates the use of authorized connections to docMgt
  • Shows how to search for Records using the standard (no record type) search method

Download source here: JavaScriptTest.zip.

Please Rate this Article

Join Our Mailing List

Join our mailing list to receive the latest news and updates from the docMgt team

You have Successfully Subscribed!

Pin It on Pinterest