Connecting to the API URL - Public Sector Constituency Web Access - English - Foundation 22.1 - OnBase - external

Public Sector Constituency Web Access

Platform
OnBase
Product
Public Sector Constituency Web Access
Release
Foundation 22.1
License

In order for the front-end client to connect to the API, you need to specify where to access it. Within the api object, the value of the url key must be set to the URL of the Public Access API. Specifically, this URL is the virtual path to the directory containing the Public Access bin folder, with /api appended. For example:

“url”: “http://example.com/publicaccess/api”
Tip:

In the sample obpa-config.json files provided, the default value of the url key is ../../api. This directs the front-end client to look two directory levels up from the location of the file to find the API. In a typical installation, with the API hosted on the same machine and the directory structure unchanged, this default value can successfully connect the front-end to the API.