Open topic with navigation

# 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 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