This web service lists all the capabilities assigned to a specific category. This web service also shows which capabilities are required for the specific category. This information is useful when you want to assign a service to a category.
GET
None. Open to all public users.
{type}/SMI/{version}/category/{categoryUUID}/capabilities
|
Parameter |
Description |
|
{categoryUUID} |
UUID of the category 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. |
|
&page |
Defines the page number to display. |
|
&rows |
Defines the number of records to display per page. |
|
&sort |
Valid values for this web service are: “name” and "createdOn". If not defined, no sorting is performed. |
Example:
The following URI displays all the capabilities for the “E-mail” category. This will also show which capabilities are required (isRequired flag=1) for this category.
https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/category/aba45240-8291-11df-bca3-339c3162b513/capabilities?page=1&rows=20&key=df3936ec01c5d3adf9f0048116cd5b84&secret=13f6232ebf484e57103cd4ac234a22aa
Sample output of successful execution:
{
"result":
{
"returnCode": "0",
"errorMessage": "Operation Successful.",
"resultCount": 7,
"Bean-List": {
"ResourceCategoryCapability-Bean":[
{ "uuid": "10c34ce0-bf63-11df-903a-4b5b5b7d47ea", "categoryId": "3002", "name": "Send and Receive Email", "isRequired": "1", "createdBy": "SMIGLOBAL", "creationDate": "1970-01-01 00:00:00.0" },
{ "uuid": "10c34ce0-bf63-11df-9bd1-7f494bc8198a", "categoryId": "3002", "name": "Address Book", "isRequired": "1", "createdBy": "SMIGLOBAL", "creationDate": "1970-01-01 00:00:00.0" },
{ "uuid": "10c5af3a-bf63-11df-a6a2-3fd61e181b32", "categoryId": "3002", "name": "Calendar", "isRequired": "0", "createdBy": "SMIGLOBAL", "creationDate": "1970-01-01 00:00:00.0" },
{ "uuid": "10c8119e-bf63-11df-8dc4-77b539ebae89", "categoryId": "3002", "name": "Notes", "isRequired": "0", "createdBy": "SMIGLOBAL", "creationDate": "1970-01-01 00:00:00.0" },
{ "uuid": "10c8119e-bf63-11df-be7b-efa17c147565", "categoryId": "3002", "name": "Directory", "isRequired": "0", "createdBy": "SMIGLOBAL", "creationDate": "1970-01-01 00:00:00.0" },
{ "uuid": "10ca73f8-bf63-11df-80d1-f78288b56e87", "categoryId": "3002", "name": "IM Integration", "isRequired": "0", "createdBy": "SMIGLOBAL", "creationDate": "1970-01-01 00:00:00.0" },
{ "uuid": "10ca73f8-bf63-11df-9d72-9bd190d555e2", "categoryId": "3002", "name": "Mobile Push Support", "isRequired": "0", "createdBy": "SMIGLOBAL", "creationDate": "1970-01-01 00:00:00.0" }
]
}
}
}
| Copyright © 2012 CA. Todos los derechos reservados. | Enviar correo electrónico a CA Technologies acerca de este tema |