Unit groups and parts

Once a modification is selected (you have ssd and link), request the unit group tree and then the parts of a specific unit.

PartGroupsGet

Parts groups of the selected modification. Cost — 1 unit per ssd session (repeated calls within a paid session are free).

GET https://api.levam.net/oem/v1/PartGroupsGet

Parameters

ParameterRequiredDescription
api_keyyesAPI key
ssdyesSession identifier
linkyesModification code (from VehicleModificationsGet / VinFind)
groupnoGroup code. Empty — root groups; a code — nested subgroups of that group
langnoResponse language

Example

curl "https://api.levam.net/oem/v1/PartGroupsGet?api_key=KEY&ssd=770e1aee96bbf85678ab1426f66af8c6&link=dm5GNk8vOXNQN1pBWmZTUjU4WnhpMW4w..."
{
  "groups": [
    { "full_name": "engine", "group_name": "1", "image": ["https://img.levam.net/images/oem/audi/groups/1.png"] },
    { "full_name": "body", "group_name": "8", "image": ["https://img.levam.net/images/oem/audi/groups/8.png"] }
  ],
  "next": 1,
  "link": "VElKZGppUnBJY3pHUVRTeFgwVkNpTFFNMVhMdW9v...",
  "model_info": { "Make": "Audi", "The market": "BRAZIL", "Release date": "2001" },
  "error": "",
  "client": { "mark": "audi", "catalog_code": "3", "family": "Audi A3", "model": "AA3", "ssd": "cef178ee5e5cfb1b866bb3b3fda80537" }
}

Response fields

FieldDescription
groups[].full_nameGroup name
groups[].group_nameGroup code — pass it as group in the next call
groups[].imageGroup images
next1 — the groups have nested subgroups (keep descending with PartGroupsGet); 0 — no nested groups, you can request PartsGet
model_infoParameters of the selected modification
clientSession state
errorError information; an empty string means no error

PartsGet

Unit parts: the parts list, the diagram, and part coordinates on it. Cost — 1 unit per ssd session (same as PartGroupsGet).

GET https://api.levam.net/oem/v1/PartsGet

Parameters

ParameterRequiredDescription
api_keyyesAPI key
ssdyesSession identifier
linkyesModification code
groupyesUnit code (a group with next=0 from PartGroupsGet)
langnoResponse language

Example

curl "https://api.levam.net/oem/v1/PartsGet?api_key=KEY&ssd=770e1aee96bbf85678ab1426f66af8c6&link=dm5GNk8vOXNQN1pB...&group=010-10000"
{
  "client": { "mark": "audi", "catalog_code": "3", "family": "Audi A3", "model": "AA3" },
  "parts": {
    "parts": [
      {
        "standart": {
          "part_number": "3",
          "part_code": "1H0 819 056",
          "part_name": "double stud with hexagon drive",
          "part_quantity": "1"
        },
        "add": { "info": "AUDI A3", "model": "" }
      }
    ],
    "image": ["https://api.levam.net/images/audi/Bilder/194/194820100.png"],
    "coord": [
      [
        { "name": "54", "margin-top": 63.68, "margin-left": 3.27, "width": 4.79, "height": 2.7 }
      ]
    ],
    "part_name": "air distribution housing"
  },
  "model_info": { "Market": "Asia", "Engine": "HR12DE" },
  "error": ""
}

Response fields

FieldDescription
parts.parts[].standartCore part data: part_number (number on the diagram), part_code (part number), part_name, part_quantity
parts.parts[].addExtra data: info, model (production period), type (part / replacment / link / annotation), node_link (link to a unit or no)
parts.imageUnit diagrams
parts.coordCoordinates of part numbers on the diagram (percent): name, margin-top, margin-left, width, height
parts.part_nameUnit name
model_infoModification parameters
errorError information; an empty string means no error