GET /v3/versiones/{id}

Versión por Id.

Request

Path parameters

Name Type Constraints Descripción
id integer (int32) Required
Id de la versión.

Responses

HTTP-StatusCode 200

OK

Version when Accept: application/json application/vnd.autocosmos.entry+json text/json
{
  "VersionYear": null,
  "Propulsion": "gasolina",
  "Transmision": "Manual",
  "Potencia": "540 cv",
  "Cilindrada": "5.7L",
  "Marca": "Ferrari",
  "Modelo": "F612",
  "Nombre": "Scaglietti",
  "Codename": "scaglietti",
  "Carroceria": "Coupé",
  "Segmento": "C",
  "_links": {
    "rel1": {
      "href": "/v3/versiones/somevalue"
    }
  }
}
VersionEx when Accept: application/vnd.autocosmos.ex-entry+json
{
  "VersionYear": 2019,
  "Origen": "Italia",
  "Garantia": "No disponible",
  "Foto": "https://somedomain/somefolder/foto.jpg",
  "Precio": null,
  "Colores": [],
  "ActualmenteDisponible": false,
  "InfoTecnica": [
    {
      "Seccion": "Motor",
      "Valor": "Combustible",
      "Datos": "gasolina"
    },
    {
      "Seccion": "Motor",
      "Valor": "Cilindrada",
      "Datos": "5748 cc"
    },
    {
      "Seccion": "Confort",
      "Valor": "Asientos delanteros",
      "Datos": "con ajuste eléctrico y memorias, con ajuste en altura solo conductor"
    },
    {
      "Seccion": "Confort",
      "Valor": "Tapizados",
      "Datos": "cuero"
    }
  ],
  "Marca": "Ferrari",
  "Modelo": "F612",
  "Nombre": "Scaglietti",
  "Codename": "scaglietti",
  "Carroceria": "Coupé",
  "Segmento": "C",
  "_links": {
    "rel1": {
      "href": "/v3/versiones/somevalue"
    }
  }
}
VersionRef when Accept: application/vnd.autocosmos.ref+json
{
  "Marca": "Ferrari",
  "Modelo": "F612",
  "Version": "Scaglietti",
  "VersionYear": null,
  "href": "/v3/versiones/12345",
  "title": "Ferrari F612 Scaglietti"
}

HTTP-StatusCode 404

La versión, no existe.