Accessing the Partner Onboarding REST APIs and documentation
To use the Partner Onboarding Rest APIs, you must have a valid license for and install Sterling File Gateway. Once you download and install the APIs, you must configure your system to use them.
About this task
To access the Partner Onboarding REST APIs and documentation:
Procedure
- Install Sterling File Gateway. You must have Sterling File Gateway installed to access the Partner Onboarding REST APIs.
-
Create a new system user account (or use an existing account) and give it the APIUser
permissions.
CAUTION:The APIUser permission is equivalent to admin and includes the permissions to create, delete, update and read all system configurations within a supported API.Note: To use the B2B API property, set the
JNDI_URL_PORT
property in theb2bapis.properties.in
file for JNDI communication between the Liberty server/API JVM and the Noapp JVM.The default
JNDI_URL_PORT
value is12345
. Once you change the JNDI URL port, you must remove the existing Liberty node entry from theOPS_NODE_INFO
table. -
Run the following command (even if you are running a non-clustered install):
This also enables startup of the Liberty API server.startCluster.cmd true 1
Note: The Partner Onboarding REST APIs require a clustered instance, but you can run a non-clustered instance in cluster mode. A true cluster is not required to use the REST APIs, unless you are implementing a high-availability (HA) scenario. - Install the APIs. For more information, see Installing B2B REST APIs.
- Obtain the LIBERTY_HTTPS_PORT value from sandbox.cfg. This is typically the base port + 75.
-
Go to
<Host_Name>:<port>/B2BAPIs/svc/doc.
Where,
- <Host_Name> is the server address where Sterling File Gateway is installed
- <port> is the Liberty server port number
- Optional:
To make the REST API HA-ready, configure a REST API DNS/VIP address for the B2Bi REST
API service and configure your load balancer to spray across the physical IP address and
port for each of your Sterling File Gateway nodes.
The load balancer hosts the received DNS/VIP and routes the requests to the configured destinations:
- <Host_Name1>:<port1>/B2BAPIs/svc/doc
- <Host_Name2>:<port2>/B2BAPIs/svc/doc
- <Host_Name3>:<port3>/B2BAPIs/svc/doc
- Log in to Sterling File Gateway as the system user with APIUser permissions. The Web Service Browser: API Reference is displayed.