Forum Discussion
ra1449
Jun 08, 2021Copper Contributor
API call to get document properties and the checked out to display name and email
I'm using /_api/web/lists/getbytitle('myLibrary')/items?$select=CheckoutUserId in an ajax function. I need the checked out to display name and email instead of the CheckoutUserId. I tried appendin...
ra1449
Jun 11, 2021Copper Contributor
I figured it out....
https://yourTenant.sharepoint.com/sites/yourSite/_api/web/lists/getbytitle('yourLibrary')/items?$select=CheckoutUser/Title,CheckoutUser/EMail&$expand=CheckoutUser/Id
https://yourTenant.sharepoint.com/sites/yourSite/_api/web/lists/getbytitle('yourLibrary')/items?$select=CheckoutUser/Title,CheckoutUser/EMail&$expand=CheckoutUser/Id