Creating a Standalone Change Notice
|
The CreateChangeNoticeHierarchy action is deprecated and will be removed in a future release of Windchill REST Services.
|
You can create a standalone change notice by providing the required attributes in the body of the request. To create a change notice you must have create permissions.
URI
POST /Windchill/servlet/odata/ChangeMgmt/CreateChangeNoticeHierarchy
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"ChangeNotice": {
"Name": "ChangeNoticeWRS5",
"Description": "desc",
"EstimatedStartDate": "2021-03-25T12:46:39+05:30",
"ChangeNoticeComplexity": {
"Value": "SIMPLE",
"Display": "Fast Track"
},
"Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:109874')",
"@odata.type": "#PTC.ChangeMgmt.SoftChangeNotice"
},
"ChangeTask": [
{
"Name": "ChangeTaskWRS1",
"@odata.type": "#PTC.ChangeMgmt.SoftChangeTask",
"CTGlobalSingleValuedSoftAttribute": "SoftVal_CT"
},
{
"Name": "ChangeTaskWRS2",
"@odata.type": "#PTC.ChangeMgmt.SoftChangeTask",
"CTGlobalSingleValuedSoftAttribute": "SoftVal_CT"
}
]
}