Difference between revisions of "Laximo Web-services:AM:FindOEM/en"

From Laximo
Jump to: navigation, search
 
Line 38: Line 38:
 
* Tuning  
 
* Tuning  
 
* Bidirectional
 
* Bidirectional
 +
* Code
 
All values are listed separated by commas.  
 
All values are listed separated by commas.  
 
|}
 
|}

Latest revision as of 05:51, 28 December 2018

Other languages:
English • ‎русский

Description

Implements search by OEM number or pair Brand - OEM number.

Function parameters

Parameter Mandatory Description
Locale + Localization language
Brand - Requested OEM brand.

Warning.gifParameter is available since July 23rd 2012

OEM + OEM of the required detail
Options + Search options, determine the content of the returning information
ReplacementTypes - Enables to filter return cross-referenced replacements by the relation type. If the value is not specified, it returns all but PartOfTheWhole.

Possible options:

  • Synonym
  • PartOfTheWhole
  • Replacement
  • Duplicate
  • Tuning
  • Bidirectional
  • Code

All values are listed separated by commas.


Returning data

Parameter Mandatory Description
type + Type of property
way + Direction of connection

Warning.gif Note! Given list of the returning data is not full and can be extended any time.


Information.gif Type:

  • Replacement – replacement, that is, the relationship within a brand.
  • Duplicate – a duplicate or relationship between brands.
  • Tuning – indicates the unidirectional relationship of an ordinary part to the universal one. The peculiarity of the relationship is that in the cross of the universal part only other universal parts are available
  • PartOfTheWhole – a part of the whole, that is, indicates not an equivalent replacement but a part has another part or this part is in another part.
  • Synonym – equivalent parts; it is used to indicate fully interchangeable parts.
  • Bidirectional – means there are data of Replacement or Duplicate type from different sources to both directions.


Information.gif Way: Replacement direction: If one detail can be replaced by the other one, it doesn't mean that there is always an inverse connection.
Forward means that there is a fixed 'forward connection' from the detail towards the replacement, and Backward means there is this inverse connection. Bidirectional - means that there is a bidirectional relationship.

In practice replacement direction is important only for the type PartOfTheWhole

<detail detailid="unique ID" manufacturerid="manufacturer ID" manufacturer="manufacturer's code"
        oem="OEM of the detail with no separation symbols" formattedoem="formatted OEM" name="item name" weight="weight (kg)">
volume="Объем в кубометрах"
<properties>
<property property="property name" code="Код свойства" value="property meaningа" locale="property localized language" detailpropertyid="unique ID"
        rate="raiting"/>
        ...
        </properties>
 
<images>
<image filename="image URL
" width="width" height="height"/>
        ...
        </images>
 
<replacements>
<replacement type="Replacement/Duplicate" way="Forward/Backward" replacementid="unique ID" rate="raiting">
<detail detailid="unique ID" manufacturerid="manufacturer ID" manufacturer="manufacturer's code"
        oem="OEM of the detail with no separation symbols" formattedoem="formatted OEM" name="item name" weight="weight (kg)"
        icon="image availability">
        </replacement>
        ...
        </replacements>
        </detail>
        ...


Sample of request

FindOEM:Locale=ru_RU|OEM=078100105NX|Options=crosses

Sample of service response

<FindOEM>
    <detail detailid="30921631" manufacturerid="4265" manufacturer="VAG" oem="078100105NX" formattedoem="078100105NX"
            weight="77.0">
        <properties/>
        <images/>
        <replacements/>
    </detail>
    <detail detailid="31454425" manufacturerid="2051" manufacturer="SEAT" oem="078100105NX" formattedoem="078100105NX"
            weight="77.0">
        <properties/>
        <images/>
        <replacements>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="31958061" manufacturerid="2280" manufacturer="AUDI" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="32454105" manufacturerid="4156" manufacturer="VOLKSWAGEN" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="32950241" manufacturerid="2691" manufacturer="SKODA" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
        </replacements>
    </detail>
    <detail detailid="31958061" manufacturerid="2280" manufacturer="AUDI" oem="078100105NX" formattedoem="078100105NX"
            weight="77.0">
        <properties/>
        <images/>
        <replacements>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="31454425" manufacturerid="2051" manufacturer="SEAT" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="32454105" manufacturerid="4156" manufacturer="VOLKSWAGEN" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="32950241" manufacturerid="2691" manufacturer="SKODA" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
        </replacements>
    </detail>
    <detail detailid="32454105" manufacturerid="4156" manufacturer="VOLKSWAGEN" oem="078100105NX"
            formattedoem="078100105NX" weight="77.0">
        <properties/>
        <images/>
        <replacements>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="31454425" manufacturerid="2051" manufacturer="SEAT" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="31958061" manufacturerid="2280" manufacturer="AUDI" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="32950241" manufacturerid="2691" manufacturer="SKODA" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
        </replacements>
    </detail>
    <detail detailid="32950241" manufacturerid="2691" manufacturer="SKODA" oem="078100105NX" formattedoem="078100105NX"
            weight="77.0">
        <properties/>
        <images/>
        <replacements>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="31454425" manufacturerid="2051" manufacturer="SEAT" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="31958061" manufacturerid="2280" manufacturer="AUDI" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
            <replacement type="Synonym" way="Bidirectional">
                <detail detailid="32454105" manufacturerid="4156" manufacturer="VOLKSWAGEN" formattedoem="078100105NX"
                        weight="77.0"/>
            </replacement>
        </replacements>
    </detail>
</FindOEM>


Functions of Laximo web services

General information

Work principles Security Catalogs localization Catalogs update Error handling
Laximo.OEM Catalog search ListCatalogs,GetCatalogInfo
Vehicle search FindVehicleByVIN, FindVehicleByFrame, FindVehicleByFrameNo, FindVehicle, GetWizard2, GetWizardNextStep2, FindVehicleByWizard2, GetVehicleInfo, ExecCustomOperation
Unit search ListUnits, ListCategories, GetFilterByUnit, GetUnitInfo
Searching details in the unit ListDetailByUnit, ListImageMapByUnit, GetFilterByDetail
Quick search of details ListQuickGroup, ListQuickDetail
Applicability GetOEMPartApplicability, FindApplicableVehicles, FINDPARTREFERENCES
Laximo.Aftermarket Parts search FindOEM, FindReplacements, FindDetail, FindOEMCorrection
Manufacturer ManufacturerInfo, ListManufacturer
Libraries and samples of Laximo web-services use
PHP
Download
the library for PHP
Library use samples Change of the behavior and appearance of the catalog elements
GuayaquilExtender
Examples of overriding the default behavior of classes to display the data in html
Example of crosses obtainment with LaximoAftermarket
Work with catalogs in the context of catalogs list's display
Скачать библиотеку ASP.NET ASP.NET Guayaquil library
Варианты внедрения сервисов Laximo в 1С