Examples for Repair Tasks
A few examples available in the Project-specific domain for Repair Tasks are as follows:
Getting Repair Tasks 
To get Repair Tasks records, use the following GET URL.
URL
GET /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/Systems(Systemid)/MaintainabilityDatas(<MaintainabilityDataID>)/RepairTasks
Getting specific Repair Tasks 
To get details for a specific Repair Tasks record, use the following GET URL.
URL
GET /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/Systems(<systemid)/MaintainabilityDatas(<MaintainabilityDataID>)/RepairTasks(<RepairTasksID>)
Updating Repair Tasks 
To update details for Repair Tasks use the following PATCH URL.
URL
PATCH /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/Systems(<systemID>)/MaintainabilityDatas(MaintainabilityDataID)/RepairTasks(<RepairTasksID>)
Request Body
{
"TaskIdentifier":"Task1",
"TaskCode": "A",
"TasksQty ": 3,
"TaskFrequency":12,
"Remarks":"Update RepairTasks"
}
Creating Repair Tasks 
To create a Repair Tasks record, use the following POST URL.
URL
POST /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/Systems(<systemID>)/MaintainabilityDatas(<MaintainabilityDataID>)/RepairTasks
Request Body
{
"TaskIdentifier":"Task1",
"TaskCode": "A",
"TasksQty ": 3,
"TaskFrequency":12,
"Remarks":"Create RepairTasks"
}
Deleting Repair Tasks 
To delete a Repair Tasks record, use the following DELETE URL.
URL
DELETE /WindchillRiskAndReliability12.0-REST/odata/Project_<projectID>/Systems(<systemID>)/MaintainabilityDatas(<MaintainabilityDataID>)/RepairTasks(<RepairTasksID>)