Get Hierarchy
Returns vertical hierarchy for the most specific product level provided along with links to those levelsParameters
Name | Type | Default | Description | Required | Other Required Field(s) | Notes |
---|---|---|---|---|---|---|
authkey | String | The authentication key assigned to validate requests | X | |||
supercategory | String | Supercategory given by GetCategories formatted as (id|name) "|name" is optional | A | |||
category | String | Category given by GetCategories formatted as (id|name) "|name" is optional | A | |||
parttype | String | PartType given by GetPartTypes formatted as (id|name) "|name" is optional | A | |||
productline | String | Product Line given by GetProductLines formatted as (id|name) "|name" is optional | A | |||
partnumber | String or Integer | Manufacturer Part Number | aaia OR linecode | A | ||
prefixed | Boolean | Indicates if the part number is prefixed with a custom manufacturer identifier. Expected part number format is prefix-partnumber | ||||
aaia | String | AAIA brand code | ||||
linecode | String | DCi 3 character line code | ||||
vehicleinfo | String | Vehicle string in Year|Make|Model|Submodel|Engine format | ||||
pqs | String | Any Part Qualifiers selected from the filters returned in this call seperated by commas ie(id|group|name,id|group|name) | requirepqsvqs=true | |||
vqs | String | Any Vehicle Qualifiers selected from the filters returned in this call seperated by commas ie(id|name,id|name) | requirepqsvqs=true | |||
univ | String | Return Universal Parts or Vehicle specific parts or All (U - Universal, V - Vehicle Specific, A - All) | ||||
requirepqsvqs | Boolean | False | True or False, will be making calls that include PQs or VQs | |||
itemsPerPage | Integer | 50 | The number of items to return per page | |||
imgsize | Integer | 72 | The max dimension of the image to be returned in pixels | |||
format | String | JSON | Either JSON or XML |
A - One of these fields are required
Sample Code
$.getJSON("http://api.v12.estore.catalograck.com/API/Lookup/GetHierarchy?authkey=&partnumber=9706-3-02&linecode=WRG&format=json", function (msg) { $.each(msg, function() { console.log(this); }) });XML: Sample Call
JSON: Sample Call