Laximo Web-services/Work principles

Материал из Laximo
Перейти к: навигация, поиск
Эта страница является переводом страницы Laximo Web-services/Work principles. Перевод выполнен на 100%.

Другие языки:
English • ‎русский

SOAP Laximo.OEM

Data requests are performed with the protocol SOAP. The following versions are supported:

SOAP Laximo.AM

Data requests are performed with the protocol SOAP. The following versions are supported:

QueryDataLogin

QueryDataLogin function is used for authentication using the login and the password. With QueryDataLogin function all operations with the service are available. The function has the following parameters of the type "string":

  1. Command
  2. User login
  3. Check code (password), built on the mechanism of HMAC (hash-based message authentication code)

Returning value is of the type "string".

Entry Parameter QueryData

The list of commands and their parameters is accepted as a value. Each new command begins with a new string. The command's form is:

CommandName:Parameter1=Value1|Parameter2=Value2|...|ParameterN=ValueN

This type of query form allows to get several data-sets per one access to the network.

Another parameter is the check code, that should be formed in the following way:

  1. You have to join two strings into one: command transmitted in the first parameter + password.
  2. Therefore, this one string is encoded by MD5 algorithm.

Password id not transmitted directly so it increases the system's security. Server, upon receiving a request QueryDataLogin, builds the check code in the same manner and compares it with that recieved one in the request; if codes match, the data is returned, otherwise it returns an error E_ACCESSDENIED.

This error can have following notes:

  • MAC check failed - HMAC check code is not valid
  • You don't have active subscription - You don't have an active subscription

Information.gif By subscription we mean an active login-password pair, as this pair validity is limited.

Output format QueryData

QueryDataLogin function returns data in the same XML format as QueryData:

<response>
<CommandName1>
<row ColumnName1="Value1" ... ColumnNameM="ValueM"/>
 
...
 
<row ColumnName1="Value1" ... ColumnNameM="ValueM"/>
</CommandName1>
 
...
 
<CommandNameN>
 
...
 
</CommandNameN>
</response>


See also

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
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С

Related categories