carsv2
Click here for a complete list of operations.
stock_rows_get
Get available car stock
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_rows_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_rows_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>
<makename>string</makename>
<modelname>string</modelname>
<state>
<vehiclestate>damaged or salvaged or occasion</vehiclestate>
<vehiclestate>damaged or salvaged or occasion</vehiclestate>
</state>
<supplierids>
<int>int</int>
<int>int</int>
</supplierids>
<pageindex>int</pageindex>
<pagesize>int</pagesize>
<sort>
<propertyid>string</propertyid>
<direction>ascending or descending</direction>
</sort>
<filters>
<propertyfilter>
<propertyid>string</propertyid>
<condition>equals or smaller or greater or between</condition>
<values xsi:nil="true" />
</propertyfilter>
<propertyfilter>
<propertyid>string</propertyid>
<condition>equals or smaller or greater or between</condition>
<values xsi:nil="true" />
</propertyfilter>
</filters>
<showcount>boolean</showcount>
<showsuppliers>boolean</showsuppliers>
<showtvi>boolean</showtvi>
<aldocModelIds>
<guid>guid</guid>
<guid>guid</guid>
</aldocModelIds>
</parameters>
</stock_rows_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_rows_getResponse xmlns="https://www.onderdelenlijn.nl/services/cars/v2.asmx">
<stock_rows_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>
<makename>string</makename>
<modelname>string</modelname>
<state>
<vehiclestate>damaged or salvaged or occasion</vehiclestate>
<vehiclestate>damaged or salvaged or occasion</vehiclestate>
</state>
<supplierids>
<int>int</int>
<int>int</int>
</supplierids>
<pageindex>int</pageindex>
<pagesize>int</pagesize>
<sort>
<propertyid>string</propertyid>
<direction>ascending or descending</direction>
</sort>
<filters>
<propertyfilter xsi:nil="true" />
<propertyfilter xsi:nil="true" />
</filters>
<showcount>boolean</showcount>
<showsuppliers>boolean</showsuppliers>
<showtvi>boolean</showtvi>
<aldocModelIds>
<guid>guid</guid>
<guid>guid</guid>
</aldocModelIds>
</parameters>
<result>
<count>
<stockrowscountstate xsi:nil="true" />
<stockrowscountstate xsi:nil="true" />
</count>
<rows>
<stockrow xsi:nil="true" />
<stockrow xsi:nil="true" />
</rows>
<suppliers>
<supplier xsi:nil="true" />
<supplier xsi:nil="true" />
</suppliers>
<tvi>
<tviextensive xsi:nil="true" />
<tviextensive xsi:nil="true" />
</tvi>
</result>
</stock_rows_getResult>
</stock_rows_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_rows_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>
<makename>string</makename>
<modelname>string</modelname>
<state>
<vehiclestate>damaged or salvaged or occasion</vehiclestate>
<vehiclestate>damaged or salvaged or occasion</vehiclestate>
</state>
<supplierids>
<int>int</int>
<int>int</int>
</supplierids>
<pageindex>int</pageindex>
<pagesize>int</pagesize>
<sort>
<propertyid>string</propertyid>
<direction>ascending or descending</direction>
</sort>
<filters>
<propertyfilter>
<propertyid>string</propertyid>
<condition>equals or smaller or greater or between</condition>
<values xsi:nil="true" />
</propertyfilter>
<propertyfilter>
<propertyid>string</propertyid>
<condition>equals or smaller or greater or between</condition>
<values xsi:nil="true" />
</propertyfilter>
</filters>
<showcount>boolean</showcount>
<showsuppliers>boolean</showsuppliers>
<showtvi>boolean</showtvi>
<aldocModelIds>
<guid>guid</guid>
<guid>guid</guid>
</aldocModelIds>
</parameters>
</stock_rows_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_rows_getResponse xmlns="https://www.onderdelenlijn.nl/services/cars/v2.asmx">
<stock_rows_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>
<makename>string</makename>
<modelname>string</modelname>
<state>
<vehiclestate>damaged or salvaged or occasion</vehiclestate>
<vehiclestate>damaged or salvaged or occasion</vehiclestate>
</state>
<supplierids>
<int>int</int>
<int>int</int>
</supplierids>
<pageindex>int</pageindex>
<pagesize>int</pagesize>
<sort>
<propertyid>string</propertyid>
<direction>ascending or descending</direction>
</sort>
<filters>
<propertyfilter xsi:nil="true" />
<propertyfilter xsi:nil="true" />
</filters>
<showcount>boolean</showcount>
<showsuppliers>boolean</showsuppliers>
<showtvi>boolean</showtvi>
<aldocModelIds>
<guid>guid</guid>
<guid>guid</guid>
</aldocModelIds>
</parameters>
<result>
<count>
<stockrowscountstate xsi:nil="true" />
<stockrowscountstate xsi:nil="true" />
</count>
<rows>
<stockrow xsi:nil="true" />
<stockrow xsi:nil="true" />
</rows>
<suppliers>
<supplier xsi:nil="true" />
<supplier xsi:nil="true" />
</suppliers>
<tvi>
<tviextensive xsi:nil="true" />
<tviextensive xsi:nil="true" />
</tvi>
</result>
</stock_rows_getResult>
</stock_rows_getResponse>
</soap12:Body>
</soap12:Envelope>