5.8 Publish Vehicle
The publish vehicle is a service used by the VSS to publish vehicles with status "New Vehicle" or "Used Vehicle" and update the vehicle inventory in DSW.
The API schema and an example of the json is available here: → oodil-dms-api | 1.2.0 | ThinkRIT | SwaggerHuapis/ThinkRIT/odil-dms-api/1.2.0#//Vehicles/SendVehicle
When a user publishes vehicles from DMS to DSW, the vehicles are created in the DSW inventory and stored in the @XIS_CARS table
For the correct publishing of vehicles from VSS 4.0 to DSW the following prerequisites must be fulfilled:
1) Uploaded and updated Model Tree
2) Mappings related to vehicles inventory → ~/mappings/maingridlist, using the relation: DSW to Integration Layer
SN | DSW Object Types / Mapping System | SwaggerHub | EndPoint Relevant | Relevant for VSS | Type of Mapping |
1 | Vehicle Status (IDMS_S_SETUP) | VehicleStatus | POST (Create/Update Vehicle) | Yes | Map from List |
2 | Vehicle Category (XIS_CARSTATUS) | VehicleClassificationStatus | POST (Create/Update Vehicle) | Yes | Map from List |
3 | Vehicle Availability Status (IDMS_VehAvailabilityStatus) | VehicleAvailabilityStatus | POST (Create/Update Vehicle) | Yes | Map from List |
4 | Vehicle Car Type (XIS_CARTYPES) | VehicleType | POST (Create/Update Vehicle) | Yes | Map from List |
5 | VAT Product Group | VAT Product Group | POST (Create/Update Vehicle | Yes | Map from List |