Nous utilisons des cookies pour améliorer votre expérience. En continuant, vous acceptez notre Politique de cookies.

plan.parts
À propos Bases de données Tâches de données Comment ça marche Tarifs Docs Blog Assistance Contacts

OEM Catalog (VIN) Beta

6 endpoints

POST /v1/oem/sessions/{session_id}/modification
OEM Session: choose 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
Gratuit
GET /v1/oem/sessions/{session_id}/results
OEM Session: results — Beta. Step 6. Loaded nodes → diagrams (image_url) → parts: position on the diagram, OEM number, name, quantity
Gratuit
GET /v1/oem/sessions/{session_id}
OEM Session: state — Beta. Step 2. Session state, vehicle modifications and the whole tree of nodes. ?wait=1..20 waits for the next state (long-poll). States: fetching_mods → mods_ready → fetching_tree → tree_ready → loading_nodes → ready, or error
Gratuit
GET /v1/oem/sessions/{session_id}/tree
OEM Session: tree of nodes — Beta. Step 4. Children of a node (?node_id=; the top level without it): id, name, has_children, loaded. Walk down to end nodes (has_children = false) — those have a diagram
Gratuit
POST /v1/oem/sessions/{session_id}/nodes
OEM Session: load nodes — Beta. Step 5. Load end nodes: diagram and parts (body: {"node_ids": ["..."]}, up to 20). Price per node, charged only for nodes delivered; nodes already loaded in this session are free. Then read them with results
20 tokens
POST /v1/oem/sessions
OEM Session: start by VIN — Beta: the service is new, answers may still gain fields and the catalog may be briefly unavailable. Step 1. Start a catalog session for a VIN (body: {"vin": "..."}). Answers 202 with session_id; poll the session until state = mods_ready. The same VIN again while its session lives returns that session for free. Free test VIN: JTDKB20U883408205 (Toyota Prius) — 0 tokens on every step
200 tokens