Documentation
The description of available methods of using Levam service.
The description of available methods of using Levam service.
The OEM catalog widget allows you to independently connect OEM catalogs to absolutely any site. Without the long and costly integration of directories through the API by programmers. An example widget can be viewed in the demo.
Advantages of using the widget:
Just copy the widget code from the dashboard to the page of your website (where you want to place the catalogs)
<script id="levam_oem_catalog" src="https://widgets.levam.net/oem-widget/loader.js" code="xxxxxx" async></script>
If you want to display only one catalog on a page, then specify it in the start_brand parameter, for example:
<script start_brand="bmw" id="levam_oem_catalog" src="https://widgets.levam.net/oem-widget/loader.js" code="xxxxxx" async></script>
To change the catalogs language, use the lang parameter, for example:
<script lang="de" id="levam_oem_catalog" src="https://widgets.levam.net/oem-widget/loader.js" code="xxxxxx" async></script>
levamVinFind("vincode")
- allows you to initiate a search by VIN. It is usually used to implement a wine search on your site from your own field - for example, from the main site search. In this case, the wine search field in the widget itself can be disabled in the office. The method must be called on the page where the widget is located.
Displaying information by catalogs
Address:
https://api.levam.net/oem/v1/CatalogsListGet
Input parameters:
Mandatory parameters:
api_key
- is a key to APIOptional parameters:
type
- is a type of vehiclesEmpty value
- is for all catalogs0
- is for cars1
- is for commercial vehicles2
- is for motorbikes3
- Truks4
- Special vehicleOutput parameters:
Mandatory parameters:
catalogs -> code
- is a catalog codeOptional parameters:
catalogs
- is the information about all catalogserror
- is the information about errorsExample:
https://api.levam.net/oem/v1/CatalogsListGet?api_key=key&type=
Response:
Response description:
catalogs
- is the array of objects containing information about catalogsname |
Catalog name |
code |
Catalog code (an outdated parameter has been left for compatibility purposes, its value is the same as catalog_code) |
catalog_code |
Catalog code |
logo |
100x100 catalog logo |
logo_small |
50x50 small catalog logo |
supportframesearch |
Does the given catalog support frame search option, takes on yes/no values |
frameexample |
The example of a frame for the given catalog |
supportvinsearch |
Does the given catalog support VIN number search option, takes on yes/no values |
vinexample |
The example of a VIN number for the given catalog |
universal_classifier |
For the given catalog universal classifier is available — methods (TreeGet,TreeNodeSearch,TreeNodePartsGet), takes on yes/no values |
type_moto |
Motorbikes availability in the given catalog |
type_auto |
Cars availability in the given catalog |
type_transport |
Cargo and commercial vehicles availability in the given catalog |
error
- is the information about errors. Empty value indicates that there are
no errors.
Displaying all vehicle lines and models produced by the same manufacturer.
Address:
https://api.levam.net/oem/v1/ModelsListGet
Input parameters:
Mandatory parameters:
api_key
- is a key to APIcatalog_code
- Catalog codeOptional parameters:
lang
- is a languagetype
- is a type of catalogs.
Empty value
- is for all catalogsEmpty value
- is for all catalogs0
- is for cars1
- is for commercial vehicles2
- is for motorbikes3
- Trucks4
- Special vehicleOutput parameters:
Mandatory parameters:
catalog
- is the information about a selected catalogmodels -> ... -> model_code
- is a model codemodels -> ... -> catalog_code
- is a catalog code which the given model belongs
to.
Optional parameters:
error
- is the information about errorsExample:
https://api.levam.net/oem/v1/ModelsListGet?api_key=key&catalog_code=3
Response:
Response description:
catalog
- is an object containing information about a selected catalogname |
Catalog name |
code |
Catalog code (an outdated parameter has been left for compatibility purposes, its value is the same as catalog_code) |
catalog_code |
Catalog code |
logo |
100x100 catalog logo |
logo_small |
50x50 small catalog logo |
supportframesearch |
Does the given catalog support frame search option? |
frameexample |
The example of a frame for the given catalog |
supportvinsearch |
Does the given catalog support VIN number search option? |
vinexample |
The example of a VIN number for the given catalog |
universal_classifier |
For the given catalog universal classifier is available — methods (TreeGet,TreeNodeSearch,TreeNodePartsGet), takes on yes/no values |
type_moto |
Motorbikes availability in the given catalog |
type_auto |
Cars availability in the given catalog |
type_transport |
Cargo and commercial vehicles availability in the given catalog |
models
- is the array of objects containing information about vehicle lines and
models. One or more vehicle models listed in the array may belong to each vehicle line. A catalog that a
model belongs to is specified for each model.
error
- is the information about errors. Empty value indicates that there are
no errors.
Clarifying selected car model series.
Address:
https://api.levam.net/oem/v1/VehicleParamsSet
Input parameters:
Mandatory parameters:
api_key
- is a key to APIcatalog_code
- Catalog codefamily
- is a vehicle line. Used to specify which vehicle line a selected
vehicle model belongs to.
model
- is a selected vehicle modelOptional parameters:
ssd
- is the unique identifierparam
- is the code and value of a selected parameterlang
- langOutput parameters:
Mandatory parameters:
client -> ssd
- is the unique identifierparams -> ...
: params -> ... -> values
- are the
parameters used for filtering possible vehicle series
Optional parameters:
error
- is the information about errorsExample:
https://api.levam.net/oem/v1/VehicleParamsSet?api_key=key&catalog_code=3&model=AA3&ssd=&family=Audi+A3
Response:
Response description:
client
- is an object containing information about a selected catalog, vehicle
line, model,
parameters, series, group, subgroup, VIN number (in case the search by VIN number has been used) and
unique ssd identifier
mark |
Vehicle make |
catalog_code |
Catalog code |
family |
Vehicle line |
model |
Vehicle model |
ssd |
Unique identifier |
param |
Selected parameters |
modification |
A selected vehicle series |
group |
Selected group |
subgroup |
Selected subgroup |
vin |
VIN number |
frame |
Frame number |
universal_classifier |
For the given catalog universal classifier is available — methods (TreeGet,TreeNodeSearch,TreeNodePartsGet), takes on yes/no values |
params
- is the array of objects containing information about parameters.
Parameter code is the key of the array.
Value of the array is an object containing the following fields:
name |
Parameter full name |
values |
Array of parameters the key of which is a full name of parameter value and the value of which is the code of parameter value |
error
- is the information about errors. Empty value indicates that there are
no errors.
model_image
- is the image of a selected vehicle model. Available only in case
when the image for a selected model exists
Displaying all vehicle lines and models produced by the same manufacturer.
Address:
https://api.levam.net/oem/v1/ModelsListGet2
Input parameters:
Mandatory parameters:
api_key
- is a key to APIcatalog_code
- Catalog codeOptional parameters:
lang
- is a languagetype
- is a type of catalogs.
Empty value
- is for all catalogsEmpty value
- is for all catalogs0
- cars1
- commercial vehicles2
- motorbikes3
- Trucks4
- Special vehicleOutput parameters:
Mandatory parameters:
catalog
- is the information about a selected catalogfamilies -> ... -> model_code
- is a model codeOptional parameters:
error
- is the information about errorsExample:
https://api.levam.net/oem/v1/ModelsListGet2?api_key=key&catalog_code=3
Response:
Response description:
catalog
- is an object containing information about a selected catalogname |
Catalog name |
catalog_code |
Catalog code |
logo |
100x100 catalog logo |
logo_small |
50x50 small catalog logo |
supportframesearch |
Does the given catalog support frame search option? |
frameexample |
The example of a frame for the given catalog |
supportvinsearch |
Does the given catalog support VIN number search option? |
vinexample |
The example of a VIN number for the given catalog |
universal_classifier |
For the given catalog universal classifier is available — methods (TreeGet,TreeNodeSearch,TreeNodePartsGet), takes on yes/no values |
type_moto |
Motorbikes availability in the given catalog |
type_auto |
Cars availability in the given catalog |
type_transport |
Cargo and commercial vehicles availability in the given catalog |
families
- is the array of objects containing information about vehicle lines and
models. One or more vehicle models listed in the array may belong to each vehicle line. A catalog that a
model belongs to is specified for each model.
error
- is the information about errors. Empty value indicates that there are
no errors.
Selecting vehicle series in accordance with previously selected parameters.
Address:
https://api.levam.net/oem/v1/VehicleModificationsGet
Input parameters:
Mandatory parameters:
api_key
- is a key to APIssd
- is the unique identifierOptional parameters:
lang
- is a languageOutput parameters:
Mandatory parameters:
client -> ssd
- is the unique identifiermodifications -> link
- is the code of a selected vehicle seriesOptional parameters:
error
- is the information about errorsExample:
https://api.levam.net/oem/v1/VehicleModificationsGet?api_key=key&ssd=770e1aee96bbf85678ab1426f66af8c6<
Response:
Response description:
client
- is an object containing information about a selected catalog, vehicle
line,
model, parameters, series, group, subgroup, VIN number (in case the search by VIN number has been used)
and ssd unique identifier
mark |
Vehicle make |
catalog_code |
Catalog code |
family |
Vehicle line |
model |
Vehicle model |
ssd |
Unique identifier |
param |
Selected parameters |
modification |
A selected vehicle series |
group |
Selected group |
subgroup |
Selected subgroup |
vin |
VIN number |
frame |
Frame number |
universal_classifier |
For the given catalog universal classifier is available — methods (TreeGet,TreeNodeSearch,TreeNodePartsGet), takes on yes/no values |
modifications
- is the array of objects containing information about vehicle
series.
Object contains names and values of all the parameters of the given vehicle series and
link
- field which is vehicle series unique code
error
- is the information about errors. Empty value indicates that there are
no errors.
model_image
- is the image of a selected vehicle model. Available only in case
when the image for a selected model exists.
Selecting a group of parts for a selected vehicle series.
Address:
https://api.levam.net/oem/v1/PartGroupsGet
Input parameters:
Mandatory parameters:
api_key
- is a key to APIssd
- is the unique identifierlink
- is the code of a selected vehicle seriesOptional parameters:
lang
- is a languagegroup
- is a group number. If group
parameter is
empty,
the search for root groups of parts for the given catalog will be executed.
In case when group
parameter is not empty, the search for the enclosed groups
of the given group
of parts will be executed.
Output parameters:
Mandatory parameters:
client -> ssd
- is the unique identifierclient -> modification
- is the code of a selected vehicle seriesgroups -> group_name
- is the code of a selected group of partsnext
- is the feature of enclosed groups of parts availability. Takes on 0/1
values.
Optional parameters:
error
- is the information about errorsExample:
https://api.levam.net/oem/v1/PartGroupsGet?api_key=key&ssd=770e1aee96bbf85678ab1426f66af8c6&link=dm5GNk8vOXNQN1pBWmZTUjU4WnhpMW4wbnZpY29NZzBRLzg4Tk1HVlBZZz0=
Response:
Response description:
client
- is an object containing information about a selected catalog,
vehicle line, model, parameters, series, group, subgroup,
VIN number (in case the search by VIN number has been used) and ssd unique identifier
mark |
Vehicle make |
catalog_code |
Catalog code |
family |
Vehicle line |
model |
Vehicle model |
ssd |
Unique identifier |
param |
Selected parameters |
modification |
Selected vehicle series |
group |
Selected group |
subgroup |
Selected subgroup |
vin |
VIN number |
frame |
Frame number |
groups
- is the array of objects containing information about groups of parts
full_name |
Group full name |
group_name |
Group of parts code |
image |
Image for the given group |
next
- indicates the presence of enclosed groups of parts. If next
equals 1, then it means that this group of parts has subgroups that
one has to get access to in order to find requested parts. If next
equals 0, then it means that there are no subgroups for the given group of parts and, thus,
it is possible to get access to the list of parts.
model_info
- is the information about selected vehicle series.error
- is the information about errors. Empty value indicates that there are
no errors.
model_image
- is the image of a selected vehicle model.
Available only in case when there is an image for a selected model in the database.
Displaying parts, diagrams and coordinates.
Address:
https://api.levam.net/oem/v1/PartsGet
Input parameters:
Mandatory parameters:
api_key
- is a key to APIssd
- is the unique identifierlink
- is the code of a selected vehicle seriesgroup
- is the code of a selected group of partsOptional parameters:
lang
- is a languageOutput parameters:
Optional parameters:
parts -> parts
- is the information about parts.parts -> image
- is the information about parts images.parts -> coord
- is the information about coordinates.error
- is the information about errors.Example:
https://api.levam.net/oem/v1/PartsGet?api_key=key&ssd=770e1aee96bbf85678ab1426f66af8c6&link=dm5GNk8vOXNQN1pBWmZTUjU4WnhpMW4wbnZpY29NZzBRLzg4Tk1HVlBZZz0=&subgroup=010-10000
Response:
Response description:
client
- is an object containing information about a selected catalog, vehicle
line, model,
parameters, series, group, subgroup, VIN number (in case the search by VIN number has been used) and ssd
unique identifier.
mark |
Vehicle make |
catalog_code |
Catalog code |
family |
Vehicle line |
model |
Vehicle model |
ssd |
Unique identifier |
param |
Selected parameters |
modification |
Selected vehicle series |
group |
Selected group |
subgroup |
Selected subgroup |
vin |
VIN number |
frame |
Frame number |
parts
- is the array of objects containing the following information:parts |
is the information about found parts. Consists of two parts: standart and
add .
standart is the array of information about parts available for all
parts in all catalogs.
This array consists of:
add is the array of additional information about a part.
This array consists of:
|
image |
are assembly drawings that match a selected subgroup |
coord |
is the information about coordinates required for the search of parts in drawings |
part_name
- is the name of an assembly (subgroup) which parts, parts images or
coordinates indicated in a response belong to.
model_info
- is the information about selected vehicle series.error
- is the information about errors. Empty value indicates that there are
no errors.
model_image
- is the image of a selected vehicle model.
Available only in case when there is an image for a selected model in the database.
Searching for a vehicle by VIN number
Address:
https://api.levam.net/oem/v1/VinFind
Input parameters:
Mandatory parameters:
api_key
- is a key to APIvin
- is a VIN numberOptional parameters:
lang
- is a languageOutput parameters:
Mandatory parameters:
ssd
- is the unique identifiermodels -> link
- is the code of a selected vehicle seriesOptional parameters:
error
- is the information about errorsExample:
https://api.levam.net/oem/v1/VinFind?api_key=key&vin=WAUBA24B3XN104537
Response:
Response description:
client
- is an object containing information about a selected catalog, vehicle
line,
model, parameters, series, group, subgroup, VIN number (in case the search by VIN number has been used)
and ssd unique identifier
mark |
Vehicle make |
catalog_code |
Catalog code |
family |
Vehicle line |
model |
Vehicle model |
ssd |
Unique identifier |
param |
Selected parameters |
modification |
Selected vehicle series |
group |
Selected group |
subgroup |
Selected subgroup |
vin |
VIN number |
frame |
Frame number |
models
- is the array of objects containing information about vehicle model
that
matches requested VIN number. Object contains names and values of all the parameters
of the given vehicle model and link
- field which is a vehicle series unique
code
error
- is the information about errors. Empty value indicates that there are
no errors.
Searching for a vehicle by FRAME number
Address:
https://api.levam.net/oem/v1/FrameFind
Input parameters:
Mandatory parameters:
api_key
- is a key to APIframe
- is a FRAME numberOptional parameters:
lang
- is a languageOutput parameters:
Mandatory parameters:
ssd
- is the unique identifiermodels -> link
- is the code of a selected vehicle seriesOptional parameters:
error
- is the information about errorsExample:
https://api.levam.net/oem/v1/FrameFind?api_key=key&frame=NHW20-7837381
Response:
Response description:
client
- is an object containing information about a selected catalog,
vehicle line, model, parameters, series, group, subgroup, VIN number
(in case the search by VIN number has been used) and ssd unique identifier
mark |
Vehicle make |
catalog_code |
Catalog code |
family |
Vehicle line |
model |
Vehicle model |
ssd |
Unique identifier |
param |
Selected parameters |
modification |
Selected vehicle series |
group |
Selected group |
subgroup |
Selected subgroup |
vin |
VIN number |
frame |
Frame number |
models
- is the array of objects containing information about vehicle model
that matches requested FRAME number. Object contains names and values
of all the parameters of the given vehicle model and link
- field which is a
vehicle series unique code
error
- is the information about errors. Empty value indicates that there are
no errors.
Displaying assemblies tree from the universal classifier of vehicles
Address:
https://api.levam.net/oem/v1/TreeGet
Input parameters:
Mandatory parameters:
api_key
- is a key to APIlink
- is the code of a selected vehicle seriesssd
- is the unique identifierOptional parameters:
lang
- is a languageExample:
https://api.levam.net/oem/v1/TreeGet?api_key=key&link=link&ssd=ssd&lang=ru
Response:
Response description:
tree
- is a tree of the universal classifier.
name |
Tree element name |
data |
Enclosed data. May contain enclosed assemblies of the classifier or be empty. |
leaf |
|
error
- is the information about errors. Empty value indicates that there are
no errors.
client
- is an object containing information about a selected catalog,
vehicle line, model, parameters, series, group, subgroup, VIN number
(in case the search by VIN number has been used) and ssd unique identifier
mark |
Vehicle make |
catalog_code |
Catalog code |
family |
Vehicle line |
model |
Vehicle model |
ssd |
Unique identifier |
param |
Selected parameters |
modification |
Selected vehicle series |
group |
Selected group |
subgroup |
Selected subgroup |
vin |
VIN number |
frame |
Frame number |
Displaying the list of assemblies for a selected branch of the universal classifier tree
Address:
https://api.levam.net/oem/v1/TreeNodeSearch
Input parameters:
Mandatory parameters:
api_key
- is a key to APIlink
- is the code of a selected vehicle seriesssd
- is the unique identifierpath
- is a path in the tree of the classifierOptional parameters:
lang
- is a languageExample:
https://api.levam.net/oem/v1/TreeNodeSearch?api_key=key&link=link&&ssd=ssd&path=1->3->4&lang=ru
Response:
Response description:
tree
- is the list of vehicle assemblies for an assembly selected from
classifier tree.
node |
Assembly code |
header |
Assembly full name |
image |
Image for the given group |
error
- is the information about errors. Empty value indicates that there are
no errors.
client
- is an object containing information about a selected catalog,
vehicle line, model, parameters, series, group, subgroup, VIN number
(in case the search by VIN number has been used) and ssd unique identifier
mark |
Vehicle make |
catalog_code |
Catalog code |
family |
Vehicle line |
model |
Vehicle model |
ssd |
Unique identifier |
param |
Selected parameters |
modification |
Selected vehicle series |
group |
Selected group |
subgroup |
Selected subgroup |
vin |
VIN number |
frame |
Frame number |
Displaying assembly parts selected from assemblies list
Address:
https://api.levam.net/oem/v1/TreeNodePartsGet
Input parameters:
Mandatory parameters:
api_key
- is a key to APIlink
- is the code of a selected vehicle seriesssd
- is the unique identifierpath
- is a path in the tree of the classifiergroup
- is the code of a selected assemblyOptional parameters:
lang
- is a languageExample:
https://api.levam.net/oem/v1/TreeNodePartsGet?api_key=key&link=link&ssd=ssd&group=300-300020&lang=ru
Response:
Response description:
parts
- is the array of objects containing the following information:
parts |
is the information about found parts. Consists of two parts:
|
||||||||||||||
image |
Assembly drawings that match a selected assembly | ||||||||||||||
coord |
Information about coordinates required for the search of spare parts on drawings |
part_name
- is the name of an assembly (subgroup) which parts, parts images
or coordinates indicated in a response belong to.
model_info
- is the information about a selected vehicle series.error
- is the information about errors. Empty value indicates that there are
no errors.
model_image
- is the image of a selected vehicle model.
Available only in case when there is an image for a selected model in the database.
Output of the full tree of nodes of the universal classifier
Address:
https://api.levam.net/oem/v1/TreeFullGet
Input parameters:
Mandatory parameters:
api_key
- is a key to APIssd
- is the unique identifierlink
- is the code of a selected vehicle seriesOptional parameters:
lang
- is a languageExampl:
https://api.levam.net/oem/v1/TreeFullGet?api_key=key&ssd=5cb2c0bccb14128d1982948b719715c8:28bddf035b3bacac1bc42f2f33359651&lang=ru&link=SzNxekJ4aC9jVyswNC9mTjNjM3B5QT09--
Response:
Response description:
error
- is the information about errors. Empty value indicates that there are no errors.client
- is an object containing information about the current section:mark - Vehicle make |
catalog_code - Catalog code |
model - Vehicle model |
family - Vehicle line |
ssd - Unique identifier |
param - Selected parameters |
modification - Selected vehicle series |
group - Selected group |
subgroup - Selected subgroup |
universal_classifier - A universal classifier is available for this catalog |
vin - VIN number |
frame - Frame number |
mod_link
- Code of the selected modificationtree
- Tree of objects containing information about all nodes of the modification:10000 - Tree section id |
name - Name of the section of the tree of the universal classifier |
image - Link to the image of the universal classifier tree section |
branch - A tree branch |
nodes - An array containing information about a node |
model_image
- The image of the selected vehicle model. Present only if the image for this model is in the databasemodel_info
- Information about the selected vehicle modificationCatalog output, families, models and modifications in which the part is found
Address:
https://api.levam.net/oem/v1/ApplicabilityCars
Input parameters:
Mandatory parameters:
api_key
- is a key to APIpart_code
- is original part codeOptional parameters:
lang
- is a languageExample:
https://api.levam.net/oem/v1/ApplicabilityCars?api_key=key&part_code=34351543830&lang=ru
Response:
Response description:
error
- is the information about errors. Empty value indicates that there are no errors.result
- is an array of objects containing information:catalog_code - Catalog code |
|||||||
catalog_name - Catalog name |
|||||||
families - An array of objects containing information about families:
|
Output the modification with nodes that have a given part
Address:
https://api.levam.net/oem/v1/ApplicabilityNodes
Input parameters:
Mandatory parameters:
api_key
- is a key to APIpart_code
- is an original part codemodif_link
- is a code of the selected modificationOptional parameters:
lang
- is a languageExample:
https://api.levam.net/oem/v1/ApplicabilityNodes?api_key=key&part_code=057130764AM&modif_link=UFNINUtxVHpxcmJNZmUrcVNoeS83UT09--
Response:
Response description:
error
- is the information about errors. Empty value indicates that there are no errors.result
- is an array of objects containing information:catalog_code - Catalog code |
catalog_name - Catalog name |
family_name - Family name |
model_name - Model name |
model_image - Link to model image |
nodes - Array of objects containing information about nodes: |
image - Link to node image |
node_name - Node name |
group - Code/group name |
parts - Array of objects containing information about parts of a node: |
pnc - Part number on the schematic |
Sends order verification request
Address:
https://api.levam.net/oem/v1/OrderCheck
Input parameters:
Mandatory parameters:
api_key
- is a key to APIvin
- is a VIN-numberparts_codes
- is an original part codes, separated by commasOptional parameters:
order_code
- is an order code (not used, reserved)Example:
https://api.levam.net/oem/v1/OrderCheck?api_key=key&vin=WBAUB31060VH40246&parts_codes=24007572464&order_code=1234
Response:
Response description:
error
- is the information about errors. Empty value indicates that there are no errors.result
- is an object that contains information about the tasktask_id - is a task identifier, to get the result of the query |
Returns the result of the order check
Address:
https://api.levam.net/oem/v1/OrderCheckResult
Input parameters:
Mandatory parameters:
api_key
- is a key to APItask_id
- is a task identifierExample:
https://api.levam.net/oem/v1/OrderCheckResult?api_key=key&task_id=4c9caf3deb6cad4eb73a7f7f9c679e57
Response:
Response description:
error
- is the information about errors. Empty value indicates that there are no errors.result
- is object that contains information about the task:ready - true: task accomplished, false: task is not accomplished |
result - is object that contains as keys the part numbers of the parts to be checked: |
applicable - true/false - part fits / does not fit this modification |
replacements - is array of strings containing replacement part numbers (there is a newer part) |
Output of all spare parts for maintenance
Address:
https://api.levam.net/oem/v1/MaintenanceParts
Input parameters:
Mandatory parameters:
api_key
- is a key to APImodif_link
- is a code of the selected modificationOptional parameters:
lang
- is a languageExample:
https://api.levam.net/oem/v1/MaintenanceParts?api_key=key&lang=en&modif_link=OTM5SElaM2orZi91OUZyNVNrTWwydz09--
Response:
Response description:
error
- is the information about errors. Empty value indicates that there are no errors.result
- is the object containing the result of the check:catalog_code - Catalog code |
catalog_name - Catalog name |
catalog_image - Link to catalog image |
family_name - Family name |
family_image - Link to family image |
model_name - Model name |
model_image - Link to model image |
categories - Array of objects containing categories of parts: |
category_name - Category name |
category_code - Category code |
category_image - Link to category image |
parts - Array of objects containing information about parts: |
part_code - Part number |
part_name - Part name |
part_number - Part number on the schematic |
coords - Array of objects containing coordinates of the part number location in the scheme: |
top - Vertical coordinate |
left - Horizontal coordinate |
width - Mark width |
height - Mark height |
node_name - Node name |
node_group - Code/group name |
node_image - Link to node image |
Displaying a list of possible brands by part number.
Address:
https://am-api.levam.net/v1/BrandsGet
Input parameters:
Mandatory parameters:
api_key
- is a key to APIpart_number
- is the number of part for which we are going to get the list of possible brands.Optional parameters:
lang
- is a response languageOutput parameters:
Mandatory parameters:
parts
- are parts found with number of parts_numberOptional parameters:
error
- is the information about errorsQuery example:
https://am-api.levam.net/v1/BrandsGet?api_key=key&part_number=123456789&lang=en
Response example:
Response description:
parts
- is the array of objects containing information about parts with target numbersearch_number |
Part number without special characters and spaces |
part_number |
Part number in a manufacturer’s format |
brand_name |
Brand name |
aliases |
brand name synonyms |
part_name |
Part name |
images |
Array of a part images |
images_small |
Array of a part reduced images |
aliases |
Aliases of brand name |
error
- is the information about errors. Empty value indicates that there are no errorsDisplaying a list of equivalents by part number and brand
Adress:
https://am-api.levam.net/v1/ReplacementsGet
Input parameters:
Mandatory parameters:
api_key
- is a key to APIpart_number
- is the number of part for which we are going to get the list of equivalents.brand
- is the brand of the part for which we are going to get the list of equivalentsOptional parameters:
lang
- is a response languageOutput parameters:
Mandatory parameters:
requested_part
- is the information about part requestedreplacements
- is the array of requested part equivalentsOptional parameters:
error
- is the information about errorsRequest example:
https://am-api.levam.net/v1/ReplacementsGet?api_key=key&part_number=12345&brand=OPTIMAL&lang=en
Respond:
Response description:
requested_part
- is the information about a part that is under searching of equivalents.search_number |
Part number without special characters and spaces |
part_number |
Part number in a manufacturer’s format |
brand_name |
Brand name |
part_name |
Part name |
aliases |
brand name synonyms |
images |
Array of a part images |
images_small |
Array of a part reduced images |
oem_replacements |
Part numbers of original equivalents |
applicability |
Part applicability (vehicles that it is compatible to) |
settings |
Part parameters (weight, size etc.) |
replacements
- is the array of objects containing information about equivalents of requested partsearch_number |
Part number without special characters and spaces |
part_number |
Part number in a manufacturer’s format |
brand_name |
Brand name |
aliases |
brand name synonyms |
part_name |
Part name |
images |
Array of a part images |
images_small |
Array of a part reduced images |
error
- is the information about errors. Empty value indicates that there are no errors