Skip to content

Get workshop orders

[ GET ] warehouse/workshopInformation/:vin

Get all workshop information regarding a specific VIN

{
    "data": [
        {
            "VIN": string,
            "STATUS": string,
            "CREATEDDATE": date,
            "DESCRIPTION": string,
            "DEADLINE": date,
            "CUSTOMERNUMBER": string
        }
    ]
}
<?php
    $ch = curl_init();

    curl_setopt_array($ch, [
        CURLOPT_URL => 'YOUR-BASEURL/warehouse/workshopInformation/:vin']),
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => '',
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 0,
        CURLOPT_FOLLOWLOCATION => true,
        CURLOPT_HTTPHEADER => [
            'X-Api-Key: YOUR-API-KEY'
        ],
    ]);

    $response = curl_exec($ch);

    curl_close($ch);
const axios = require('axios');

axios.get('YOUR-BASEURL/warehouse/workshopInformation/:vin', 
    headers: {
        'X-Api-Key': 'YOUR-API-KEY'
    }
})
.then(response => {
    console.log(response.data);
})
.catch(error => {
    console.error(error);
});