Examples for System Tree Item
A few examples available in the Project-specific domain for system tree items are as follows:
Getting System Tree Items 
To get System Tree Items for a project in Windchill Risk and Reliability, use the following GET URL.
URL
GET /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/Systems(<systemID>)/TreeItems
Getting Specific System Tree Items 
To get specific System Tree Item for a project in Windchill Risk and Reliability, use the following GET URL.
URL
GET /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/Systems(<systemID>)/TreeItems(<treeitemID>)
Getting Configuration System Tree Items 
To get the system tree items for a specific configuration for a project in Windchill Risk and Reliability, use the following GET URL.
URL
GET /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/Systems(<systemID>)/Configurations(<configurationID>)/SystemTreeItems?$select=ID,ParentID,SystemTreeIdentifier
Creating a System Tree Item 
To create the System Tree Items for a project in Windchill Risk and Reliability, use the following POST URL.
URL
POST /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/Systems(<systemID>)/TreeItems
Request Body
{
"ParentID": "<parent tree item id>",
"IsPart": true/false
}
* 
The ParentID must be an assembly tree item in the system tree associated to the containing system.
Updating a SystemTreeItem 
To update the System Tree Items for a project in Windchill Risk and Reliability, use the following PATCH URL.
URL
PATCH /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/Systems(<systemID>)/TreeItems(<treeitemID>)
Request Body
{
"ParentID": "<parent tree item id>",
}
* 
The ParentID must be an assembly tree item in the system tree associated to the containing system.
Deleting a SystemTreeItem 
To delete the System Tree Items for a project in Windchill Risk and Reliability, use the following DELETE URL.
URL
DELETE /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/Systems(<systemID>)/TreeItems(<treeitemID>)