Difference between revisions of "API Documentation"

From TMS Support Wiki
Jump to navigation Jump to search
Line 5: Line 5:
The Swagger implementation for our live PTS 5 demo, which is constantly updated to the latest version, can be found here: http://prescriptiontracking.co.uk/swagger
The Swagger implementation for our live PTS 5 demo, which is constantly updated to the latest version, can be found here: http://prescriptiontracking.co.uk/swagger


An evolving list of example API calls in Javascript can be found here: https://tmsinsight.com/elements/APIExamples.html
An evolving list of example API calls in JQuery can be found here: https://tmsinsight.com/elements/APIExamples.html

Revision as of 12:53, 23 September 2022

PTS 5 includes a self-documenting application programming interface (API).

The PTS 5 API is an HTTP REST API and implements the open source Swagger UI API self-documenting tool. The documentation can be accessed by simply appending /swagger to the end of your PTS URL, e.g.: http://YourPTSServer/PTSWeb/swagger. This will not only reflect the exact version of PTS you have installed but will allow you to test the API with your own data.

The Swagger implementation for our live PTS 5 demo, which is constantly updated to the latest version, can be found here: http://prescriptiontracking.co.uk/swagger

An evolving list of example API calls in JQuery can be found here: https://tmsinsight.com/elements/APIExamples.html