WebSphere Business Monitor, Version 6.2 Operating Systems: AIX, HP-UX, Linux, Solaris, Windows


Model - Cross-version Monitor Model Resource - GET Method

Resource URI

GET /models/{model id}

Parameters

None.

Request Content

None.

Response Content

The default content-type is application/json.

MIME Type: application/json

The following table lists all parameters in the JSON output:

Parameter Name

Type

Description

Model ID

string

The monitor model ID

Versions

array

Array of all model versions

 

Model Display Name

string

The monitor model display name

 

Version

integer

The monitor model version

 


+ View Schema
{ "description": "Model details", 
  "type": "object",
  "properties":
	{   "Model ID":{"type":"string"},
	    "Versions" :[
          		  {
            		    "Model Display Name": {"type":"string"},
            		    "Version": {"type":"integer"}
          		  }
                   	]
	}
}

Example content:

    {
      "Model ID":"OrderItem",
      "Versions":[
        {"Model Display Name":"OrderItem","Version":20070101000000},
        {"Model Display Name":"OrderItem","Version":20080101000000}
                 ]
    }

Error Response Content

Detailed error information.

The default content-type is application/json.

MIME Type: application/json


+ View Schema
{ "description": "REST error response", 
  "type": "object",
  "properties":
   { "Status Code" : {"type":"integer"},
     "Error" : {"type":"string"},
   }
} 

Status Codes

The method returns one of the following status codes:
CodeDescription
200 OK
Successful completion - requested data returned. Note that the list may be empty.
304 Not Modified
Resource not modified.
403 Forbidden
Not authorized to request the resource.
404 Not Found
Resource not found or URL not supported.
400 Bad Request
The request contains invalid parameters or is missing parameters and inputs.
500 Internal Server Error
Internal error processing the request.

Available Since

6.1

Parent Topic: Cross-version Monitor Model Resource