Models

Models

Use of

Route:/api/models
Protected:True

Attributes

Name:String
Commercial cylinder:Integer
Type_id:Integer
Description:Translated
Manufacturer_id:Integer
Url_rewrite:Translated
Reference:String
Meta_title:Translated
Year_Begin:Integer
Meta_description:Translated
Year_end:Integer
Meta_keywords:Translated
Technical cylinder:Float
Id_type:Integer
Start_date:Date
Id_manufacturer:Integer
End_date:Date
Action:String
Size:Integer
Offset:Integer
Limitation:Integer


Roads


Get/
Returns the list of models

Get/list
Optional
Offset, limit
Available only for keys with adequate permission. Returns a simplified list of models and allows you to paginate thanks to settingsOffset and Limit.

Get/{id}
Returns details of the model whose ID is {id}

Get/url/{url_rewrite}
Returns details of the model whose rewritten URL is {url_rewrite}

Put/store
Requiredid, name, type_id, manufacturer_id
Optionalyear_begin, year_end, technical_cylinder, commercial_ cylinder, description, url_rewrite, meta_title, meta_description, meta_keywords
Creates a template using the request's body

Put/top
Requiredstart_date, end_date, size
Optionalaction, id_type, id_manufacturer
Collects the top templates with the most statistics on the date range provided. The maximum number of records returned is delimited by the option Size. Results can be filtered using optional settings.

Post/{id}
Optionalps_id, name, type_id, manufacturer_id, year_begin, year_end, technical_cylinder, commercial_ cylinder, description, url_rewrite, meta_title, meta_keywords
Updates the model whose ID is {id} based on request's body data.

Delet/{id}
Removes the model whose ID is {id} and all its compatibilities.

    • Related Articles

    • Presentation of models

      This menu displays the list of models with which the store customer can refine his search under the Model label. The list of models shows the different data of equipment models. This view allows you to: Select Models for Group Action Display the ...
    • Group actions for models

      After selecting at least one of the listed models, the Grouped Actions menu appears to be side of multiple election shares. Possible Group Actions are: Activate the election Disable the election Delete the election
    • Export to PrestaShop

      Use Road:/api/export_to Protected:true Attributes scope:string (case sensitive) onlyFor:integer startAt:integer onlyMissing:boolean Roads Put /prestashop Required scope Optional startAt, onlyFor, onlyMissing Exports data to PrestaShop based on the ...
    • Manufacturers

      Use Road:/api/manufacturers Protected:true Attributes id:integer meta_title:translation name:string meta_description:translation active:boolean meta_keywords:translation description:translation url:translation url_rewrite:translation ...
    • Types

      Use Road:/api/types Protected:true Attributes id:integer meta_title:translation name:translation meta_description:translation active:boolean meta_keywords:translation description:translation type_id:integer url_rewrite:translation Roads Get / Returns ...