Beispiel #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));
        }
Beispiel #2
0
        public IDictionary GetPersonProfiles(string authorization, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

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

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

            return(rpc.FindPeople((RpcPeopleQuery)JsonConverter.DecodeObject(query, typeof(RpcPeopleQuery))));
        }
Beispiel #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)));
        }
Beispiel #6
0
 public string Login(string loginID, string password)
 {
     return(CoreRpc.Login(loginID, password));
 }
Beispiel #7
0
        public int[] GetProfileChildren(string authorization, int profileID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

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

            return(rpc.GetSmallGroupCategories());
        }
Beispiel #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));
        }
Beispiel #10
0
        public IDictionary GetPersonProfiles(string authorization, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            return (IDictionary)JsonConverter.EncodeObject(rpc.GetSmallGroupInformation(groupID));
        }
Beispiel #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)));
        }
Beispiel #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));
        }
Beispiel #28
0
        public Object[] GetPersonNotes(string authorization, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

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

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

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

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

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

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

            return(rpc.GetProfileOccurrences(profileID));
        }
Beispiel #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);
        }
Beispiel #36
0
        public int[] GetSmallGroupRootClusters(string authorization, int categoryID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

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

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

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

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