2 Replies Latest reply on Feb 12, 2013 8:51 PM by Vysali_Janardhanan

    People Web Service does not return entire profile details

    Vysali_Janardhanan

      Hi,

       

      I am trying to use the default webservice -

       

      {application url}/api/core/v3/people

      to list the users available in the instance.

       

      However, in the returned list of PERSONS , the 'location' field does not come up.

      The only values that come up are -

       

      "list" : [ {

      name" : {

            "givenName" : "admin",

            "familyName" : "admin",

            "formatted" : "admin admin"

          },

          "type" : "person",

          "displayName" : "admin admin",

          "jive" : {

            "level" : {

              "name" : "Scout",

              "points" : 496

            },

            "username" : "admin"

          },

          "resources" : {

      .......}

      },

      "id" : "1"

        },

      .....

       

      But when i try to view a particular user,

      {application url}/api/core/v3/people/1


      The entire profile detail comes up -

       

      name" : {

          "givenName" : "admin",

          "familyName" : "admin",

          "formatted" : "admin admin"

        },

        "location" : "UK",

        "type" : "person",

        "displayName" : "admin admin",

        "status" : "aaa",

        "tags" : [ "banking" ],

        "published" : "2012-11-23T12:39:26.394+0000",

        "followingCount" : 4,

        "thumbnailUrl" : "{application url}/api/core/v3/people/1/avatar",

        "jive" : {

          "level" : {

            "name" : "Scout",

            "points" : 496

          },

          "username" : "admin",

          "profile" : [ {

            "value" : "java LiverpoolFC",

            "jive_label" : "Interests"

          } ],

          "external" : false,

          "visible" : true,

          "enabled" : true,

          "externalContributor" : false,

          "federated" : false

        },

        "updated" : "2013-02-12T09:51:48.247+0000",

        "emails" : [ {

          "value" : "admin@example.com",

          "type" : "work",

          "jive_label" : "Email",

          "primary" : true

        } ],

        "photos" : [ {

          "value" : "{application url}/api/core/v3/people/1/images/1/data"

        } ],

        "followerCount" : 0,

        "resources" :.........


      Is this the expected behavior?