Vorheriges Thema: Create a Weight Set

Nächstes Thema: Get All User Weight Sets

Get All Public Weight Sets

This web service lists all weight sets that are public

HTTP Type

GET

Restriction

None. Open to all public users.

URI

{type}/SMI/{version}/weightset/public

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:

The following URI lists all public weight sets defined in the SMI database. https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/weightset/public?page=1&rows=20&key=4f400a9b486c764d3a6ec5f86fe0a2aa&secret=e320f8f11cb88b5ab346d9ab34033d95

Sample output of successful execution:

{
"result":
	{
	"returnCode": "0",
	"errorMessage": "Operation Successful.",
	"resultCount": 1,
	"Bean-List": {
		"ResourceWeightSet-Bean":[
			{ "name": "WSTestPublic", "uuid": "0e4bddc9-e1ae-4768-97c8-27c91e2721c8", "userId": "null", "public": "1", "versionId": "null", "publishDate": "2011-03-17 22:41:27.0", "desc": "null", "createDate": "2011-03-16 23:41:27.0", "createdBy": "testadmin@ca.com" }
					]
		    }
	}
}