cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Translate the entire conversation x

Get Checked Out Objects using REST API

OP_11714882
8-Gravel

Get Checked Out Objects using REST API

Version: Windchill 12.1

 

Use Case: Get Checked out documents by a User.


Description:

Is there any OOTB way to GET checked out objects of a subtype (for eg. WTDocument) by a specific user?
I don't want to create a custom endpoint

ACCEPTED SOLUTION

Accepted Solutions
Fadel
23-Emerald I
(To:OP_11714882)

These attributes are not serachable , generally its for non-persistable attributes or when it may cause performance issues :

Fadel_0-1744977836384.png

Alternatively you can prepare a qml report or a saved search  and the call the search/report using REST 

 

Fede

View solution in original post

5 REPLIES 5

You can use /DocMgmt/Documents REST API to get checkout documents using $filter with CheckoutStatus field and you can get the checked out by in the feild CheckoutState in your response. you can play around with that in your code based on requirement

 

When I apply filter to the CheckoutStatus of the CheckoutState fields, it says that these properties are Non-Filterable Properties. 

Fadel
23-Emerald I
(To:OP_11714882)

These attributes are not serachable , generally its for non-persistable attributes or when it may cause performance issues :

Fadel_0-1744977836384.png

Alternatively you can prepare a qml report or a saved search  and the call the search/report using REST 

 

Fede

Yes. Thank You!

 

Fadel
23-Emerald I
(To:OP_11714882)

You may take a look at https://www.ptc.com/en/support/article/CS35948  for some QML reports templates to fetch checked out objects 

Fede
Announcements

Top Tags