POST
Beta
Gratuit
OEM Session: choose modification
/v1/oem/sessions/{session_id}/modification
Beta. Step 3. Choose a modification by its index (body: {"index": 0}) → the tree of nodes (state tree_ready); when it is at hand the answer carries its top level. Skipped when the VIN has one modification
Paramètres
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
session_id
|
string path | obligatoire | session_id from step 1 |
3f2a9c1e-5b7d-4e8a-9c0f-1a2b3c4d5e6f
|
lang
|
string query | optionnel | Language of node names in the answer: en (default), ru, es, fr, pt |
en
|
index
|
integer JSON body | obligatoire | modifications[].index from step 2 |
0
|
Exemple de requête
POST https://cdn.plan.parts/api/v1/oem/sessions/3f2a9c1e-5b7d-4e8a-9c0f-1a2b3c4d5e6f/modification?lang=en
Authorization: Bearer your_api_key
Content-Type: application/json
{
"index": 0
}
Exemple de réponse
{
"success": true,
"data": {
"session_id": "3f2a9c1e-5b7d-4e8a-9c0f-1a2b3c4d5e6f",
"state": "tree_ready",
"cached": true,
"nodes": [
{
"id": "10441",
"name": "Interior trim",
"has_children": true,
"children_count": 14,
"has_diagram": false,
"loaded": false
},
{
"id": "10500",
"name": "Final drive",
"has_children": true,
"children_count": 1,
"has_diagram": false,
"loaded": false
}
],
"lang": "en",
"lifetime": {
"created_at": "2026-11-27T12:49:37+03:00",
"expires_at": "2026-11-27T15:49:37+03:00",
"expires_in": 10800,
"max_expires_at": "2026-11-28T12:49:37+03:00",
"age": 0,
"extends_by": 10800,
"max_age": 86400
},
"status_url": "/api/v1/oem/sessions/3f2a9c1e-5b7d-4e8a-9c0f-1a2b3c4d5e6f"
}
}
Tester dans le bac à sable
Test this endpoint with real data in the Developer Portal sandbox.
Tester dans le bac à sable →Sans carte bancaire
Coût en jetons
This endpoint is free — no tokens are deducted.