This web service certifies a specific metric for an MDR.
PUT
Administrator Only
{type}/SMI/{version}/mdr/{mdrName}/metric/{metricName}/update
|
Parameter |
Description |
|
{mdrName} |
The name of the MDR for which the metric will be certified. |
|
{metricName} |
The name of the metric certified to the MDR. |
|
&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. |
|
&certify |
Valid values are 1 or 0. 1 indicates to certify the metric. 0 indicates to uncertify the metric. |
Example:
In this example, you certify the measure total downtime for the MDR testMDR as an administraor.
https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/mdr/testMDR/metric/Total downtime/update?certify=1&key=95bf5da46010b6ddaa8baca04fd94e73&secret=7ec5680d8ac7f03c919dad7770381358
Sample output of successful execution:
{
"result":
{
"returnCode": "0",
"errorMessage": "Operation Successful.",
"resultCount": 0,
}
}
| Copyright © 2012 CA. Alle Rechte vorbehalten. | Senden Sie CA Technologies eine E-Mail zu diesem Thema. |