Windchill REST Services > Windchill REST Services Domain Capabilities > Examples for Basic REST Operations > Examples for the PTC Product Management Domain > Retrieving the Components List for a Part Structure
  
Retrieving the Components List for a Part Structure
* 
The GetPartsList action is deprecated and will be removed in a future release of Windchill REST Services. PTC recommends that you use the GetMultiLevelComponentsReport action instead.
This example shows you how to retrieve a components list for a part structure with the action GetPartsList and by expanding navigation properties Part and PartUses. Use the following POST request.
URI
POST /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:12345')/PTC.ProdMgmt.GetPartsList?$expand=Part,PartUses HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Accept: application/json;odata.metadata=full