Vorheriges Thema: MDRs

Nächstes Thema: Create an MDR

Get All MDRs

This web service obtains a list of all available MDRs.

HTTP Type

GET

Restriction

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

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

URI

{type}/SMI/{version}/mdrs

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:

This URI displays all available MDRs defined in the global SMI DB. The data returned shows the UUID, name and description for the MDR.

https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/mdrs?page=1&rows=20&key=df3936ec01c5d3adf9f0048116cd5b84&secret=13f6232ebf484e57103cd4ac234a22aa

Sample output of successful execution:

{
"result":
	{
	"returnCode": "0",
	"errorMessage": "Operation Successful.",
	"resultCount": 2,
	"Bean-List": {
		"ResourceMdr-Bean":[
			{ "uuid": "e17cf9cf-2085-4cc7-b68f-fb82a39ce756", "name": "TestMDR", "description": "This is a test", "certify": "null", "createdBy": "adminUser@ca.com", "creationDate": "2011-03-15 15:00:36.0", "needsApproval": "No" },
			{ "uuid": "9d624a06-a03a-42a9-816d-a7aa5ebe5d9a", "name": "Oblicore", "description": "null", "certify": "null", "createdBy": "SMIGLOBAL", "creationDate": "2011-03-09 12:44:01.0", "needsApproval": "Yes" }
					]

		     }
	}
}