1 Reply Latest reply on Dec 9, 2014 10:20 PM by thomas.jung

    Can we search users from their postalCode?

    Vikash Kushvaha

      In my community Home Address are filterable and searchable.

       

      And I tried to search people with their postalCode

      osapi.jive.corev3.people.search({"search":"123456"});

      But it returns object like

      { "startIndex": 0, "list": [], "itemsPerPage": 25 };

       

      instead of there is a user with postalCode 123456.

      Person Object is like:

      {

        "id" : "2072",

        ............

      ...............

        "addresses" : [ {

          "jive_label" : "Home Address",

          "type" : "home",

          "value" : {

            "postalCode" : "123456",

            "formatted" : "123456"

          }

        } ],

      ........

      ........

      }

       

      it would be great if someone could help me out with this.