Integrate > Micro Focus UCMDB > Using the ServiceManagerEnhancedAdapter9.41 Adapter > How to Upgrade Your Integration > Task 5. Enable the Restful API for Custom CI Types in Service Manager

Task 5: Enable the RESTful APIs for Custom CI Types in Service Manager

If your existing UCMDB-SM integration environment uses any custom CI types, you need to update the External Access Definition of each custom CI type in Service Manager to enable its RESTful API for using a generic adapter. A Service Manager generic adapter requires the ucmdbIntegration RESTful APIs to work.

The following table describes the parameters that you need to update in each External Access Definition in Service Manager (System Administration > Tailoring > Web Services > External Access Definition).

Parameter

Description

Example Value

RESTful Enabled

Enables the RESTful API (must be set to true to enable the RESTful API)

true

Resource Collection Name

Specifies a unique name for the resource collection. The following convention is recommended: <WS Object Name>+'s'

ucmdbATMs

Resource Name

Specifies a name for the resource. The following convention is recommended: <WS Object Name>

ucmdbATM

Unique Keys

Unique keys of the relevant device table

logical.name

Max Records Returned in Query

Maximum number of returned records in one query

1000

Resource Collection Actions - POST

Action to invoke for a POST request on the resource collection

Create

Resource Actions - POST

Action to invoke for a POST request on the resource

Create

Resource Actions - PUT

Action to invoke for a PUT request on the resource

Update

Resource Actions - DELETE

Action to invoke for a DELETE request on the resource

Delete

To access these parameters, follow these steps:

  1. Open the External Access Definition for the custom CI type.
    1. Click Tailoring > Web Services > Web Service Configuration to open the External Access Definition form.
    2. In the Service Name field, type ucmdbIntegration.
    3. In the Name field, select the table for the custom CI type.
    4. In the Object Name field, type the relevant web service object name.
    5. Click Search.
  2. Click the Restful tab, and update the parameters.

    As an example, the following figure shows the external access definition of a custom CI type named ATM Machine.