+ Start a Discussion
One云One云 

Chatter REST API - include query sting parameter

I'm trying to follow the 'Identify an item in a list by its property name. This example uses JSON.' in the documentation here: http://www.salesforce.com/us/developer/docs/dbcom_chatter_rest_api/Content/intro_include.htm However, when I try '/services/data/v32.0/chatter/users?include=/users/item/lastName' in the workbench REST Explorer the json returned is 
{
  "users" : [ { }, { } ]
}
I would expect the return to be
{
 "users" : [
   {
     "lastName" : "Smith"
   },
   {
     "lastName" : "Jones"
   } 
 ] 
}
Any help would be great. I'm not sure why the users items are returning null.
Best Answer chosen by One云
One云One云

I switched the output to XML and it became clear. Answer is '/services/data/v32.0/chatter/users?include=/users/user/lastName' 

Output as expected.