carsv2
Click here for a complete list of operations.
stock_row_get
Get car stock row
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /cars/v2.asmx HTTP/1.1
Host: services.onderdelenlijn.nl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://www.onderdelenlijn.nl/services/cars/v2.asmx/stock_row_get"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<stock_row_get xmlns="https://www.onderdelenlijn.nl/services/cars/v2.asmx">
<credentials>
<username>string</username>
<password>string</password>
</credentials>
<parameters>
<culture>nl or en or de or fr or es or pl</culture>
<vehicleid>long</vehicleid>
</parameters>
</stock_row_get>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<stock_row_getResponse xmlns="https://www.onderdelenlijn.nl/services/cars/v2.asmx">
<stock_row_getResult>
<response>
<status>int</status>
<messages>
<message xsi:nil="true" />
<message xsi:nil="true" />
</messages>
<milliseconds>int</milliseconds>
<sessionid>string</sessionid>
</response>
<parameters>
<culture>nl or en or de or fr or es or pl</culture>
<vehicleid>long</vehicleid>
</parameters>
<result>
<row>
<vehicleid>long</vehicleid>
<automateid>string</automateid>
<supplierid>int</supplierid>
<state>damaged or salvaged or occasion</state>
<makename>string</makename>
<modelname>string</modelname>
<modeltypeid>long</modeltypeid>
<price>string</price>
<priceexport>string</priceexport>
<pricetype>string</pricetype>
<weight>int</weight>
<insurance>boolean</insurance>
<motdate>string</motdate>
<remark>string</remark>
<electricwindows>short</electricwindows>
<slidingroofremark>string</slidingroofremark>
<enginecoderemark>string</enginecoderemark>
<interieurcoderemark>string</interieurcoderemark>
<paintfinishnumber>string</paintfinishnumber>
<paintfinishnumberremark>string</paintfinishnumberremark>
<carkeys>short</carkeys>
<carkeynumber>string</carkeynumber>
<remotecontrols>short</remotecontrols>
<remotecontrolsoriginal>short</remotecontrolsoriginal>
<properties xsi:nil="true" />
<features xsi:nil="true" />
<airbags xsi:nil="true" />
<seatbelts xsi:nil="true" />
<damages xsi:nil="true" />
<media xsi:nil="true" />
<parts>boolean</parts>
<aldocModelId>guid</aldocModelId>
<timestampcreated>string</timestampcreated>
<timestampchanged>string</timestampchanged>
<isOnline>boolean</isOnline>
</row>
<supplier>
<id>string</id>
<name>string</name>
<telephone xsi:nil="true" />
<fax xsi:nil="true" />
<address>string</address>
<zipcode>string</zipcode>
<city>string</city>
<province>string</province>
<country>string</country>
<email xsi:nil="true" />
<website>string</website>
</supplier>
<tvi>
<model xsi:nil="true" />
<type xsi:nil="true" />
<automatemakemodels xsi:nil="true" />
</tvi>
</result>
</stock_row_getResult>
</stock_row_getResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /cars/v2.asmx HTTP/1.1
Host: services.onderdelenlijn.nl
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<stock_row_get xmlns="https://www.onderdelenlijn.nl/services/cars/v2.asmx">
<credentials>
<username>string</username>
<password>string</password>
</credentials>
<parameters>
<culture>nl or en or de or fr or es or pl</culture>
<vehicleid>long</vehicleid>
</parameters>
</stock_row_get>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<stock_row_getResponse xmlns="https://www.onderdelenlijn.nl/services/cars/v2.asmx">
<stock_row_getResult>
<response>
<status>int</status>
<messages>
<message xsi:nil="true" />
<message xsi:nil="true" />
</messages>
<milliseconds>int</milliseconds>
<sessionid>string</sessionid>
</response>
<parameters>
<culture>nl or en or de or fr or es or pl</culture>
<vehicleid>long</vehicleid>
</parameters>
<result>
<row>
<vehicleid>long</vehicleid>
<automateid>string</automateid>
<supplierid>int</supplierid>
<state>damaged or salvaged or occasion</state>
<makename>string</makename>
<modelname>string</modelname>
<modeltypeid>long</modeltypeid>
<price>string</price>
<priceexport>string</priceexport>
<pricetype>string</pricetype>
<weight>int</weight>
<insurance>boolean</insurance>
<motdate>string</motdate>
<remark>string</remark>
<electricwindows>short</electricwindows>
<slidingroofremark>string</slidingroofremark>
<enginecoderemark>string</enginecoderemark>
<interieurcoderemark>string</interieurcoderemark>
<paintfinishnumber>string</paintfinishnumber>
<paintfinishnumberremark>string</paintfinishnumberremark>
<carkeys>short</carkeys>
<carkeynumber>string</carkeynumber>
<remotecontrols>short</remotecontrols>
<remotecontrolsoriginal>short</remotecontrolsoriginal>
<properties xsi:nil="true" />
<features xsi:nil="true" />
<airbags xsi:nil="true" />
<seatbelts xsi:nil="true" />
<damages xsi:nil="true" />
<media xsi:nil="true" />
<parts>boolean</parts>
<aldocModelId>guid</aldocModelId>
<timestampcreated>string</timestampcreated>
<timestampchanged>string</timestampchanged>
<isOnline>boolean</isOnline>
</row>
<supplier>
<id>string</id>
<name>string</name>
<telephone xsi:nil="true" />
<fax xsi:nil="true" />
<address>string</address>
<zipcode>string</zipcode>
<city>string</city>
<province>string</province>
<country>string</country>
<email xsi:nil="true" />
<website>string</website>
</supplier>
<tvi>
<model xsi:nil="true" />
<type xsi:nil="true" />
<automatemakemodels xsi:nil="true" />
</tvi>
</result>
</stock_row_getResult>
</stock_row_getResponse>
</soap12:Body>
</soap12:Envelope>