PartsApi
Click here for a complete list of operations.
PhysicalInventory
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 /PartsAPI.asmx HTTP/1.1
Host: ot.dms.dealertrack.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "opentrack.dealertrack.com/PhysicalInventory"
<?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>
<PhysicalInventory xmlns="opentrack.dealertrack.com">
<dealer>
<CompanyNumber>string</CompanyNumber>
<EnterpriseCode>string</EnterpriseCode>
<ServerName>string</ServerName>
</dealer>
<inventoryRequest>
<RecordKey>int</RecordKey>
<YellowPad>boolean</YellowPad>
<Sheets>
<PhysicalInventorySheet>
<SheetNumber>int</SheetNumber>
<Lines xsi:nil="true" />
</PhysicalInventorySheet>
<PhysicalInventorySheet>
<SheetNumber>int</SheetNumber>
<Lines xsi:nil="true" />
</PhysicalInventorySheet>
</Sheets>
<YPDetail>
<Manufacturer>string</Manufacturer>
<PartNumber>string</PartNumber>
<StockingGroup>string</StockingGroup>
<Description>string</Description>
<Cost>decimal</Cost>
<BinDetail>
<AssignBin>int</AssignBin>
<BinLoc1>string</BinLoc1>
<BinLoc2>string</BinLoc2>
<BinLoc3>string</BinLoc3>
<BinLoc4>string</BinLoc4>
<BinLoc5>string</BinLoc5>
<Count1>int</Count1>
<Count2>int</Count2>
<Count3>int</Count3>
<Count4>int</Count4>
<Count5>int</Count5>
<ShelfLoc1>string</ShelfLoc1>
<ShelfLoc2>string</ShelfLoc2>
<ShelfLoc3>string</ShelfLoc3>
<ShelfLoc4>string</ShelfLoc4>
<ShelfLoc5>string</ShelfLoc5>
</BinDetail>
</YPDetail>
</inventoryRequest>
</PhysicalInventory>
</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>
<PhysicalInventoryResponse xmlns="opentrack.dealertrack.com">
<PhysicalInventoryResult />
</PhysicalInventoryResponse>
</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 /PartsAPI.asmx HTTP/1.1
Host: ot.dms.dealertrack.com
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>
<PhysicalInventory xmlns="opentrack.dealertrack.com">
<dealer>
<CompanyNumber>string</CompanyNumber>
<EnterpriseCode>string</EnterpriseCode>
<ServerName>string</ServerName>
</dealer>
<inventoryRequest>
<RecordKey>int</RecordKey>
<YellowPad>boolean</YellowPad>
<Sheets>
<PhysicalInventorySheet>
<SheetNumber>int</SheetNumber>
<Lines xsi:nil="true" />
</PhysicalInventorySheet>
<PhysicalInventorySheet>
<SheetNumber>int</SheetNumber>
<Lines xsi:nil="true" />
</PhysicalInventorySheet>
</Sheets>
<YPDetail>
<Manufacturer>string</Manufacturer>
<PartNumber>string</PartNumber>
<StockingGroup>string</StockingGroup>
<Description>string</Description>
<Cost>decimal</Cost>
<BinDetail>
<AssignBin>int</AssignBin>
<BinLoc1>string</BinLoc1>
<BinLoc2>string</BinLoc2>
<BinLoc3>string</BinLoc3>
<BinLoc4>string</BinLoc4>
<BinLoc5>string</BinLoc5>
<Count1>int</Count1>
<Count2>int</Count2>
<Count3>int</Count3>
<Count4>int</Count4>
<Count5>int</Count5>
<ShelfLoc1>string</ShelfLoc1>
<ShelfLoc2>string</ShelfLoc2>
<ShelfLoc3>string</ShelfLoc3>
<ShelfLoc4>string</ShelfLoc4>
<ShelfLoc5>string</ShelfLoc5>
</BinDetail>
</YPDetail>
</inventoryRequest>
</PhysicalInventory>
</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>
<PhysicalInventoryResponse xmlns="opentrack.dealertrack.com">
<PhysicalInventoryResult />
</PhysicalInventoryResponse>
</soap12:Body>
</soap12:Envelope>