RSDM import logic
Receiving the car data from RSDM
For data fetching we use http://rsdm.toyota.ee/RetailerServices/Services.asmx
2 methods:
GetStock (distributor + dealer stock) http://rsdm.toyota.ee/RetailerServices/Services.asmx?op=GetStock
GetOrdersForRetailer (dealer stock only) http://rsdm.toyota.ee/RetailerServices/Services.asmx?op=GetOrdersForRetailer
Data is retrieved by dealer code. Group code not used, only end-dealers. For exaple Elke Narva code "6": “147DFC8D-D953-4DA1-BCEA-XXXXXXXXXXXX” where “6” is the branch code and “147DFC8D-D953-4DA1-BCEA-XXXXXXXXXXXX“ is dealer key in RSDM.
Cars in pipe are searched and updated by:
(VOM)
preOrderNumber => preOrderNumber
if not found we search by NNE number (URN)
nneNumber => OrderNumber
and if it fails we search by VIN
RSDM GetStock | RSDM GetOrderForRetailer | SF Pipe | Notes and exmaples |
---|---|---|---|
stock.model.vom1 | order.vehicle.modelCode | endItemCode |
|
stock.urn | order.vehicle.urn | orderNumber |
|
stock.regNr | order.vehicle.getRegPlate | regNr |
|
stock.vin | order.vehicle.vin | vin |
|
N/A | order.orderNo | preOrderNumber | first 7 chars from order no ( |
SuffixA3 |
|
|
|
stock.price | N/A | price | pipe / wh item (OPS-5473) |
stock.specialPrice | N/A | specialPrice | wh item only |
stock.extColour.code | order.vehicle.colourCode | colorCode |
|
stock.trim + stock.intColour | order.vehicle.trim + order.vehicle.intColour | interiorCode |
|
stock.model.modelFamilyNameInCarDb | order.vehicle.modelFamilyName | model |
|
N/A | order.vehicle.mileage | mileage | use only when creating, do not update |
N/A | order.orderDate | orderDate | status |
N/A | order.vehicle.dateRegistered | registrationDate | status |
N/A | order.vehicle.productionDate | productionDate | status |
| order.vehicle.OrderType | orderClass | affects multiple fields, see below… |
stock.orderEta | order.eta | etaDate | status |
<from feed key> | branch | matched by code | |
order.Location | currentLocation | matched by code | |
N/A | N/A | priceExVat | always FALSE |
stock.daysInStock | N/A | arrivedBranchDate | status and date set when daysInStock > 0 |
Pack content (07.01.2025 - discussions with NG and TBA are ongoing - CLS-10415)
We do not get pack content for factory packages. All this information is available in these two endpoints, but at the moment we do not use them for stock cars as it includes also standard equipment and probably it would make RSDM pipe import really slow https://rsdm.toyota.ee/SalesAppServices/Services.asmx?op=GetStandardEquipmentForURN_response_MT76473430