We use cookies to improve your experience. By continuing, you agree to our Cookie Policy.

plan.parts
About Databases Data Tasks How it works Pricing Docs Blog Support Contacts
POST Beta Free

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

Parameters

Name Type Required Description Example
session_id string path required session_id from step 1 3f2a9c1e-5b7d-4e8a-9c0f-1a2b3c4d5e6f
lang string query optional Language of node names in the answer: en (default), ru, es, fr, pt en
index integer JSON body required modifications[].index from step 2 0

Example Request

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
}

Example Response

{
    "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"
    }
}

Try in Sandbox

Test this endpoint with real data in the Developer Portal sandbox.

Try in Sandbox →

No credit card required

Token cost

This endpoint is free — no tokens are deducted.