Within the Volkswagen Group, the same part number often fits several cars. That is convenient for the warehouse: one part, three models. But it is inconvenient for diagrams: the assembly around the part is different on each model.
The story that started it
A customer selling Porsche parts was looking up cylinder head part 99970757740. They were browsing a Cayenne, but the API showed a diagram from the 911 (997). The number is shared and the part is the same, but the diagram belongs to another car: different neighbouring parts, different position numbers. There is no way to find where the part sits on a Cayenne using that diagram.
Previously, GET /v1/vag/part/{number}/images returned one diagram per part number — the most common one in the catalogue. For most parts that was enough. For parts shared across models it was not.
What changed
The endpoint accepts two new parameters:
GET /v1/vag/part/99970757740/images?epis_typ=1037&catalog=PO
epis_typ — the vehicle ID in the VAG catalogue;catalog — the catalogue brand: AU, VW, SK, SE, PO.
With them, the response contains every diagram of that vehicle where the part appears. Each diagram comes with its group, diagram number, position number and a link to the image with the part highlighted. If the part appears several times on one diagram, all spots are highlighted.
For our Porsche part it now looks like this:
| Vehicle | Diagrams | What you see |
|---|
| Panamera (970) | 3 | positions 9 and 7 |
| Cayenne (92A) | 2 | positions 9 and 7 |
| 911 (991) | 1 | three highlighted spots |
Without the parameters, the endpoint works exactly as before — existing integrations will not notice a thing.
Diagrams in the parts list
In GET /v1/vag/vehicle/{id}/parts, each position now has a schema_url — a direct link to its diagram with the part highlighted — and the top level of the response lists all diagrams of the section. Showing a customer "this is the part, and this is where it goes" no longer takes extra requests.