This web service allows the administrator to view all services that still require approval or rejection.
The “needsApproval” in the output of a service listing tells an administrator if the service 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}/services/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 |
The page number to display. |
|
&rows |
The number of records to display per page. |
Example:
https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/services/needsApproval?page=1&rows=20&key=95bf5da46010b6ddaa8baca04fd94e73&secret=7ec5680d8ac7f03c919dad7770381358
Sample output of successful execution:
{
"result":
{
"returnCode": "0",
"errorMessage": "Operation Successful.",
"resultCount": 9,
"Bean-List": {
"ResourceService-Bean":[
{ "uuid": "be7c67f1-a906-4c47-bfea-9bd41c55965c", "name": "StevenTestNow1", "description": "This is a test", "provider": "GoDaddy", "providerUUID": "50fc741c-5447-11df-a06a-c7daeae07f53", "categoryName": "null", "naturalScore": "null", "group": "null", "label": "null", "createdOn": "2011-02-08 19:49:54", "needsApproval": "Yes", "createdBy": "null" },
{ "uuid": "f3f4eb6b-9a02-4809-8b98-7c4462c2319f", "name": "pubindInsightTestingService2", "description": "null", "provider": "null", "providerUUID": "null", "categoryName": "null", "naturalScore": "null", "group": "null", "label": "null", "createdOn": "2011-02-08 18:43:33", "needsApproval": "Yes", "createdBy": "null" },
{ "uuid": "c8dab1ec-0a40-4065-bb78-470fd6bc013f", "name": "pubmetricInsightTestingService3", "description": "null", "provider": "null", "providerUUID": "null", "categoryName": "null", "naturalScore": "null", "group": "null", "label": "null", "createdOn": "2011-02-08 18:43:32", "needsApproval": "Yes", "createdBy": "null" },
{ "uuid": "93929af8-b642-4caa-9fa6-046f79e3f4b3", "name": "Hosted Exchange", "description": "null", "provider": "SherWeb", "providerUUID": "57886b5f-a74d-4099-b4ec-9a1b9d057c4b", "categoryName": "null", "naturalScore": "null", "group": "null", "label": "null", "createdOn": "2011-02-08 13:54:55", "needsApproval": "Yes", "createdBy": "null" },
{ "uuid": "aab1e8ec-60f6-4735-86b9-3647e64113c6", "name": "pubindInsightTestingService1", "description": "null", "provider": "null", "providerUUID": "null", "categoryName": "null", "naturalScore": "null", "group": "null", "label": "null", "createdOn": "2011-02-08 18:43:33", "needsApproval": "Yes", "createdBy": "null" },
{ "uuid": "f82fdbe4-6da1-48a3-ae3c-16b8753500d5", "name": "pubmetricInsightTestingService2", "description": "null", "provider": "null", "providerUUID": "null", "categoryName": "null", "naturalScore": "null", "group": "null", "label": "null", "createdOn": "2011-02-08 18:43:32", "needsApproval": "Yes", "createdBy": "null" },
{ "uuid": "a8d68cdf-71c6-4007-abab-8a609d17307a", "name": "InsDemoNow3", "description": "Test", "provider": "GoDaddy", "providerUUID": "50fc741c-5447-11df-a06a-c7daeae07f53", "categoryName": "null", "naturalScore": "null", "group": "null", "label": "null", "createdOn": "2011-02-08 19:50:12", "needsApproval": "Yes", "createdBy": "null" },
{ "uuid": "503477f2-104b-4976-aa06-cfd31073fd9a", "name": "pubmetricInsightTestingService1", "description": "null", "provider": "null", "providerUUID": "null", "categoryName": "null", "naturalScore": "null", "group": "null", "label": "null", "createdOn": "2011-02-08 18:43:32", "needsApproval": "Yes", "createdBy": "null" },
{ "uuid": "5d369f6e-2339-472b-a33a-d188e76dcd73", "name": "InsDemoNow2", "description": "Test", "provider": "GoDaddy", "providerUUID": "50fc741c-5447-11df-a06a-c7daeae07f53", "categoryName": "null", "naturalScore": "null", "group": "null", "label": "null", "createdOn": "2011-02-08 19:50:11", "needsApproval": "Yes", "createdBy": "null" }
]
}
}
}
| 版权所有 © 2012 CA。 保留所有权利。 | 就该主题发送电子邮件至 CA Technologies |