Media Server 24.1

# 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 2023 Open Text
Version 24.1 | Last updated December 2023

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: IDOL Media Server 24.1

Topic Title: CreateObjectClass