Open topic with navigation

# ListObjectClasses

Returns a list of classes in a specified object class recognizer. The action can also return the metadata associated with each class.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`recognizer` | The name of the recognizer for which you want to list the classes. | Yes
`maxresults` | The maximum number of classes to return in the response. | No
`metadata` | A Boolean value (default false) that specifies whether to return the metadata associated with each class. | No
`start` | The starting point for the list when you set the `maxresults` parameter. For example, to start listing classes from the tenth class, set `start=10`. The entries are indexed from 1. | No

## Example

The following example lists up to 10 classes contained in the `RoadScene` recognizer:

    /action=ListObjectClasses&recognizer=RoadScene
                             &metadata=TRUE
                             &start=1
                             &maxresults=10

## Response

The response always includes the identifier of each class that is returned. The response can also include metadata, if you set the parameter `metadata=true`.

    <autnresponse>
      <action>LISTOBJECTCLASSES</action>
      <response>SUCCESS</response>
      <responsedata>
        <class>
          <identifier>car</identifier>
        </class>
        <class>
          <identifier>person</identifier>
        </class>
        <class>
          <identifier>van</identifier>
        </class>
      </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 web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm