This web service lists all public and non public weight sets that were created by the user. The user is determined by the key and secret provided.
GET
Limited. Open to all public users with the following limitation:
This web service only lists services created by the user making the request.
{type}/SMI/{version}/weightset/user
|
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 user weight sets defined in the SMI database. The key and secret are used to determine the user.
https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/weightset/user?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": "WSTest", "uuid": "0e4bddc9-e1ae-4768-97c8-27c91e2721c8", "userId": "null", "public": "null", "versionId": "null", "publishDate": "null", "desc": "null", "createDate": "2011-03-17 22:41:31.0", "createdBy": "adminUser@ca.com" }
]
}
}
}
| Copyright © 2012 CA. Alle Rechte vorbehalten. | Senden Sie CA Technologies eine E-Mail zu diesem Thema. |