GET inventory/{apiKey}/all?IDFrom={IDFrom}&IDTo={IDTo}&DateFrom={DateFrom}&DateTo={DateTo}&GetJpg={GetJpg}&Label={Label}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idfrom | integer |
None. |
|
idto | integer |
None. |
|
datefrom | date |
None. |
|
dateto | date |
None. |
|
getJpg | boolean |
None. |
|
label | string |
None. |
|
apiKey | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of PartDetailName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
long_title | string |
None. |
|
breadcrumbs | Collection of Breadcrumb |
None. |
|
slug | string |
None. |
|
locations | Collection of PartLocationList |
None. |
|
stock_number | string |
None. |
|
images | Collection of string |
None. |
|
image_dates | Collection of string |
None. |
|
videos | Collection of ItemVideo |
None. |
|
condition | string |
None. |
|
description | string |
None. |
|
price | decimal number |
None. |
|
price_notes | string |
None. |
|
part_type_id | integer |
None. |
|
part_type | string |
None. |
|
custom_part_type | string |
None. |
|
quantity | integer |
None. |
|
fields | Dictionary of string [key] and string [value] |
None. |
|
labels | Collection of string |
None. |
|
is_active | boolean |
None. |
|
truck | TruckInformation |
None. |
|
display_type | string |
None. |
|
custom_fields | Dictionary of string [key] and string [value] |
None. |
|
shipping_info | ShippingInfo |
None. |
|
status | string |
None. |
|
request_length | decimal number |
None. |
|
message | string |
None. |
|
ipaddress | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "long_title": "sample string 2", "breadcrumbs": [ { "Order": 1, "Title": "sample string 2", "QueryParameter": "sample string 3" }, { "Order": 1, "Title": "sample string 2", "QueryParameter": "sample string 3" } ], "slug": "sample string 3", "locations": [ { "location": "sample string 1" }, { "location": "sample string 1" } ], "stock_number": "sample string 4", "images": [ "sample string 1", "sample string 2" ], "image_dates": [ "sample string 1", "sample string 2" ], "videos": [ { "thumbnail_url": "sample string 1", "video_url": "sample string 2" }, { "thumbnail_url": "sample string 1", "video_url": "sample string 2" } ], "condition": "sample string 5", "description": "sample string 6", "price": 7.0, "price_notes": "sample string 8", "part_type_id": 9, "part_type": "sample string 10", "custom_part_type": "sample string 11", "quantity": 12, "fields": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "labels": [ "sample string 1", "sample string 2" ], "is_active": true, "truck": { "truck_id": 1, "lot_number": "sample string 2", "location": "sample string 3" }, "display_type": "sample string 14", "custom_fields": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "shipping_info": { "part_length": 1.0, "part_width": 1.0, "part_height": 1.0, "part_weight": 1.0, "is_average": true }, "status": "sample string 15", "request_length": 16.1, "message": "sample string 17", "ipaddress": "sample string 18" }, { "id": 1, "long_title": "sample string 2", "breadcrumbs": [ { "Order": 1, "Title": "sample string 2", "QueryParameter": "sample string 3" }, { "Order": 1, "Title": "sample string 2", "QueryParameter": "sample string 3" } ], "slug": "sample string 3", "locations": [ { "location": "sample string 1" }, { "location": "sample string 1" } ], "stock_number": "sample string 4", "images": [ "sample string 1", "sample string 2" ], "image_dates": [ "sample string 1", "sample string 2" ], "videos": [ { "thumbnail_url": "sample string 1", "video_url": "sample string 2" }, { "thumbnail_url": "sample string 1", "video_url": "sample string 2" } ], "condition": "sample string 5", "description": "sample string 6", "price": 7.0, "price_notes": "sample string 8", "part_type_id": 9, "part_type": "sample string 10", "custom_part_type": "sample string 11", "quantity": 12, "fields": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "labels": [ "sample string 1", "sample string 2" ], "is_active": true, "truck": { "truck_id": 1, "lot_number": "sample string 2", "location": "sample string 3" }, "display_type": "sample string 14", "custom_fields": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "shipping_info": { "part_length": 1.0, "part_width": 1.0, "part_height": 1.0, "part_weight": 1.0, "is_average": true }, "status": "sample string 15", "request_length": 16.1, "message": "sample string 17", "ipaddress": "sample string 18" } ]
text/xml
Sample:
<ArrayOfpart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPI.API.Models"> <part> <ipaddress>sample string 18</ipaddress> <message>sample string 17</message> <request_length>16.1</request_length> <status>sample string 15</status> <breadcrumbs xmlns:d3p1="http://schemas.datacontract.org/2004/07/TPI.Business"> <d3p1:Breadcrumb> <d3p1:Order>1</d3p1:Order> <d3p1:QueryParameter>sample string 3</d3p1:QueryParameter> <d3p1:Title>sample string 2</d3p1:Title> </d3p1:Breadcrumb> <d3p1:Breadcrumb> <d3p1:Order>1</d3p1:Order> <d3p1:QueryParameter>sample string 3</d3p1:QueryParameter> <d3p1:Title>sample string 2</d3p1:Title> </d3p1:Breadcrumb> </breadcrumbs> <condition>sample string 5</condition> <custom_fields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfstringstring> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfstringstring> </custom_fields> <custom_part_type>sample string 11</custom_part_type> <description>sample string 6</description> <display_type>sample string 14</display_type> <fields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfstringstring> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfstringstring> </fields> <id>1</id> <image_dates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </image_dates> <images xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </images> <is_active>true</is_active> <labels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </labels> <locations> <locations> <location>sample string 1</location> </locations> <locations> <location>sample string 1</location> </locations> </locations> <long_title>sample string 2</long_title> <part_type>sample string 10</part_type> <part_type_id>9</part_type_id> <price>7</price> <price_notes>sample string 8</price_notes> <quantity>12</quantity> <shipping_info> <is_average>true</is_average> <part_height>1</part_height> <part_length>1</part_length> <part_weight>1</part_weight> <part_width>1</part_width> </shipping_info> <slug>sample string 3</slug> <stock_number>sample string 4</stock_number> <truck> <location>sample string 3</location> <lot_number>sample string 2</lot_number> <truck_id>1</truck_id> </truck> <videos> <video> <thumbnail_url>sample string 1</thumbnail_url> <video_url>sample string 2</video_url> </video> <video> <thumbnail_url>sample string 1</thumbnail_url> <video_url>sample string 2</video_url> </video> </videos> </part> <part> <ipaddress>sample string 18</ipaddress> <message>sample string 17</message> <request_length>16.1</request_length> <status>sample string 15</status> <breadcrumbs xmlns:d3p1="http://schemas.datacontract.org/2004/07/TPI.Business"> <d3p1:Breadcrumb> <d3p1:Order>1</d3p1:Order> <d3p1:QueryParameter>sample string 3</d3p1:QueryParameter> <d3p1:Title>sample string 2</d3p1:Title> </d3p1:Breadcrumb> <d3p1:Breadcrumb> <d3p1:Order>1</d3p1:Order> <d3p1:QueryParameter>sample string 3</d3p1:QueryParameter> <d3p1:Title>sample string 2</d3p1:Title> </d3p1:Breadcrumb> </breadcrumbs> <condition>sample string 5</condition> <custom_fields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfstringstring> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfstringstring> </custom_fields> <custom_part_type>sample string 11</custom_part_type> <description>sample string 6</description> <display_type>sample string 14</display_type> <fields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfstringstring> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfstringstring> </fields> <id>1</id> <image_dates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </image_dates> <images xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </images> <is_active>true</is_active> <labels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </labels> <locations> <locations> <location>sample string 1</location> </locations> <locations> <location>sample string 1</location> </locations> </locations> <long_title>sample string 2</long_title> <part_type>sample string 10</part_type> <part_type_id>9</part_type_id> <price>7</price> <price_notes>sample string 8</price_notes> <quantity>12</quantity> <shipping_info> <is_average>true</is_average> <part_height>1</part_height> <part_length>1</part_length> <part_weight>1</part_weight> <part_width>1</part_width> </shipping_info> <slug>sample string 3</slug> <stock_number>sample string 4</stock_number> <truck> <location>sample string 3</location> <lot_number>sample string 2</lot_number> <truck_id>1</truck_id> </truck> <videos> <video> <thumbnail_url>sample string 1</thumbnail_url> <video_url>sample string 2</video_url> </video> <video> <thumbnail_url>sample string 1</thumbnail_url> <video_url>sample string 2</video_url> </video> </videos> </part> </ArrayOfpart>