Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi!
I am trying to resolve a container id from an existing Change Task and it seems that the response body of https://support.ptc.com/help/windchill_rest_services/r2.4/en/#page/windchill_rest_services/wccg_restapiaccessexamplesgetchangetask.html
does not contain the location (container) where this change task was created.
Please help me find an API that can be used to resolve the container ID when the Change Task ID is known.
Solved! Go to Solution.
I figured out 🙂
If you have Change Task Number like "4MEC00003009" use GET: ChangeMgmt/ChangeTasks?$filter=(Number eq '4MEC00003009')&$select=ChangeNoticeReference from this response you can find "ResourceID" ( content: ....ChangeMgmt/ChangeNotices('OR:wt.change2.WTChangeOrder2:170400584')
) which is pointing to "Change Notice" where Change Task is created. Next Get Change Notice by ID and from response body find
I figured out 🙂
If you have Change Task Number like "4MEC00003009" use GET: ChangeMgmt/ChangeTasks?$filter=(Number eq '4MEC00003009')&$select=ChangeNoticeReference from this response you can find "ResourceID" ( content: ....ChangeMgmt/ChangeNotices('OR:wt.change2.WTChangeOrder2:170400584')
) which is pointing to "Change Notice" where Change Task is created. Next Get Change Notice by ID and from response body find