Example #1
0
        public string UpdatePersonImage(string authorization, int personID, string imageData)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            byte[] data = Convert.FromBase64String(imageData);

            return(rpc.UpdatePersonImage(personID, data));
        }
Example #2
0
        public IDictionary GetPersonProfiles(string authorization, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((IDictionary)JsonConverter.EncodeObject(rpc.GetPersonProfiles(personID)));
        }
Example #3
0
        public int[] FindPeopleByPhone(string authorization, string phone)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.FindPeopleByPhone(phone));
        }
Example #4
0
        public int[] FindPeople(string authorization, IDictionary query)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.FindPeople((RpcPeopleQuery)JsonConverter.DecodeObject(query, typeof(RpcPeopleQuery))));
        }
Example #5
0
        public Object[] GetSmallGroupMembers(string authorization, int groupID, int startAtIndex, int numberOfMembers)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((Object[])JsonConverter.EncodeObject(rpc.GetSmallGroupMembers(groupID, startAtIndex, numberOfMembers)));
        }
Example #6
0
 public string Login(string loginID, string password)
 {
     return(CoreRpc.Login(loginID, password));
 }
Example #7
0
        public int[] GetProfileChildren(string authorization, int profileID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetProfileChildren(profileID);
        }
Example #8
0
        public int[] GetSmallGroupCategories(string authorization)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetSmallGroupCategories());
        }
Example #9
0
        public IDictionary GetPersonPeers(string authorization, int personID, int start, int count)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (IDictionary)JsonConverter.EncodeObject(rpc.GetPersonPeers(personID, start, count));
        }
Example #10
0
        public IDictionary GetPersonProfiles(string authorization, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (IDictionary)JsonConverter.EncodeObject(rpc.GetPersonProfiles(personID));
        }
Example #11
0
        public Object[] GetPersonNotes(string authorization, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (Object[])JsonConverter.EncodeObject(rpc.GetPersonNotes(personID));
        }
Example #12
0
        public int[] FindPeopleByPhone(string authorization, string phone)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.FindPeopleByPhone(phone);
        }
Example #13
0
        public int[] FindPeopleByName(string authorization, string firstName, string lastName)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.FindPeopleByName(firstName, lastName);
        }
Example #14
0
        public Object[] GetProfileMemberActivity(string authorization, int profileID, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((Object[])JsonConverter.EncodeObject(rpc.GetProfileMemberActivity(profileID, personID)));
        }
Example #15
0
        public Object[] GetProfileMemberActivity(string authorization, int profileID, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (Object[])JsonConverter.EncodeObject(rpc.GetProfileMemberActivity(profileID, personID));
        }
Example #16
0
        public int[] GetProfileRoots(string authorization, int profileType)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetProfileRoots(profileType));
        }
Example #17
0
        public IDictionary GetProfileMemberInformation(string authorization, int profileID, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (IDictionary)JsonConverter.EncodeObject(rpc.GetProfileMemberInformation(profileID, personID));
        }
Example #18
0
        public int[] GetSmallGroups(string authorization, int clusterID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetSmallGroups(clusterID));
        }
Example #19
0
        public int[] GetProfileOccurrences(string authorization, int profileID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetProfileOccurrences(profileID);
        }
Example #20
0
        public int[] FindPeopleByEmail(string authorization, string email)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.FindPeopleByEmail(email);
        }
Example #21
0
        public int[] GetProfileRoots(string authorization, int profileType)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetProfileRoots(profileType);
        }
Example #22
0
        public int[] FindPeopleByName(string authorization, string firstName, string lastName)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.FindPeopleByName(firstName, lastName));
        }
Example #23
0
        public int[] GetSmallGroupCategories(string authorization)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetSmallGroupCategories();
        }
Example #24
0
        public int[] FindPeopleByEmail(string authorization, string email)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.FindPeopleByEmail(email));
        }
Example #25
0
        public IDictionary GetSmallGroupInformation(string authorization, int groupID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (IDictionary)JsonConverter.EncodeObject(rpc.GetSmallGroupInformation(groupID));
        }
Example #26
0
        public IDictionary GetPersonPeers(string authorization, int personID, int start, int count)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((IDictionary)JsonConverter.EncodeObject(rpc.GetPersonPeers(personID, start, count)));
        }
Example #27
0
        public Object[] GetSmallGroupMembers(string authorization, int groupID, int startAtIndex, int numberOfMembers)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (Object[])JsonConverter.EncodeObject(rpc.GetSmallGroupMembers(groupID, startAtIndex, numberOfMembers));
        }
Example #28
0
        public Object[] GetPersonNotes(string authorization, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((Object[])JsonConverter.EncodeObject(rpc.GetPersonNotes(personID)));
        }
Example #29
0
        public int[] GetSmallGroupOccurrences(string authorization, int groupID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetSmallGroupOccurrences(groupID);
        }
Example #30
0
        public IDictionary GetProfileMemberInformation(string authorization, int profileID, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((IDictionary)JsonConverter.EncodeObject(rpc.GetProfileMemberInformation(profileID, personID)));
        }
Example #31
0
        public int[] GetSmallGroupRootClusters(string authorization, int categoryID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetSmallGroupRootClusters(categoryID);
        }
Example #32
0
        public int[] GetProfileChildren(string authorization, int profileID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetProfileChildren(profileID));
        }
Example #33
0
        public int[] GetSmallGroups(string authorization, int clusterID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetSmallGroups(clusterID);
        }
Example #34
0
        public int[] GetProfileOccurrences(string authorization, int profileID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetProfileOccurrences(profileID));
        }
Example #35
0
        public string UpdatePersonImage(string authorization, int personID, string imageData)
        {
            CoreRpc rpc = new CoreRpc(authorization);
            byte[] data = Convert.FromBase64String(imageData);

            return rpc.UpdatePersonImage(personID, data);
        }
Example #36
0
        public int[] GetSmallGroupRootClusters(string authorization, int categoryID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetSmallGroupRootClusters(categoryID));
        }
Example #37
0
 public IDictionary Version()
 {
     return((IDictionary)JsonConverter.EncodeObject(CoreRpc.Version()));
 }
Example #38
0
        public IDictionary GetSmallGroupInformation(string authorization, int groupID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((IDictionary)JsonConverter.EncodeObject(rpc.GetSmallGroupInformation(groupID)));
        }
Example #39
0
 public bool IsClientVersionSupported(int major, int minor)
 {
     return(CoreRpc.IsClientVersionSupported(major, minor));
 }
Example #40
0
        public int[] GetSmallGroupOccurrences(string authorization, int groupID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetSmallGroupOccurrences(groupID));
        }
Example #41
0
        public int[] FindPeople(string authorization, IDictionary query)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.FindPeople((RpcPeopleQuery)JsonConverter.DecodeObject(query, typeof(RpcPeopleQuery)));
        }