Skip to content
AiventicDeveloper Docs
Esc
↑↓navigate↵open⌘Jpreview

Get a part

Get a part: its supersession chain, related parts and the models whose parts lists name it.

supersessions follows the replacement chain up to five hops each way: supersedes lists a part that replaces this one, supersededBy one this part replaces, mutual a pair that replace each other by serial range. Each supersession names from, the part it was reached from: this part on the first hop, else an earlier entry. Each supersession and related part carries context, the catalog’s condition on that edge (a model, a serial range, a kit) or null. A part joined under several conditions is listed once per condition, and one reached from several parts once per from. A mutual pair joined by one edge each way is one entry, with reciprocalContext for the edge back to from; one joined by more is listed once per edge, with that edge’s condition in context (from from) or reciprocalContext (back to from) and the other null. An entry holds only under its own condition, and only while at least one entry listed for its from part holds; this part always holds. A / in partNumber is sent as %2F.

Scope: parts:read

GET/v1/brand/{brand}/part/{partNumber}
Authorization
AuthorizationBearer token (aiv_sk_) · headerrequired

An Aiventic API key, sent as Authorization: Bearer aiv_sk_....

Path parameters
brandstringrequired
partNumberstringrequired
Responses
200

OK

brandstringrequired
partNumberstringrequired
namestring | nullrequired
descriptionstring | nullrequired
supersessionsPublicPartSupersession[]required
Show properties
Array of PublicPartSupersession
partNumberstringrequired
fromstringrequired
directionPublicSupersessionDirectionrequired
Allowed:supersedessupersededBymutual
contextstring | nullrequired
reciprocalContextstring | nullrequired
relatedPublicRelatedPart[]required
Show properties
Array of PublicRelatedPart
partNumberstringrequired
relationPublicPartRelationrequired
Allowed:alsoOrderalternative
contextstring | nullrequired
modelsstring[]required
modelsTruncatedbooleanrequired
400

Bad Request

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
401

Unauthorized

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
403

Forbidden

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
404

Not Found

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
429

Too Many Requests

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
500

Internal Server Error

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.aiventic.ai/v1/brand/string/part/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "brand": "string",
  "partNumber": "string",
  "name": null,
  "description": null,
  "supersessions": [
    {
      "partNumber": "string",
      "from": "string",
      "direction": "supersedes",
      "context": null,
      "reciprocalContext": null
    }
  ],
  "related": [
    {
      "partNumber": "string",
      "relation": "alsoOrder",
      "context": null
    }
  ],
  "models": [
    "string"
  ],
  "modelsTruncated": true
}