If you haven’t started using Rest api calls with your Domino environment, it’s time now. This will help you extennd and connect your domino environment to external services or connect external services to your Domino environment.
There is several ways to expose Rest api from the server
- Domino Data Services
- SmartNSF on OpenNTF
- XPage with Json output
- Domino View displayed as json
- Lotusscript or Java agent
Here is some ideas what you could do
- Sending / getting data from ERP system
- Remote run print jobs
- Compile Log events from servers or machines
- Send control files to a cutting machine
- Get information about how many people is walking thru a door
- Getting sales numbers from cash registers into the Domino based extranet
- Automatically get the exchange rate and update this into the system
- Moving a support case forward in your external helpdesk
- Connect IOT devices directly to a Domino or use IBM IOT in Bluemix as the collector point
If you have any great additions to the possibilities or need help implementing feel free to contact me or comment below.
Another option is a REST servlet using OpenNTF Domino API Starter Servlet. This has the added benefit of being able to use in-built IBM packages specifically designed for JSON and HTTP handling https://openntf.org/main.nsf/project.xsp?r=project/OpenNTF%20Domino%20API%20Starter%20Servlet. In my experience, manually constructing JSON is painful and some options don’t allow the flexibility to output specific HTTP error codes / messages as part of the response.