Media Server 12.13

# CreateObjectClass

Adds a new object class to an object class recognizer.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`recognizer` | The name of the recognizer to add the object class to. | Yes
`identifier` | A unique identifier for the object class (maximum 254 bytes). If you do not set this parameter, Media Server generates an identifier automatically. | No

## Example

The following example adds a new object class named "car" to a recognizer named "vehicles":

    curl http://localhost:14000/action=CreateObjectClass
                                -F recognizer=vehicles
                                -F identifier=car

## Response

    <autnresponse xmlns:autn='http://schemas.autonomy.com/aci/'>
      <action>CREATEOBJECTCLASS</action>
      <response>SUCCESS</response>
      <responsedata>
        <identifier>car</identifier>
      </responsedata>
    </autnresponse>

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Media Server 12.13

Topic Title: CreateObjectClass