Difference between revisions of "Laximo Web-services:OEM:ListUnits/en"
From Laximo
(Обновление для соответствия новой версии исходной страницы.) |
|||
Line 25: | Line 25: | ||
| style="text-align:center" | - | | style="text-align:center" | - | ||
| Category ID | | Category ID | ||
+ | If there is no Category ID in a request, the first category in a list will be used. | ||
|- | |- | ||
| ssd | | ssd |
Revision as of 11:06, 27 February 2019
Contents
Description
List of vehicle units in a certain category.
Function parameters
Parameter | Mandatory | Description |
---|---|---|
Locale | + | Localization language |
Catalog | + | Catalog code, which is taken from the list of catalogs. |
VehicleId | + | Vehicle ID in the catalog |
CategoryId | - | Category ID
If there is no Category ID in a request, the first category in a list will be used. |
ssd | + | Server data |
Localized | - | Setting the value of parameter "true",translation of parameters names begins in the specified Locale language.
By default, "false" means - the name of the returned parameters in the format specified further |
Returning data
Parameter | Mandatory | Description |
---|---|---|
unitid | + | Inner number of the category |
name | + | Unit name, if possible, on the requested language |
imageurl | + | URL of the image which has a variable 'size' |
code | + | Unit code |
ssd | + | Server data |
Examples of possible attributes:
Parameter | Mandatory | Description |
---|---|---|
note | - | Note for the unit, if possible, on the requested language |
filter | - | Code of condition. It shows that detail may be not applicable for the given vehicle and you must specify its parameters. |
flag | - | Flags |
Note! Given list of the returning data can be extended anytime, while improving and updating the Web service.
Images
The variable size can take such values as:
- Preview. Compressed in a way that the height and the width do not go exceed the specified dimensions, but the proportions are retained:
- 150
- 175
- 200
- 225
- 250
- Original size (wothount any changes):
- source
Flags
Bit № | Mask | Description |
---|---|---|
1 | 0x01 | Non-standard detail |
Sample of request
ListUnits:Locale=es_ES|Catalog=AU1203|VehicleId=1238|CategoryId=-1|ssd=v@WAUBH54B11N111054|Localized=true
Sample of service response
<ListUnits> <row code="10015" imageurl="http://img.laximo.net/AU1203/%size%/195100160.gif?s=010E&k=0b3db2ea2e2f9c1374b000992b1034a7" largeimageurl="http://img.laximo.net/AU1203/%size%/195100160.gif?s=010E&k=0b3db2ea2e2f9c1374b000992b1034a7" name="motor aligerado con ciguenal, pistones,bomba y carter aceite " ssd="v@WAUBH54B11N111054" unitid="57467"> <attribute key="note" name="Notas" value="2,8l 6 cilindros: AHA,ATQ"/> </row> <row code="10015" imageurl="http://img.laximo.net/AU1203/%size%/195100160.gif?s=010E&k=0b3db2ea2e2f9c1374b000992b1034a7" largeimageurl="http://img.laximo.net/AU1203/%size%/195100160.gif?s=010E&k=0b3db2ea2e2f9c1374b000992b1034a7" name="motor incompleto con ciguenal, pistones, culata compl., bomba aceite y volante motor " ssd="v@WAUBH54B11N111054" unitid="57467"> <attribute key="note" name="Notas" value="2,8l 6 cilindros: AHA,ATQ"/> </row> <row code="10331" imageurl="http://img.laximo.net/AU1203/%size%/260103310.gif?s=010E&k=84db665d51e0b1f9065ba02352f0696d" largeimageurl="http://img.laximo.net/AU1203/%size%/260103310.gif?s=010E&k=84db665d51e0b1f9065ba02352f0696d" name="bloque cilindros con pistones bandeja aceite " ssd="v@WAUBH54B11N111054" unitid="57468"> <attribute key="note" name="Notas" value="2,8l 6 cilindros: AHA,ATQ"/> </row> <row code="10365" imageurl="http://img.laximo.net/AU1203/%size%/219103650.gif?s=010E&k=903615602d2f663b0478fcdc8fe97061" largeimageurl="http://img.laximo.net/AU1203/%size%/219103650.gif?s=010E&k=903615602d2f663b0478fcdc8fe97061" name="culata tapa culata " ssd="v@WAUBH54B11N111054" unitid="57469"> <attribute key="note" name="Notas" value="2,8l 6 cilindros: AHA,ATQ"/> </row> </ListUnits>
Sample of request
ListUnits:Locale=ru_RU|Catalog=AP1211|VehicleId=39|CategoryId=700|ssd=vin@VF33CRFNB82054244
Sample of service response
<ListUnits> <row code="T5F 6 65G01B" filter_note="BSI COMM 2000" imageurl="http://img.laximo.net/AP1211/%size%/00003277.gif?s=010E&k=4d4f2204222a14fe8215ae23c9ca7197" largeimageurl="http://img.laximo.net/AP1211/%size%/00003277.gif?s=010E&k=4d4f2204222a14fe8215ae23c9ca7197" name="БЛОКИ / ПЛАТЫ / ФУТЛЯР - ЭЛЕКТРОННЫЙ БЛОК 'MUX'" ssd="vin@VF33CRFNB82054244~cid@700" unitid="82260"/> <row code="T5F 6 65G03B" filter_note="МОНТАЖ МУЛЬТИПЛЕКСНЫЙ CAN CAN" imageurl="http://img.laximo.net/AP1211/%size%/00003279.gif?s=010E&k=3f8813231107efc171d972c0e4d93237" largeimageurl="http://img.laximo.net/AP1211/%size%/00003279.gif?s=010E&k=3f8813231107efc171d972c0e4d93237" name="БЛОКИ / ПЛАТЫ / ФУТЛЯР - ЭЛЕКТРОННЫЙ БЛОК 'MUX'" ssd="vin@VF33CRFNB82054244~cid@700" unitid="82264"/> <row code="T5F 6 65H05A" imageurl="http://img.laximo.net/AP1211/%size%/00003280.gif?s=010E&k=851c985880b583b88092198857dae1a5" largeimageurl="http://img.laximo.net/AP1211/%size%/00003280.gif?s=010E&k=851c985880b583b88092198857dae1a5" name="БЛОКИ / ПЛАТЫ / ФУТЛЯР - КОНТРОЛЬНЫЙ СТЕНД И КОРОБКА ПРЕДОХРАНИТ." ssd="vin@VF33CRFNB82054244~cid@700" unitid="82265"/> <row code="T5F 6 65H70A" imageurl="http://img.laximo.net/AP1211/%size%/00003281.gif?s=010E&k=3eb9b120b83f74e03db8f936a6f34e7c" largeimageurl="http://img.laximo.net/AP1211/%size%/00003281.gif?s=010E&k=3eb9b120b83f74e03db8f936a6f34e7c" name="БЛОКИ / ПЛАТЫ / ФУТЛЯР - РЕЛЕ - ЗУММЕР - ПРЕРЫВ. УКАЗАТ. ПОВОРОТА" ssd="vin@VF33CRFNB82054244~cid@700" unitid="82266"/> </ListUnits>