Set Session Category
This command sets the value for a category assigned to the specified session. You specify the category using the category ID.
Tip
The category ID is generated by HMP when the category is defined. To assign category to a session or recording, go the Web interface (
Authorizations: All
Note
When using this command, the (Web interface's) Multiple Values and Custom Values settings are ignored. The command always allows multiple and custom values regardless of the checkbox settings.
Request
|
Parameters
Parameter | Description/Values |
---|---|
sessionId | The ID of a HMP session. |
categoryId | The ID of the category to assign to the session. See the tip above to obtain category ID. |
value | The value defined for the category. Multiple values are separated by spaces. |
Result
Success
|
Error
Error | Description |
---|---|
| Calling setSessionCategory requires at least 3 parameters. |
| The sessionId provided must be a UUID. The categoryId provided must be a UUID. |
| Categories must be strings. |
| Categories cannot be empty |
| Categories cannot start or end with spaces. |
| Category list passed in contains duplicate entries. |
| A category with UUID 'categoryId ' was not found. |
| A session with UUID 'sessionId ' was not found. |
Example
|