Workbench REST API Methods


This section describes how to work with REST API methods.

Submit JCL contained in a PDS member

POST <ces server>/compuware/ws/topazworkbench/submit/<partitioned data set name>/<member name>

Headers

  • Authorization: <CES Token>
  • Content-Type: application/json
  • Accept: application/json

TopazRestAPIs_1.png

Submit JCL from the REST Client

POST <ces server>/compuware/ws/topazworkbench/submit/

Headers

  • Authorization: <CES Token>
  • Content-Type: application/json
  • Accept: application/json

Body

  • jcllist

TopazRestAPIs_2.png

Submit JCL contained in a sequential data set

POST <ces server>/compuware/ws/topazworkbench/submit/<sequential data set name>

Headers

  • Authorization: <CES Token>
  • Content-Type: application/json
  • Accept: application/json

TopazRestAPIs_3.png

Check the execution status of a Job

POST <ces server>/compuware/ws/topazworkbench/checkJobStatus/<Job Name>/<Job Id>

Headers

  • Authorization: <CES Token>
  • Content-Type: application/json
  • Accept: application/json

TopazRestAPIs_4.png