Hi We are using sharePoint rest api and we want to retrieve the Modified By,created By column metadata value. I tried the below options in my REST Endpoint $expand =modified by but not getting this metadata information.
Hi @Vivek Rajan
The API will return AuthorId and EditorId by default, which contain the ID of the user that created and edited the item.
If you want to return expanded properties of the user, you have to include Author and Editor on the expand parameter:
You can then select user properties like the example below
Also, be aware that the properties are case sensitive. For example, email needs to be "EMail"
Hope this helps