# 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 -F 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 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm