Create a New API Project for Multiple Records

  1. Select File > New > z/OS Connect EE API Project. The New Project window will display.

    New API Project window displays the Project Name, the API Name, and the Base path. An arrow hovers over the Finish Button

    Figure 316. New API Project
  2. In the New Project window enter the following information:
    1. The Project name is CATLGMAPI.
    2. the API Name will populate with catlgmapi. It is an editable field.
    3. The Base Path will populate with /catlgmapi. It is an editable field.
    4. Enter an optional description.
    5. Select the Finish button. The New Project window will close and the API Editor will display.
  3. Change the path name to /items/{item-desc}.

    CATLGM API Editor displays the Path and the four methods, Post, Get, Put, and Delete

    Figure 317. catlgmapi Editor
  4. Remove the POST, PUT, and DELETE methods by selecting the box with a red X to the right of the Method. A window will display to confirm the deletion. The GET Method should be the only Method.

    Remaining GET Method displays. Put, Delete, and Post are removed.

    Figure 318. GET Method
  5. In the Project Explorer window, right-click to select the CATLGM. Select z/OS Connect EE > Export z/OS Connect EE Service Archive. The Export Service Package Window displays.

    Export Service Package window list CATLGM.sar with an empty Folder name

    Figure 319. Export Service Package
  6. Select the Browse button. The Select Workspace Folder window will display.

    Select Workspace Folder Window displays a list of APIs. CATLGMAPI is selected. An arrow hovers over CATLGMAPI.

    Figure 320. Select a Workspace Folder Window
    1. Select CATLGMAPI.
    2. Select the OK Button. The Select a Workspace Folder Window will close. The Export Service Package Window displays the Folder is mapped to /CATLGMAPI.
    3. The Export Service Package window displays the selected folder and file name. Select the OK button. The Export Service Package window will close.

      Completed Export Service Package displays /CATLGMAPI as the Folder

      Figure 321. Completed Export Service Package