This web service obtains all measures for a specific characteristic.
GET
None. Open to all public users.
{type}/SMI/{version}/measure/{characteristic}
|
Parameter |
Description |
|
{characteristic} |
The name of the SMI characteristic to start from. This can be defined as a hierarchical model. |
|
&key |
The API Key that is provided when your application has been registered. |
|
&secret |
The Shared Secret that is provided when your application has been registered. |
|
&page |
Defines the page number to display. |
|
&rows |
Defines the number of records to display per page. |
Example:
The following URI displays all available measures defined in the global SMI DB to a specific characteristic.
https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/measure/Maintainability?key=df3936ec01c5d3adf9f0048116cd5b84&secret=13f6232ebf484e57103cd4ac234a22aa
Sample output of successful execution:
{
"result":
{
"returnCode": "0",
"errorMessage": "Operation Successful.",
"resultCount": 8,
"Bean-List": {
"ResourceMeasure-Bean":[
{ "uuid": "c791d9e0-9980-11df-b747-93be55be4ac3", "name": "Total service time", "description": "Total service time spent", "characteristic": "Maintainability" },
{ "uuid": "c7943c44-9980-11df-acf9-9be0fbb4d52a", "name": "Total downtime", "description": "Total time system is record as unavailable", "characteristic": "Maintainability" },
{ "uuid": "c79b6366-9980-11df-a03c-5f160c90627c", "name": "Number of configuration changes", "description": "Total number of configuration changes", "characteristic": "Maintainability" },
{ "uuid": "0e8a7dd2-3e53-48c0-9e09-9e16e90e7e91", "name": "TotalServiceTimeInPercent", "description": "Total amount of planned service time for resource (Percentage)", "characteristic": "Maintainability" },
{ "uuid": "5640296d-aad9-48b1-84a2-2a22fb49953c", "name": "OutagePercent", "description": "Total amount of planned or unplanned outage time for resource (Percentage)", "characteristic": "Maintainability" },
{ "uuid": "0019d745-ea8d-4da6-b39f-1c707ff99414", "name": "ConfigurationChangesCount", "description": "Total number of configuration changes", "characteristic": "Maintainability" },
{ "uuid": "6438c81d-9d45-4191-99ca-c6458a90bd3d", "name": "ClosedPriority1ChangesInPercent", "description": "Total number of Priority 1 changes that are closed (Percentage)", "characteristic": "Maintainability" },
{ "uuid": "fc1a8c97-af98-467b-8586-8735b36b17da", "name": "ClosedPriority2ChangesInPercent", "description": "Total number of Priority 2 changes that are closed (Percentage)", "characteristic": "Maintainability" }
]
}
}
}
| Copyright © 2012 CA. Alle Rechte vorbehalten. | Senden Sie CA Technologies eine E-Mail zu diesem Thema. |