Vorheriges Thema: Get All User Weight Sets

Nächstes Thema: Get the Scale for a Weight Set

Get a Weight Set by UUID

This web service obtains information on the specified weight set.

HTTP Type

GET

Restriction

None. Open to all public users.

URI

{type}/SMI/{version}/weightset/{weightSetUUID}

Parameter

Description

{weightSetUUID}

UUID of the weight set 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.

Example:

The following URI lists details of the weight set.

https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/weightset/1c3c37f4-e6b8-11df-9332-b37f9d26f570?&key=4f400a9b486c764d3a6ec5f86fe0a2aa&secret=e320f8f11cb88b5ab346d9ab34033d95

Sample output of successful execution:

{
"result":
	{
	"returnCode": "0",
	"errorMessage": "Operation Successful.",
	"resultCount": 1,
	"Bean-List": {
		"ResourceWeightSet-Bean":[
			{ "name": "WSTest", "uuid": "0e4bddc9-e1ae-4768-97c8-27c91e2721c8", "userId": "5", "public": "0", "versionId": "0.5", "publishDate": "null", "desc": "This is a test.", "createDate": "2011-03-17 22:41:31.0", "createdBy": "adminUser@ca.com" }
					]

		    }
	}
}