REST call on WTPart Checkout results in Error
Hello,
I did some REST 1.5 API tests in Postman and things do look good.
However, I found some problems which I cannot explain. For example, I am unable to do Checkout/Checkin on WTpart.
I created new WTPart and tried to do Checkout via REST call, someting like that:
http://tomazj-wnc11.audax2.local/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:1462146')/PTC.CheckOut
Exactly like in Windchill REST Services Userโs Guide v1.5, page 167.
I used POST call, I got current CSRF_NONCE.
Return JSON is :
{
"error": {
"code": null,
"message": "The type of the type cast 'PTC.CheckOut' is not defined."
}
}
MS log error is:
2019-06-14 10:58:43,931 ERROR [ajp-nio-127.0.0.1-8010-exec-2] com.ptc.odata.windchill.servlet.WcRestServlet wcadmin - An unexpected REST error occured Type 'PTC.CheckOut' not found.
It looks like there is something wrong with my REST implementation in Windchill. I got v1.5 via 11.0 M030 CPS 15 install.
I authenticate in Windchill as wcadmin.
Any ideas?
Regards.




