Retrieving Parts
You can retrieve all available parts in a single call or retrieve a specific part.
For additional endpoints used for retrieving supplier parts, see the example topic, Retrieving Supplier, Manufacturer, and Vendor Parts.
For more information about the entities available in the Product Management domain, see the PTC Product Management Domain topic.
Example: Retrieving All Parts
The following example demonstrates how to retrieve all available parts.
Use the following GET URI:
URI
GET /Windchill/servlet/odata/ProdMgmt/Parts
Example: Retrieving a Specific Part
The following example demonstrates how to retrieve a specific part by specifying the part OID in the request URI.
Use the following GET URI:
URI
GET /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:280403')
Example: Retrieving a Specific Supplier Part
The following example demonstrates how to retrieve a specific supplier part by specifying the manufacturer part OID in the request URI.
Use the following GET URI:
URI
GET /Windchill/servlet/odata/ProdMgmt/Parts('OR:com.ptc.windchill.suma.part.ManufacturerPart:279072')
War dies hilfreich?