Skip to content

Patch ktypnr referential data.

OpenAPI specifications

patch https://api.autopass.pro/referential/ktypnr/{ktypnr}

Patch referential data for given ktypnr.

Path parameters

ktypnr
  • Type: int

Ktypnr

Request body

Schema

AttributeTypeExample
wmi
array
[ "VF1", "VF3" ]
wmi.item
string
vds
array
[ "0SDL68", "0XCF09" ]
vds.item
string
body
array
[ "Berline" ]
body.item
string
wheel_drive
string
Propulsion
energy_short
string
Essence
gearbox
array
[ "Automatique", "Manuel" ]
gearbox.item
string
nb_doors
array
[ 3, 5 ]
nb_doors.item
integer
nb_seats
array
[ 3 ]
nb_seats.item
integer
height
object
height.min
integer
100
height.max
integer
200
length
object
length.min
integer
100
length.max
integer
200
width
object
width.min
integer
100
width.max
integer
200
weight_empty
object
weight_empty.min
integer
100
weight_empty.max
integer
200
weight_max
object
weight_max.min
integer
100
weight_max.max
integer
200
models
string
vin_only,vin_kw_ect

Example

{
  "wmi": [
    "VF1",
    "VF3"
  ],
  "vds": [
    "0SDL68",
    "0XCF09"
  ],
  "body": [
    "Berline"
  ],
  "wheel_drive": "Propulsion",
  "energy_short": "Essence",
  "gearbox": [
    "Automatique",
    "Manuel"
  ],
  "nb_doors": [
    3,
    5
  ],
  "nb_seats": [
    3
  ],
  "height": {
    "min": 100,
    "max": 200
  },
  "length": {
    "min": 100,
    "max": 200
  },
  "width": {
    "min": 100,
    "max": 200
  },
  "weight_empty": {
    "min": 100,
    "max": 200
  },
  "weight_max": {
    "min": 100,
    "max": 200
  },
  "models": "vin_only,vin_kw_ect"
}

Responses

200 - OK.

400 - Bad request.

404 - Not found.