Specifications of Models

Specifications of Models

Usage

Route : /api/modele_specs
Protected : true

Attributes

id : integer
name : translated
modele_id : integer
specification_id : integer

Endpoints

GET /
Return ModeleSpecifiation associations index list

GET /modeles/{id}
Return details of the Specifications for Modele {id}

GET /specifications/{id}
Return details of the Modeles for Specification {id}

PUT/store
Requiredmodele_id, specification_id, name
Create an association of a Model with a Specification using request’s body

POST /{id}
Requiredmodele_id, name
Update every ModeleSpecification with specification_id {id} according to the keys and values given in the request's body. If a modele_id is specified, only update the matching record.

DELETE /modeles/{id}
Optionalspecification_id: {specification_id}
Delete every ModeleSpecification with modele_id {id}. If specified within the body, only delete the entry with specification_id {specification_id}.

DELETE /specifications/{id}
Optionalmodele_id: {modele_id}
Delete every ModeleSpecification with specification_id {id}. If specified within the body, only delete the entry with modele_id {modele_id}.

    • 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
    • Model characteristics

      Usage Route : /api/specifications Protected : true Attributes id : integer group_id : integer name : translated url_rewrite : translated Endpoints GET / Return Specifications index list GET /{id} Return details of the Specification {id} PUT /store ...
    • Export to PrestaShop

      Utilisation Route : /api/export_to Protected : true Attributs scope : string (case sensitive) onlyFor : integer startAt : integer onlyMissing : boolean Routes PUT /prestashop Required scope Optional startAt, onlyFor, onlyMissing Exports data to ...
    • Exporting to ElasticSearch

      Usage Route : /api/export Protected : true Endpoints GET / Export all your model/product associations to ElasticSearch. DELETE /delete Empty your ElasticSearch index. Warning : this operation is not reversible!