Example List Choice
A few examples available in the Project-specific domain for list choice are as follows:
Getting List Choice with Filter Query 
To get List Choice, using filter query, for a project in Windchill Risk and Reliability, use the following GET URL.
URL
GET /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/ListLibraries(<listlibraryID>)/ListDefinitions(<listdefinitionID>)/ListChoices?$filter=Hidden eq false & $count=true
Getting specific List Choice 
To get specific List Choice for a project in Windchill Risk and Reliability, use the following GET URL.
URL
GET /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/ListLibraries(<listlibraryID>)/ListDefinitions(<listdefinitionID>)/ListChoices(<listchoiceID>)
Updating List Choice 
To update a List Choice for a project in Windchill Risk and Reliability, use the following PATCH URL.
URL
PATCH /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/ListLibraries(<listlibraryID>)/ListDefinitions(<listdefinitionID>)/ListChoices(<listchoiceID>)
Request Body
{
"Code": "AIJ",
"DisplayText": "AIJ",
"Hidden":false,
"Remarks":"List_Choice_1_updated",
"Value":123

}
Creating List Choice 
To create a List Choice for a project in Windchill Risk and Reliability, use the following POST URL.
URL
POST /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/ListLibraries(<listlibraryID>)/ListDefinitions(<listdefinitionID>)/ListChoices
Request Body
{
"Code": "ASH",
"DisplayText": "Ash",
"Hidden":false,
"Remarks":"List_Choice_1_updated",
"Value":123
}
Deleting List Choice 
To delete a List Choice for a project in Windchill Risk and Reliability, use the following DELETE URL.
URL
DELETE /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/ListLibraries(<listlibraryID>)/ListDefinitions(<listdefinitionID>)/ListChoices(<listchoiceID>)