SharePoint 2013 - Get Custom Field Value via REST API -


i have splist contains custom type column (inherited lookup). when try retrieve items via rest api i'm getting error:

/_vti_bin/client.svc/web/lists/getbyid(guid'list-id')/items(item-id)  value field 'column name' of type 'custom field type' cannot serialized. 

does rest api not support custom types? thank you.

it possible retrieve lookup field's value expand keyword

_api/web/lists/getbytitle('customers')/items?$select=title,affiliation/id,affiliation/title&$expand=affiliation 

you can find detailed explanation on blog http://www.andrewconnell.com/blog/simplifying-sharepoint-2013-rest-api

note the url different because have use sharepoint 2013 rest api. url provided sharepoint 2010's way use rest api. still here in 2013 though.


Comments