Vorheriges Thema: Get All Services

Nächstes Thema: Get All Capabilities for a Service

Get a Service by Service UUID

This web service lists specific service information.

HTTP Type

GET

Restriction

Limited. Open to all public users with the following limitation:

This web service only lists services approved by the Cloud Commons Consortium. Services created by the user making the request are also listed, even if the service has not been approved.

URI

{type}/SMI/{version}/service/{serviceUUID}

Parameter

Description

{serviceUUID}

UUID of the service to query.

&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.

&sort

Valid values for this web service are: "name", "CreatedOn" and "score". If not defined, no sorting is performed.

Example:

The following URI displays the service "Merchant Solutions" and its specific data.

https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/service/3853d2eb-45a9-43b8-95d4-56c123febcdc?&key=52da1e089a5a8ee3d3ccf38254f5e8b8&secret=9a31daab4f41ac1897c102339283e303

Sample output of successful execution:

{
"result":
	{
	"returnCode": "0",
	"errorMessage": "Operation Successful.",
	"resultCount": 1,
	"Bean-List": {
		"ResourceService-Bean":[
			{ "uuid": "3853d2eb-45a9-43b8-95d4-56c123febcdc", "name": "Flexible Computing Services", "description": "service_name from survey", "provider": "HP", "providerUUID": "50ca62ba-5447-11df-b630-235fcae2f704", "categoryName": "Compute", "naturalScore": "null", "group": "null", "label": "null", "createdOn": "2011-03-23 16:38:45.0", "needsApproval": "No", "createdBy": "SMIGLOBAL" }
					]

		     }
	}
}