Docs.bmc.com will undergo a brief maintenance outage 27 March 2025. The site will be unavailable for ten minutes starting at 6:30 AM CDT/5 PM IST.

Retrieving the list of monitor types


The monitortypes API uses the GET method to obtain the list of monitor types. 

TSWS APIs that use the POST method

API Endpoints

Description

Obtains the authToken required to perform all other operations

Retrieves configuration data of monitor instances

Retrieves performance data of monitor instances

TSWS APIs that use the GET method

API Endpoints

Description

Retrieves a list of monitored devices

Retrieves a list of monitored instances 

Retrieves a list of monitor types 

Retrieves a list of tenants 

Before you begin

You must have used the login API to obtain the authToken, which authenticates the user performing the operation. For details, see TSWS-authentication.

Request syntax

https://<PresentationServerHostName>/tsws/10.0/api/omprovider/monitortypes

Request parameters

Element

Description

tenantId

Tenant name

Example: *

monitorCategory

  • instance
  • group
  • all (instances and groups)

authToken

 

Sample request with REST client

After you access the REST client, perform the following steps:

  1. Enter the URL for the list of monitor types API. The generic format is:
    https://<PresentationServerHostName>/tsws/10.0/api/omprovider/monitortypes
  2. Add the request parameters:
    1. tenantId 
    2. monitorCategory 
  3. Add a new header row and select Authorization as the header type.
  4. Enter the text authToken followed by the authToken generated through the login API. 
  5. Click Send.

MOtypeAPI.png

 


Sample JSON response

The following sample JSON response contains the list of monitor types for the monitortypes API:

MOtypeAPI_response.png

Related topics

Developing