Media Server 25.1
Media Server Help

# NewVehicleModel

Inserts a new vehicle model into a database of vehicle models.

This action does not add training images or metadata to the new model.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the database to add the vehicle model to. The database must already exist. | Yes
`identifier` | A unique identifier for the vehicle model (maximum 254 bytes). If you do not set this parameter, Media Server generates an identifier automatically. | No
`vehiclemake` | The vehicle make to associate with the model. You must specify one of the vehicle makes returned by the action ListVehicleMakes, or `Unknown`. | Yes

## Example

The following example adds a vehicle model to the `Cars` database. You can use the name of the vehicle model as the identifier. All identifiers must be unique within the database:

    /action=NewVehicleModel&database=Cars
                           &identifier=FordFocusRS
                           &vehiclemake=Ford

## Response

The action returns the identifier assigned to the vehicle model:

    <autnresponse>
      <action>NEWVEHICLEMODEL</action>
      <response>SUCCESS</response>
      <responsedata>
        <identifier>83cb3a7aa8931a18f2880f6da631b127</identifier>
      </responsedata>
    </autnresponse>

## See Also

- If you haven't created a database for storing vehicle models, first run the action CreateVehicleModelDatabase.
- To add training images of the vehicle model, use the action AddVehicleModelImages.
- To add metadata about the vehicle model, use the action AddVehicleModelMetadata.
- To train Media Server to recognize the vehicle model, use the action BuildVehicleModel.
- You can use the action TrainVehicleModel to add and train a new vehicle model, with metadata and training images, in a single action.

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

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 25.1

Topic Title: NewVehicleModel