Api Documentation

This documentation covers both the auto glass quote widget and the REST API. The later can be used for deeper integration into your website, while the widget is useful for auto glass shops that are looking for a simple solution that doesn't require a software developer.

Regardless of which solution you use, please email support@windshieldrepairtech.com a request for access. Usage of these tools is free as long as proper attribution in the form of an image link is used in your website or application.

Rest Overview

The restful webservice provided by WindshieldRepairTech can be used to access vehicle year, make, model, and body style information. Assuming you've requested and received access, requests are made using HTTP GET with an API KEY included as a GET parameter. Requests should follow REST best practices including url encoding all paramters (e.g. A8 Quattro would be sent as a8+quattro or a8%20quattro).

Example Request

http://api.windshieldrepairtech.com/vehicle/v1/years/?format=json&key=d41d8cd98f00b204e9800998ecf8427e

Currently format is not required as only JSON responses are supported.

Example Response

{
  "status": "success",
  "data": [
    
  ]
}

Example Error Response

{
  "status":  "error",
  "message": "Invalid API Key"
}

Years

Use the years endpoint to request a list of years that vehicles were produced in.

Example Request

http://api.windshieldrepairtech.com/vehicle/v1/years/?format=json&key=d41d8cd98f00b204e9800998ecf8427e

Example Response

{
  "status": "success",
  "data": [
    {
      "year": "2016"
    },
    {
      "year": "2015"
    },
  ]
}

Note, full response has been truncated.

Makes

Use the makes endpoint to request a list of makes for a given year.

Example Request

http://api.windshieldrepairtech.com/vehicle/v1/makes/2014?format=json&key=d41d8cd98f00b204e9800998ecf8427e

Example Response

{
  "status": "success",
  "data": [
    {
      "make": "Acura"
    },
    {
      "make": "Audi"
    },
  ]
}

Note, full response has been truncated.

Models

Use the models endpoint to request a list of makes for a given year and make.

Example Request

http://api.windshieldrepairtech.com/vehicle/v1/models/2014/acura?format=json&key=d41d8cd98f00b204e9800998ecf8427e

Example Response

{
  "status": "success",
  "data": [
    {
      "make": "Acura"
    },
    {
      "make": "Audi"
    },
  ]
}

Note, full response has been truncated.

Body Styles

Use the body endpoint to request a list of body styles for a given year, make, and model.

Example Request

http://api.windshieldrepairtech.com/vehicle/v1/body/2014/acura/tl?format=json&key=d41d8cd98f00b204e9800998ecf8427e

Example Response

{
  "status": "success",
  "data": [
    {
      "body": "Sedan",
      "doors": "4",
    },
  ]
}

Note, full response has been truncated.