Hi,
i'm trying to find out if an item in sharePoint document library is checked out or not , if yes then the email of the checked out user using rest API as :
'/_api/web/lists/getbytitle('SampleDocuments')/items(itemId)$Select=FileLeafRef,BaseName,CheckoutUser/Id,CheckoutUser/EMail&$expand=CheckoutUser/Id'
strange problem is sometime i'm getting the value but sometime (mostly after checking out the file) even if it is checked out by the user i'm not getting value for CheckoutUser by rest api , any idea what is creating problem here would be a great help.