Examples for List Definition
A few examples available in the Project-specific domain for list definition are as follows:
Getting List Definitions 
To get List Definitions for a project in Windchill Risk and Reliability, use the following GET URL.
URL
GET /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/ListLibraries(<listlibraryID>)/ListDefinitions
Getting List Definition for a Specific List Library 
To get List Definitions for a specific List Library for a project, use the following GET URL.
URL
GET /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/ListLibraries(<listlibraryID>)?$expand=ListDefinitions
Updating List Definition 
To update a List Definition for a project in Windchill Risk and Reliability, use the following PATCH URL.
URL
PATCH /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/ListLibraries(<listlibraryID>)/ListDefinitions(<listdefinitionsID>)
Request Body
{
"DisplayText": "Test_3",
"NonOverridable": "false"
}
Creating List Definition 
To create a List Definition for a project in Windchill Risk and Reliability, use the following POST URL.
URL
POST /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/ListLibraries(<listlibraryID>)/ListDefinitions
Request Body
{
"Code": "TEST_1",
"DisplayText": "Test_1",
"NonOverridable": true,
"Remarks": "listdef"
}
Deleting List Definition 
To delete a List Definition for a project in Windchill Risk and Reliability, use the following DELETE URL.
URL
DELETE /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/ListLibraries(<listlibraryID>)/ListDefinitions(<listdefinitionsID>)