Background:
I use WebAppBuilder 2.22 to develop 3D web apps with my developed custom widgets (esri js API 4.22) for our portal.
This web app can get longitude/latitude url parameters to focus on wanted location.
The user can use one of its custom widgets to do some work, create a result pdf, and show it in another broser tab.
My need now:
I need to do all this not interactively by the user using a browser, but as a web service (with REST API), operated by another program which will address the web service by its url, give it by parameters the x'y coordinates, and the service will do all the work offline, and return the pdf to the calling program.
I know how to develop the work INSIDE the service, but I totally do not know how to develop the service "package" so it will be executed "offline" as a REST api web service.
Help will be greatly appreciated.