http://www.parts-depot.com/parts
This results in returning a list of parts, conforming to the Parts.xsd schema. Here is a sample parts list XML document (browser clients see here to see the styled view):
There are several things to note:1. There is no reference to the schema that this document conforms to. The reason for this is security. Here is the schemaLocation that this conforms to:
http://www.parts-industries-consortium.org/parts.xsd
2. This document simply contains a list of part IDs. Detailed information about any part may be found by traversing the xlink hyperlink (xlink is the XML hyperlinking technology)
http://www.parts-depot.com/parts/00345
This results in returning detailed information about the part with ID=00345. The document returned conforms to the Part.xsd schema. Here is a sample XML document for this part (browser clients see here to see the styled view):
Notes:1. The URL for a part is formed by taking the part ID and appending it to "part/". That is,
http://www.parts-depot.com/parts/partID
2. As of this writing, the partID's range from 00345 to 00356. However, it is always best to first get the parts list, as the parts we carry is continually changing.
http://www.parts-depot.com/parts/00345/specification
This results in returning the spec for the part with ID=00345. The document returned conforms to the Specification.xsd schema. Here is a sample XML document for this spec (browser clients see here to see the styled view):
Notes:1. The URL for a part spec is formed by appending "/specification" to the part ID. That is,
http://www.parts-depot.com/parts/partID/specification
2. As of this writing, the partID's range from 00345 to 00356. However, it is always best to first get the parts list, as the parts we carry is continually changing.
Description | Access URL | Conforming schema | Notes |
---|---|---|---|
Get a list of parts | http://www.parts-depot.com/parts | http://www.parts-industries-consortium.org/parts.xsd | The document returned contains links to each part. Follow the links for more detailed information about a part |
Get details on a part | http://www.parts-depot.com/parts/partID | http://www.parts-industries-consortium.org/part.xsd | For partID specify the ID for the part desired. See the parts list for a complete list of ids |
Get a part specification | http://www.parts-depot.com/parts/partID/specification | http://www.parts-industries-consortium.org/specification.xsd | For partID specify the ID for the part desired. See the parts list for a complete list of ids |
Error messages conform to the industry-defined schema: http://www.parts-industries-consortium.org/errors.xsd
Last updated: August 7, 2002