This web service shows all MDRs not yet approved.
The “needsApproval” in the output of an MDR listing tells an administrator if the MDR needs approval (1) or does not need approval (0).
GET
Administrator Only.
This web service is restricted to the global Cloud Commons DB only. This web service is restricted from being used on a local integrated DB.
{type}/SMI/{version}/mdrs/needsApproval
|
Parameter |
Description |
|
&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:
https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/mdrs/needsApproval?page=1&rows=20&key=95bf5da46010b6ddaa8baca04fd94e73&secret=7ec5680d8ac7f03c919dad7770381358
Sample output of successful execution:
{
"result":
{
"returnCode": "0",
"errorMessage": "Operation Successful.",
"resultCount": 8,
"Bean-List": {
"ResourceMdr-Bean":[
{ "uuid": "8f57ac04-980c-46ea-9576-9e1b5f083cf1", "name": "TestMDR", "description": "null", "certify": "null", "createdBy": "public", "creationDate": "2011-02-08 18:43:32.0", "needsApproval": "Yes" },
{ "uuid": "52dbbd67-fa44-4994-b5cb-9b2578557e39", "name": "Oblicore", "description": "null", "certify": "null", "createdBy": "SMIGLOBAL", "creationDate": "2011-02-08 13:54:34.0", "needsApproval": "Yes" }
]
}
}
}
| 版权所有 © 2012 CA。 保留所有权利。 | 就该主题发送电子邮件至 CA Technologies |