Creating a Pending Effectivity for a Resulting Object
This example shows you how to create a pending date effectivity for a resulting object. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/ChangeMgmt/ChangeTasks('VR%3Awt.change2.WTChangeActivity2%3A248697')/ResultingLinks('OR:wt.change2.ChangeRecord2:248724')/PendingEffectivities
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"@odata.type": "#PTC.ChangeMgmt.PendingDateEffectivity",
"EffectivityQualifier": {
"@odata.type": "#PTC.EnumType",
"Value": "EXACT",
"Display": "Exact"
},
"PendingDateRange": {
"StartDate": "2021-03-22T06:41:09-08:00",
"EndDate": "2021-03-25T06:41:09-08:00"
}
}
Was this helpful?