On Fri, 1 Jun 2018 at 21:18, Bryan Dietz <bdietz400@xxxxxxxxx> wrote:
not to dissuade you from using python and assuming you are just
generating a UUID in python, there are examples of using GENUUID in RPG.
This is a Windows-based document storage and retrieval system with a
semi-RESTful API that can be used by clients. The primary interface
is the vendor's own web pages, but I'd really like to integrate as
much as possible with the existing RPG green screen customer care
application. In fact, these APIs are the main reason we bought this
app - we don't want our customer service people doing a search on the
green screen, flipping to a browser and searching again in the
vendor's app.
The UUID is created on the vendor's side of the interface. It's their
primary key for everything: users, groups, folders, documents, etc.
The Python code is navigating a variety of GET and POST requests to
access the document information. It also uses JSON decoders to unpack
the information being returned from the web service.
I'm looking for options to be able to have an RPG program fire off
these Python 'services', have them work with the web service, and pass
the results back to RPG. There are more data elements than UUID, but
that's the primary key to their kingdom.
--buck
As an Amazon Associate we earn from qualifying purchases.