Skip to main content
8-Gravel
April 16, 2025
Solved

Get Checked Out Objects using REST API

  • April 16, 2025
  • 1 reply
  • 1045 views

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

Best answer by Fadel

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 

 

1 reply

12-Amethyst
April 17, 2025

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

 

8-Gravel
April 18, 2025

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

Fadel
Fadel23-Emerald IAnswer
23-Emerald I
April 18, 2025

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 

 

Buiꓘa