Media Server 26.2
Media Server Help

# 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 2026 Open Text
Version 26.2 | Last updated April 2026

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Server 26.2

Topic Title: CreateObjectClass