Custom metadata names are retrieved differently for List endpoint vs file endpoint
1.
when we are calling rest api = "/_api/Web/GetFileById('" + fileGuid + "')/ListItemAllFields"
output =
singlevaluegroup
lookupsltext
lookupnum
lookupdate
2
when we are calling rest api = "/_api/Web/Lists(guid'listGuid')/Fields"
output =
SingleValueGroupId,
SingleValueGroupStringId,
LookupSltextId,
LookupnumId,
lookupDateId,
"Id" and "StringId" is appended in second rest call. Kindly explain why does this happen
