2

Getting list items from my SP online list is not a problem, but I am trying to get the column title. I have a column called Name and would like to get the title so it appears above list items.

Javascript.

3
  • In c# or javascript? Commented Sep 18, 2015 at 9:22
  • I am using Javascript.
    – abc
    Commented Sep 18, 2015 at 9:22
  • you mean 'Name' is the internal name of the column?
    – Vamsi K K
    Commented Sep 18, 2015 at 9:27

1 Answer 1

4

If you send a GET to following URL, it should return you items with column name

/_api/web/lists/GetByTitle('List Name')/items

And following URL should return column display and internal names

/_api/web/lists/GetByTitle('List Name')/Fields?$select=Title,InternalName

Learn more about rest here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.