This web service assigns a capability to a category. You can define the capability as required for the specified category.
POST
Administrator Only.
{type}/SMI/{version}/category/{categoryUUID}/capability/{capabilityUUID}/create
|
Parameter |
Description |
|
{categoryUUID} |
UUID of the category to be assigned the capability. |
|
{capabilityUUID} |
UUID of the capability to assign to the category. |
|
&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. |
|
&isRequired |
Valid values are 1 or 0. 1 indicates that the capability is a required capability for this category. 0 indicates that it is not a required capability for this category. |
Example:
The following URI sets the capability “Send and Receive Mail” to the “E-Commerce” category.
https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/category/ab986674-8291-11df-b78a-f765177ca478/capability/10c34ce0-bf63-11df-903a-4b5b5b7d47ea?&key=df3936ec01c5d3adf9f0048116cd5b84&secret=13f6232ebf484e57103cd4ac234a22aa
Sample output of successful execution:
{
"result":
{
"returnCode": "0",
"errorMessage": "Operation Successful.",
"resultCount": 0,
}
}
| Copyright © 2012 CA. Todos los derechos reservados. | Enviar correo electrónico a CA Technologies acerca de este tema |