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, HPE 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


_HP_HTML5_bannerTitle.htm