How to get display name and internal fields name of List of SharePoint by using Rest API of SharePoint

Sudhakar 20 Reputation points
2024-03-26T09:28:42.05+00:00

What is the SharePoint Rest API which fetch the display name and internal name of the List object of SharePoint Online?

Note: We are not using the graph API So please share the rest API in context of SharePoint.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,206 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,560 questions
0 comments No comments
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 30,751 Reputation points Microsoft Vendor
    2024-03-27T02:39:07.94+00:00

    Hi @Sudhakar,

    Per my test, you could use following api to get internal name and display name

    https://xxx.sharepoint.com/sites/xiexin/_api/web/lists/GetByTitle('Document%20Lib')?$select=EntityTypeName,Title
    

    User's image

    The EntityTypeName is the internal name of the list and the Title is the display name of the list


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful