The following is an example of starting the TSO/E address space and then starting the BCM Web API server in that space.
- Using your z/OS user ID, perform z/OSMF authentication.
-
Start the TSO/E address space in which the BCM Web API server will run.
- Request line
-
Post https://z/OSMFserverIPaddress/zosmf/tsoApp/tso?proc=IKJACCNT&chset=697&cpage=1047&rows=204&cols=160&rsize=50000&acct=DEFAULT
- Response body
-
{"servletKey":"USERID-38-aabcaaaf","queueID":"4","sessionID":"0x37","ver":"0100", "tsoData":[{"TSO MESSAGE":{"VERSION":"0100","DATA":"IKJ56455I USERID LOGON IN PROGRESS AT 00:00:00 ON APRIL 1,2022"}, {"TSO MESSAGE":{"VERSION":"0100","DATA":"READY"}}, {"TSO PROMPT":{"VERSION":"0100","HIDDEN":"FALSE"}}], "reused":false,"timeout":false}
-
Start the BCM Web API server.
- Request line
-
Specify the servletKey key value included in the response body in step 2: USERID-38-aabcaaaf.
-
POST https://IP-address-of-the-z/OSMF-server/zosmf/tsoApp/app/USERID-38-aabcaaaf/YKAPI
- Request body
-
For the startcmd key, specify the procedure name YKAPIPRC created in To start the BCM Web API server by using a procedure, and specify the queueID key value included in the response body in step 2: 4.
-
{"startcmd":"YKAPIPRC &1 &2 4" }
-
If you changed the login procedure in To change the login procedure to directly start the BCM Web API server, specify the BCM Web API server name YKAPISRV instead of the procedure name YKAPIPRC.
-
{"startcmd":"YKAPISRV &1 &2 4" }